make running batch file not show on display

  • Thread starter Thread starter Noreaster
  • Start date Start date
N

Noreaster

Im using winxp home sp2. I figured out how to make a batch file and to have
it running.
My question is, when the batch file runs. it show up on the monitor, is
there a way for it not to show?

Thanx
 
Create a batch file that calls your batch file. Using Notepad, create a
file that has the following entry:

START /MIN somename.BAT
or
START /MIN somename.cmd

Depending on where somename.BAT resides, you may have to include the path.
I.e.
START /MIN c:\somename.BAT

If the path includes spaces, i.e. C:\Documents and Settings\Your Name
Here\My Documents\somename.BAT

You have to enclose the path with double quotes. I.e.
START /MIN "C:\Documents and Settings\Your Name Here\My
Documents\somename.BAT"

Or use instead
START /MIN "%userprofile%\My Documents\somename.BAT"

<quote>
@echo off
start "" calc.exe

will start calc.exe and kill of the command prompt where as

@echo off
calc.exe

will not.
<quote>
from Morgan
http://www.ureader.com/message/773841.aspx

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
What I forgot to mention is the batch file is to move txt, jpg, doc files
from one folder to another.
The batch file would run as: Dos window would open and give error "file not
found", that would show on the screen. It would continue to the next move
and repeat till finished and close Dos window.
The best I can think of is a cls between each move line, which shows not
much in the Dos window now.
I have tried the other suggestion but they didnt help.
Any new idea?

Thanx
 
I dont think I explained it all correctly.
Im running a move.bat file that moves txt, doc, jpg, bmp files from one
folder to another in 15 min intervals. I havr tried the suggestions but they
didnt help :-(
The only thing that helps some is to put a cls command between each move
command.
The end result is the dos window still shows up on display but the errors
dont show up as much, ( the errors are because the file cant be found,
because no new ones showed up which that part is fine).
Any other ideas if anf?

Thanx
 
Im having problems trying to get this posted correctly.

I dont think I explained well enough my problem.
Im running a move.bat file that moves txt, doc, bmp, jpg files from one
folder to another.
The dos window still shows on display with errors (errors are because it
cant find any of the type files, till new ones show up, which is correct.)

Any other ideas on how to have the dow window not show up?

Thanx
 
Im having problems trying to get this posted correctly. I did reply to group
from Wesley response and it wont show.

I dont think I explained well enough my problem.
Im running a move.bat file that moves txt, doc, bmp, jpg files from one
folder to another.
The dos window still shows on display with errors (errors are because it
cant find any of the type files, till new ones show up, which is correct.)

Any other ideas on how to have the dow window not show up?

Thanx
 
Noreaster,

Since your using Outlook Express, here's the first lesson.

Include message with reply

OE | Tools | Options | Send tab | Select Include message with reply |
Click Apply | Click OK

Include message with reply
[[Specifies whether to include the text of the original message when you
reply to a message. You can edit or cut any of the text. If you clear this
check box, the body of your message contains only the text you type or
paste.]]

I do not know how to hide the command window when you have error messages
popping up, unless you were to pipe those messages to a text file or
something.

Try posting here...

microsoft.public.win2000.cmdprompt.admin

plenty of batch file experts hang around there.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top