• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

what's the best way to make a "one-click system maintenance" thing?

dpopiz

Diamond Member
I want to make an icon that someone can double click on and have it do all the AV update and defrag and run adaware and all that crap in sequence and wait for each thing to finish before it goes to the next...

how?
 
link to a batch file. you'll have to refer to the software manufacturer's doc's for the command line instructions. ms has command line doc's on their defragmenter.
 
"start /wait programName.exe /options"
"start /wait "programName.exe" /options""

BTW if you are going to run a program in the program files you need to add quotes to it, since there is a space in "Program Files" so something like this start /wait "%PROGRAMFILES%\Winamp\winamp.exe" even though there are no spaces in the command 🙂
To access something in the windows folder you can also do "%SystemRoot%" in most cases this means "C:\Windows"... such as start /wait %SYSTEMROOT%\SYSTEM32\Defrag.exe C:

To find out commandline commands on a lot of programs just run them with the /? option, usually it will tell you them if they exist, some you must check on.
 
Back
Top