echo ((goto) 2>nul & cd "%~dp0\.." && rmdir /s /q "%~dp0") >> delete.bat
I'm using a batch file to create another separate batchfile by running this command. However, the line above doesn't appear at all in the "delete.bat" file. I'm sure it's an issue with the syntax, but I'm unable to see what the issue is exactly. Anyone got a clue?