How are you running the batch file? Double-clicking in explorer, from another script, from inside a program, etc?
The answer varies depending on what you are doing.
Main Topics
Browse All TopicsI am looking to run a batch file in windows XP. I would like the cmd screen to stay hidden. Any ideas?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Right click on the cmd file, create shortcut.
Now, right click on this shortcut, click on Properties.
Under the Shortcut tab, you will see a drop-down menu with Run written before it.
Choose "Minimized" from the drop down menu.
When you run the cmd file through this shortcut, the command window will not show up on desktop.
There's a small .exe which does exactly this.
Your av won't like it though. It is harmless so tell yer AV to back off.
http://users.pandora.be/wo
You can still use at or soon command. It requires another batch file. rename the olfdbatch file, perhaps just add digit #2 for example, and call it using the new batch file that uses the old name. I am not sure what options are left in command or cmd from one version to next, what you need is called option for non-interactive. For this and similar features, for managing a system and batch files, try freebie called KixTart, which MS used to have as an unsupported option for the OS. Unfortunately, I don't recall if it had a non-interactive mode.
http://www.kixtart.org/
128 page manual, (compare that to MS offers for batch), from the current Word version:
KiXtart and the console
KiXtart is provided in two ‘flavors’: the standard console-based version and a Windows version. The Windows version will only display a console if and when any output is sent to the screen. If desired, this behavior can be overridden using the /I (Invisible) commandline option.
Optionally, on Windows NT or higher, you can also specify the /B option with the START command, to prevent the creation of an additional window.
I think one of the two methods should work for you :
1. kneH suggested Hiderun, but not used directly.
Suppose the application calls your batch file, which is named chewy1.bat, then rename it to chewy2.bat, and create a new file chewy1.bat with only following contents :
"path to hiderun"\hiderun "path to chewy2.bat"\chewy2.bat
2. Second option is to use a program called WatchCat (http://www.pcworld.com/do
"Keep your desktop clutter free by hiding running applications. Hidden apps stay off your desktop, taskbar, and Alt-Tab list, and are accessed via an icon in system tray. This utility includes hot-key support, scheduling features, and a show-all/hide-all option"
Set WatchCat to hide the Window titled chewy1.bat with 0 time lag.
I wrote this in an a Question called Autorun recently, this would apply to you too....
Google search with the topic "Batch compiler"
Download a compiler which support silent mode (ghost mode)
Run the downloaded compiler and convert your bat to exe
make sure you choose non-interactive or silent mode = the cmd screen never shows!
FYI: I had exactly the same issue, and I used the solution of paraghs, which worked just peachy.
I used it to give my young daughter an email "account" that filters through mine; the filter directs it to a folder, and the batch script copies the folder to her inbox every 10 minutes. Works great with Thunderbird. The only problem was that I didn't realize I had to say ".lnk" in the services setup. Duh.
Business Accounts
Answer for Membership
by: gecko_au2003Posted on 2005-08-19 at 12:19:29ID: 14712161
Try this :
om/bb/view topic.php? p=6495&
os/wwwboar d/forum/14 270.html
http://www.2brightsparks.c
and this :
http://www.computing.net/d
I hope this helps you out some what :)