nightmeare Posted January 12, 2005 Share Posted January 12, 2005 i need the command which delets the batch file after it has run... ive tryed thedel c:/..../.../bat.batand it does not workwhich command should i use?? Link to comment Share on other sites More sharing options...
Gagorian Posted January 12, 2005 Share Posted January 12, 2005 Just make the batch file delete the directory where it is in.. It should work. If it doesn't just use START DEL or START RD. Link to comment Share on other sites More sharing options...
nightmeare Posted January 12, 2005 Author Share Posted January 12, 2005 how? Link to comment Share on other sites More sharing options...
sixpack Posted January 12, 2005 Share Posted January 12, 2005 put this at the end of your batchdel /q your.cmd Link to comment Share on other sites More sharing options...
nightmeare Posted January 12, 2005 Author Share Posted January 12, 2005 works.... ty m8 Link to comment Share on other sites More sharing options...
eirogge Posted January 13, 2005 Share Posted January 13, 2005 useDEL %0for not being bound to a specific filename. Link to comment Share on other sites More sharing options...
Martin Zugec Posted January 13, 2005 Share Posted January 13, 2005 Im am storing all temporary files in c:\temp and after installation I call rmdir... Link to comment Share on other sites More sharing options...
sixpack Posted January 13, 2005 Share Posted January 13, 2005 or use del /s /q "%USERPROFILE%\....\....."only thing left is empty folders and sub folders Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now