zinni 2 Posted June 26, 2011 Report Share Posted June 26, 2011 Hi everybody, i have create a really simple Solution, to use each Version of CCleaner. I use my Solution and it works fine. I hope it can Help any Ubot Studio Developer. Step 1 Create a CCleaner.txt file and Rename it to CCleaner.bat. Step 2 Insert the follow Code in CCleaner.bat. (change the Path with your Path to CCleaner) @echo off Start "" "C:\Program Files (x86)\CCleaner\CCleaner.exe" /AUTO cls exit Step 3 Insert the CCleaner.bat into the Windows Startmenu. Step4 Use the Input Command "move mouse" and "mouse click" to start the CCleaner.bat. Step5 Insert delay for wait the Clean Process and have fun. Best RegardsZ!nni 1 Quote Link to post Share on other sites
zinni 2 Posted June 26, 2011 Author Report Share Posted June 26, 2011 19 Views and no Reply? Quote Link to post Share on other sites
JohnB 255 Posted June 26, 2011 Report Share Posted June 26, 2011 Can you not use the shell command to run the .bat file instead of input controls? John Quote Link to post Share on other sites
zinni 2 Posted June 26, 2011 Author Report Share Posted June 26, 2011 Can you not use the shell command to run the .bat file instead of input controls? John Thid dosn`t work Only CCleaner 2.10 work with .bat file in Shell. Quote Link to post Share on other sites
JohnB 255 Posted June 26, 2011 Report Share Posted June 26, 2011 ok, good to know. Quote Link to post Share on other sites
JohnB 255 Posted June 27, 2011 Report Share Posted June 27, 2011 Give his a shot...it's a free program that converts bat's into exe's. maybe it will run it as an exe http://download.cnet.com/Bat-To-Exe-Converter/3000-2069_4-10555897.html?tag=mncol;1 John Quote Link to post Share on other sites
zinni 2 Posted June 27, 2011 Author Report Share Posted June 27, 2011 Great Program, thanks! But the same error if compilied. Quote Link to post Share on other sites
Enigma 78 Posted November 9, 2011 Report Share Posted November 9, 2011 Hi everybody, i have create a really simple Solution, to use each Version of CCleaner. I use my Solution and it works fine. I hope it can Help any Ubot Studio Developer. Step 1 Create a CCleaner.txt file and Rename it to CCleaner.bat. Step 2 Insert the follow Code in CCleaner.bat. (change the Path with your Path to CCleaner) @echo off Start "" "C:\Program Files (x86)\CCleaner\CCleaner.exe" /AUTO cls exit Step 3 Insert the CCleaner.bat into the Windows Startmenu. Step4 Use the Input Command "move mouse" and "mouse click" to start the CCleaner.bat. Step5 Insert delay for wait the Clean Process and have fun. Best RegardsZ!nni ERROR: Can't find the file C:\Program Files (x86)\CCleaner\CCleaner.exe. Check if the filename is correct and try again. Yes Ccleaner is installed in its default folder. Quote Link to post Share on other sites
blumi40 222 Posted November 9, 2011 Report Share Posted November 9, 2011 ERROR: Can't find the file C:\Program Files (x86)\CCleaner\CCleaner.exe. Check if the filename is correct and try again. Yes Ccleaner is installed in its default folder. try apostrophe maybe it works'C:\Program Files (x86)\CCleaner\CCleaner.exe' Quote Link to post Share on other sites
Enigma 78 Posted November 9, 2011 Report Share Posted November 9, 2011 try apostrophe maybe it works'C:\Program Files (x86)\CCleaner\CCleaner.exe' Same error...... Quote Link to post Share on other sites
Guest klauzser Posted November 11, 2011 Report Share Posted November 11, 2011 try apostrophe maybe it works'C:\Program Files (x86)\CCleaner\CCleaner.exe' Same problem. Does it work on x32bit instead? Quote Link to post Share on other sites
kc1 0 Posted November 12, 2011 Report Share Posted November 12, 2011 Same problem. Does it work on x32bit instead? hey, my 2cents: in ubot 3.5 pro, with windows 7 64bit os.trying to run ccleaner ver 3.06 64bit.shell cmd didnt run 64bit bat file, it error'd out "not a 32bit program"shell cmd didnt run a exe either from the (bat to exe conversion) program,because it was a 64bit prog.it error'd out "not a 32bit program" trying to run ccleaner ver 2.2 (old 32bit program)shell cmd worked running .bat file this line below is the only line in my text editor. "C:\Program Files (x86)\ccleaner2.2\CCleaner.exe" /AUTO in ubot 4 pro,win7 64bit os.trying to run ccleaner v3.06 64bit software.shell cmd worked running a regular bat file executing a 64bit program. "C:\Program Files\ccleaner\CCleaner64.exe" /AUTOshell cmd also worked running the bat to exe version of the same 64bit software bat file. I'm new to ubot but have used a .bat and ccleaner with other macro software before. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.