Batch file help - how to close/minimize window?
Results 1 to 6 of 6

Thread: Batch file help - how to close/minimize window?

  1. #1
    Senior Member
    Join Date
    Feb 2002
    Posts
    500

    Batch file help - how to close/minimize window?

    Ok, long story short, I am using 2 batch files to launch 2 applications. Everything works great, but after it launches said app, the command window stays open, waiting for the program to close first before it continues on and closes. Is there an easy way (without 3rd party tools or vbs scripts) to force the batch to continue after said program is launched and move onto the exit command on the next line? If not, is there a way to have the command window run minimized so the user doesn't freak out about it?

    This has got to be easy stuff for some one out there!!

    BIG thanks if some one can help out!
    Ron Paul: Hope for America
    http://www.ronpaul2008.com/

  2. #2
    Senior Member t34b4g5's Avatar
    Join Date
    Sep 2003
    Location
    Australia.
    Posts
    2,391
    Greetings.

    Cross just letting you know that i have moved this thread from General Chit Chat, and into General Programming Questions.

    Simply because i felt that it was a better subforum for this thread, and not only that now it will get seen on the front page and should attract a little more attention to this thread.

    cheers
    t34b4g5

    *********************************************

    Hmm after a little google search i came across this site : http://www.ericphelps.com/batch/samples/invisible.txt

    don't know it if would be much help but maybe check it out and see if it at least get's your script to run minimized.
    Last edited by t34b4g5; November 26th, 2008 at 09:18 PM.

  3. #3
    Senior Member
    Join Date
    Feb 2002
    Posts
    500
    Thanks for the move. Wasn't sure where to put it since it wasn't security related.

    Hopefully some one will notice my poor lil thread now

    Checking out that link now, thanks for the help searching!
    Ron Paul: Hope for America
    http://www.ronpaul2008.com/

  4. #4
    Banned
    Join Date
    Jan 2008
    Posts
    605
    Hah... tskill /a cmd

  5. #5
    Just Another Geek
    Join Date
    Jul 2002
    Location
    Rotterdam, Netherlands
    Posts
    3,403
    Start the application using the start command. Then the script won't wait until it's finished.
    Oliver's Law:
    Experience is something you don't get until just after you need it.

  6. #6
    Senior Member
    Join Date
    Feb 2002
    Posts
    500
    Quote Originally Posted by SirDice View Post
    Start the application using the start command. Then the script won't wait until it's finished.
    It all makes sense now. Wow, I feel stupid...

    Thanks
    Ron Paul: Hope for America
    http://www.ronpaul2008.com/

Similar Threads

  1. Basic unix file and process commands
    By gizmofreak in forum Other Tutorials Forum
    Replies: 1
    Last Post: December 23rd, 2003, 04:51 AM
  2. Little Bit & Bytes Of Batch File Programming.
    By RITESH GAUR in forum Other Tutorials Forum
    Replies: 12
    Last Post: March 18th, 2003, 12:45 AM
  3. executable files
    By rcgreen in forum The Security Tutorials Forum
    Replies: 1
    Last Post: October 4th, 2002, 05:07 AM
  4. Camouflage v1.2.1 The programme
    By Gbin@ryR in forum AntiOnline's General Chit Chat
    Replies: 8
    Last Post: February 28th, 2002, 04:52 PM
  5. Batch File Tut
    By Badassatchu in forum Non-Security Archives
    Replies: 1
    Last Post: November 23rd, 2001, 10:13 PM

Posting Permissions

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

 Security News

     Patches

       Security Trends

         How-To

           Buying Guides