Results 1 to 5 of 5
  1. #1
    3 Star Lounger
    Join Date
    Mar 2009
    Location
    Somewhere Over the Rainbow
    Posts
    232
    Thanks
    0
    Thanked 1 Time in 1 Post
    Hello,

    I am about to lose my mind over this.
    I have a batch file that among other things will be used to open another batch file.
    The catch is that I want it to open up in a new window.
    I have tried this by using the CALL command, but then after that batch has finished running, it makes my original batch look messy.
    I'd rather it open in a new window and then after I close it my first window would continue.

    Thanks.
    Time can fix anything.....even a broken clock. - Handy Andy

  2. #2
    Super Moderator BATcher's Avatar
    Join Date
    Feb 2008
    Location
    A cultural area in SW England
    Posts
    3,413
    Thanks
    33
    Thanked 195 Times in 175 Posts
    Have a look at START /? which may assist.

    Remember you need to put a title, even if it's a null one, as in
    START "" myprogram.exe
    or
    START "My Program" myprogram.exe
    BATcher

    Time prevents everything happening all at once...

  3. #3
    3 Star Lounger
    Join Date
    Mar 2009
    Location
    Somewhere Over the Rainbow
    Posts
    232
    Thanks
    0
    Thanked 1 Time in 1 Post
    Thanks, but the thing is that the person who created the other batch file did not include a title.
    I know I could just add a title to their batch file, but then when I get an updated version of their
    batch file I would have to remember to edit theirs to add a title to it.

    I guess I can live with that, no big deal.

    Thanks very much

    PS: We may meet again in another thread on batch files.
    Time can fix anything.....even a broken clock. - Handy Andy

  4. #4
    Super Moderator BATcher's Avatar
    Join Date
    Feb 2008
    Location
    A cultural area in SW England
    Posts
    3,413
    Thanks
    33
    Thanked 195 Times in 175 Posts
    The title is entirely dummy - it's what appears at the top of the Command Prompt window!

    My point was that there must be a couple of double-quotes after START because of a feature/bug in the command processor. The Help information indicates that the title can be omitted, but people have found that this is unwise.
    BATcher

    Time prevents everything happening all at once...

  5. #5
    WS Lounge VIP
    Join Date
    Dec 2009
    Location
    Earth
    Posts
    8,162
    Thanks
    47
    Thanked 976 Times in 906 Posts
    You can omit the double quotes if you do not use quotes anywhere else in the command, but it is better to leave them in to be safe.

    cheers, Paul

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •