I'm trying to write the following two lines of scripts to the Run Command tool:
MKDIR "directory"
del "%~f0" & exit
The first line of script will create a directory (folder), and the second line of script will self destruct the created .bat file. I continue to get an error (error code: 1), but I don't understand how to fix it.
del "%~f0" & exit
works in another Run Command that I wrote.
Please help!