tramadol Posted November 26, 2009 Posted November 26, 2009 hi everybody.i want to make cleanup.cmd to just remove install folder after setup of programs by RunOnceEX.CMD.i want to make it run from RunOnceEx.cmd.i dont want it to reboot the system.just remove the install folder without rebootcan i have any help?thanks in advance
Yzöwl Posted November 26, 2009 Posted November 26, 2009 What about not bothering writing a cleanup.cmd file then and just running the line directly from RunOnceEx.example section of runonceex.cmdReg add %KEY%\095 /ve /d "Cleaning Up"Reg add %KEY%\095 /v 1 /d "%%comspec%% /c @rd/s/q %systemdrive%\install"
tramadol Posted November 26, 2009 Author Posted November 26, 2009 What about not bothering writing a cleanup.cmd file then and just running the line directly from RunOnceEx.example section of runonceex.cmdReg add %KEY%\095 /ve /d "Cleaning Up"Reg add %KEY%\095 /v 1 /d "%%comspec%% /c @rd/s/q %systemdrive%\install"thanks for great help.( %%comspec%% )? what is this? can i edit it? thanks for help
Yzöwl Posted November 26, 2009 Posted November 26, 2009 Open a Command Prompt and type echo/%comspec% to reveal what it is!Of course you can edit it, (it's your file and you have control over it), however unless your Install directory is in a different location, then I wouldn't suggest that doing so is at the top of your todo list!
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