Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Acer Aspire 5100
Name: chrisyunke Date: May 10, 2008 at 15:53:46 Pacific OS: Vista SP1 CPU/Ram: 1G Product: Acer Aspire 5100
Comment:
Can anyone make me a batch code that will execute a command when the command prompt is closed, something like a 'on-close' command or something, i tried anything i know of. please help.
Name: chrisyunke Date: May 11, 2008 at 19:06:12 Pacific
Reply:
is there even a way to do this?
0
Response Number 2
Name: klint Date: May 12, 2008 at 03:57:55 Pacific
Reply:
I don't think it's possible. However, you may be able to work around this. For example, you could create a new shortcut that you click on, instead of the normal shortcut that runs cmd.exe. In your new shortcut, run a batch file whose first line is to run cmd.exe. After the user exits the command line, by typing EXIT, your batch file will continue. Unfortunately, it won't work if the user exits by clicking the [X] icon that closes the window.
0
Response Number 3
Name: chrisyunke Date: May 12, 2008 at 09:34:42 Pacific
Summary: ok, heres the problem, i have gone to numerous sites and none of the codes i got from them helped, i need a batch code that will automatically embed the batch file in the startup folder so that it exe...
Summary: hey all, i dont know exactly how to word this but ill give it a try. I am creating a batch file that will erase TIF's, cookies, etc. I have the basic code all typed up but there is just one more part ...
Summary: I am making a code that clears history, cache and files like that. I have that batch all done. I just need a code to put into that batch that will add 'Ran on )date here(' into a log file that i also ...