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

    Joined:
    Oct 3, 2009
    Messages:
    46
    Likes Received:
    14
    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:

    Code:
    /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:

    Code:
    /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 :)