I'm trying to delete a folder after the contents have been moved, but the RD command doesn't delete the folder.
I can create a batch file with the RD command and it works.
These are the installion commands.
START "" /B /MIN /WAIT "C:\Users\User\Desktop\Utility icons\Ketarin-1.7.0\Apps\Art\7z.exe" x "{file}" -bd -o"C:\Users\User\Desktop\Utility icons\Ketarin-1.7.0\Apps\Art\aaa\" -y
CD "C:\Users\User\Desktop\Utility icons\Ketarin-1.7.0\Apps\Art\aaa\blender-*-win64"
RD "C:\Users\User\Desktop\My stuff\Art Tutorials\Art\Blender Dev"
xcopy /y /S /Q *.* "C:\Users\User\Desktop\My stuff\Art Tutorials\Art\Blender Dev\"
rd "C:\Users\User\Desktop\Utility icons\Ketarin-1.7.0\Apps\Art\aaa" /s /q
I've tried start and call to start the batch file when the folder should be deleted and they didn't work.
Have I missed something?