stratocaster009 Posted January 10, 2012 Share Posted January 10, 2012 Hi guys!Need help here on how to make a batch file to run Tuneup Utilities 1-click maintenance and after that will automatically shutdown the PC.I don't know the right parameters for 1-click maintenance auto repair.This is my command:start /wait OneClick.exe /autotaskkill /im explorer.exe /fshutdown -s -t3 -fOneClick won't auto repair the analyzed result and it won't close unless I press the close button.Please help.Thank you. :) Link to comment Share on other sites More sharing options...
hackerz14 Posted January 10, 2012 Share Posted January 10, 2012 you should include the path of the program ! ! !try this...@echo oncd /d "C:\Program Files\OneClick"start "" /WAIT OneClick.exe /autotaskkill /im explorer.exe /fshutdown -s -t3 -f Link to comment Share on other sites More sharing options...
stratocaster009 Posted January 10, 2012 Author Share Posted January 10, 2012 you should include the path of the program ! ! !try this...@echo oncd /d "C:\Program Files\OneClick"start "" /WAIT OneClick.exe /autotaskkill /im explorer.exe /fshutdown -s -t3 -fDoesn't work either. :(I'm just wondering what might be the right switches for oneclick.exe./auto is not working. :think: Link to comment Share on other sites More sharing options...
hackerz14 Posted January 11, 2012 Share Posted January 11, 2012 when i look at the schedule task maintenance for Tuneup in task scheduler the parameter is $(Arg0)... and if tuneup activates his maintenance, it not actually auto repair and close oneclick like other utilities, but will prompt you to click to run the maintenance manually and close it@echo oncd /d "C:\Program Files (x86)\TuneUp Utilities 2012\"start "" /WAIT OneClick.exe $(Arg0)taskkill /im explorer.exe /fshutdown -s -t3 -f Link to comment Share on other sites More sharing options...
stratocaster009 Posted January 11, 2012 Author Share Posted January 11, 2012 Thanks hackerz14I'm gonna try that one. Link to comment Share on other sites More sharing options...
stratocaster009 Posted January 12, 2012 Author Share Posted January 12, 2012 when i look at the schedule task maintenance for Tuneup in task scheduler the parameter is $(Arg0)... and if tuneup activates his maintenance, it not actually auto repair and close oneclick like other utilities, but will prompt you to click to run the maintenance manually and close it@echo oncd /d "C:\Program Files (x86)\TuneUp Utilities 2012\"start "" /WAIT OneClick.exe $(Arg0)taskkill /im explorer.exe /fshutdown -s -t3 -fStill doesn't work :( Link to comment Share on other sites More sharing options...
circaal Posted January 12, 2012 Share Posted January 12, 2012 To close the program try adding another taskkill line with the process name. I'm not familiar with one click but I have written small batch programs. So try addingtaskkill /im OneClick.exeAdd that above the taskkill command you already have, that should kill oneclick. And I'm not sure if pid's change when you open up programs. But you could trytaskkill /pid (what ever the OneClick.exe pid is)See if that helps.-BTY Link to comment Share on other sites More sharing options...
stratocaster009 Posted January 13, 2012 Author Share Posted January 13, 2012 That doesn't help either but thanks, circaal. All I just wanted is the command-line switches for oneclick.exe if there's any but the automatic run maintenance switch is what I am looking for specifically. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.