|
Answer» How do I get the del command to work! .
Code: [Select]del /q "filename.bat" I've tried that without quotes, and without the extension.The /q makes it quiet mode so it won't output anything to console. are you sure it's not WORKING?
if in DOUBT read the manual
Code: [Select]del /? FBHey? I'll just turn echo on and put that too /P so I can see the error....
EDIT: It still bombs out on me!if it bombs out open ANOTHER CMD then run the batch and when it bombs out the first CMD will catch the error. or at least that's the theory.
FBwait a second- are you trying to delete the batch file that the command is in?No, I've learned that before. I got it too work now... I had to manually put in the path though
but I used %homedrive%%homepath%\Desktop\"file.bat"
So I solved my own problem I guess.
|