1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Simple batch file help!

Discussion in 'General Scripting Chat' started by erderd, Oct 23, 2011.

  1. erderd

    erderd Newbie

    Oct 3, 2009
    Likes Received:
    I'm trying to create a batch file which will:

    1) Run CCleaner
    2) Open a sandboxed browser
    3) Run an iMacros script
    4) Exit
    5) Repeat

    I'm struggling! Here's what I have already:

    /wait /B "c:\Program Files\CCleaner\CCleaner.exe /AUTO"
    /wait /B "C:\Program Files\Sandboxie\Start.exe default_browser"
    /wait /B "C:\Program Files\Mozilla Firefox\firefox.exe run.imacros.net/?m=#Current.iim"
    My default browser is already set to Firefox, but when I run my script, I *think* Ccleaner does its thing ok, but no browser will open, sandboxed or not. Can anyone give me a pointer or two please?

    I have also tried:

    /wait /B "c:\Program Files\CCleaner\CCleaner.exe /AUTO"
    /wait /B "C:\Program Files\Sandboxie\Start.exe default_browser run.imacros.net/?m=#Current.iim"
    ..but again, no success.

    Thanks in advance :)