Results 1 to 9 of 9

Thread: how to make a batch file start hidden or minimized

  1. #1
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    7,782
    Blog Entries
    32

    how to make a batch file start hidden or minimized

    i'm running RR as my shell and running a batch file to open all the needed secondary programs, but everytime the computer boots i get that ugly black cmd box. Is there a parameter i can add to the batch that would make that box not show up? Or at least show up minimized. I could even work with it being behind RR but it shows up on top of everything.

  2. #2
    Raw Wave
    Join Date
    Jun 2004
    Location
    On the beach
    Posts
    2,225
    Take a look here:

    http://www.commandline.co.uk/cmdow/index.html

    Use cmdow to start the batch file minimised

  3. #3
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    7,782
    Blog Entries
    32
    nevermind... googled hard enough and found the answer. This may be FAQ worthy

    http://www.computing.net/dos/wwwboard/forum/14270.html

    "the process take 3 files. one launch.bat one invis.vbs and one (your program)

    in launch.bat(this files runs your program silently) put in...

    wscript.exe "C:\yourpath\invis.vbs" "your file.bat"

    in invis.vbs put...

    CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False

    and finaly in your file put whatever u want...

    echo off
    erase c:\junk.txt

    well your done just open up launch.bat"


    works for me

  4. #4
    Raw Wave tj!2k4's Avatar
    Join Date
    Oct 2004
    Posts
    3,294
    even easier. create a shortcut to the .bat file, and set the properties of the shortcut to run Minimized. You can even assign it a pretty icon then.

  5. #5
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    7,782
    Blog Entries
    32
    i just might try that option too. Seems my way still allows the dos box to be seen for a second depending on if the cpu is on high load.

  6. #6
    Raw Wave tj!2k4's Avatar
    Join Date
    Oct 2004
    Posts
    3,294
    you just see it running in the taskbar while it's running for a moment

    -
    Attached Images Attached Images  

  7. #7
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    7,782
    Blog Entries
    32
    thanks alot for that tip. It works great! Doin it that way speeds up the program loading just a little bit.

  8. #8
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,061
    Quote Originally Posted by tj!2k4
    even easier. create a shortcut to the .bat file, and set the properties of the shortcut to run Minimized. You can even assign it a pretty icon then.
    Funny, that's what I did this morning with my rr shorcut, changed it to point to a batch file to run freedrive and roadrunner and set it to minimize.

  9. #9
    Maximum Bitrate Mad Ad's Avatar
    Join Date
    Oct 2004
    Location
    Hertfordshire UK
    Posts
    533
    theres always the option with RR to list the app on the apps screen and use startup commands to get rr to run them on rr start

    just a thought

Similar Threads

  1. How to make RR start with Windows?? plz advise
    By turbosx in forum Road Runner
    Replies: 19
    Last Post: 07-17-2005, 02:48 PM
  2. minimize inside batch file
    By Maņana in forum WinNT Based
    Replies: 1
    Last Post: 07-07-2005, 01:14 PM
  3. EZSync Ini File Settings
    By ric355 in forum EZSync
    Replies: 0
    Last Post: 05-29-2005, 06:57 AM
  4. batch file programming LCD's
    By mosh in forum LCD/Display
    Replies: 6
    Last Post: 05-19-2002, 01:55 AM
  5. A tip for speeding up win98 start
    By darkwingduck in forum Software & Software Development
    Replies: 1
    Last Post: 05-09-2000, 07:51 AM

Bookmarks

Posting Permissions

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