Batch File Without 'DOS Box'

M

M and D

[Windows XP Home SP 2]

I wrote a batch file which executes correctly, but it briefly flashes that black 'DOS box' when it runs. (I know 'DOS box' isn't the proper name, but I don't know what the proper name is.) How can I get the batch to run without displaying that DOS box?

Sorry if this is a little OT, but many thanks for your help.

Daddy
 
S

Squire

Try running your batch file from the CMD prompt,
Instead of the Start - Run line.

--
Jerry

One thing money can't buy,
The wagging tail of a dog


[Windows XP Home SP 2]

I wrote a batch file which executes correctly, but it briefly flashes that
black 'DOS box' when it runs. (I know 'DOS box' isn't the proper name, but I
don't know what the proper name is.) How can I get the batch to run without
displaying that DOS box?

Sorry if this is a little OT, but many thanks for your help.

Daddy
 
M

mhc

M said:
[Windows XP Home SP 2]

I wrote a batch file which executes correctly, but it briefly flashes that black 'DOS box' when it runs. (I know 'DOS box' isn't the proper name, but I don't know what the proper name is.) How can I get the batch to run without displaying that DOS box?

Sorry if this is a little OT, but many thanks for your help.

Daddy
Are you running the batch file via a shortcut? If so, right-click on the
shortcut, select Properties, and change the "Run:" entry to Minimized.

If you're typing the batch file name into Start>Run, then having the
batch file run minimized will require your setting up a custom DOS
session environment in the registry...

mhc
 
M

M and D

Actually I'm double-clicking on the icon, but I can try it as a shortcut.

"Custom DOS session environment"...hmm. Sounds a little too deep for me.

Daddy

mhc said:
M said:
[Windows XP Home SP 2]

I wrote a batch file which executes correctly, but it briefly flashes that black 'DOS box' when it runs. (I know 'DOS box' isn't the proper name, but I don't know what the proper name is.) How can I get the batch to run without displaying that DOS box?

Sorry if this is a little OT, but many thanks for your help.

Daddy
Are you running the batch file via a shortcut? If so, right-click on the
shortcut, select Properties, and change the "Run:" entry to Minimized.

If you're typing the batch file name into Start>Run, then having the
batch file run minimized will require your setting up a custom DOS
session environment in the registry...

mhc
 
R

Ron Martell

M and D said:
Actually I'm double-clicking on the icon, but I can try it as a shortcut.

"Custom DOS session environment"...hmm. Sounds a little too deep for me.

Daddy

Right-click on the icon, select Properties and go to the Program tab.
In the Run box change the "Normal Window" to "Minimized".

Good luck

Ron Martell Duncan B.C. Canada
--
Microsoft MVP (1997 - 2006)
On-Line Help Computer Service
http://onlinehelp.bc.ca

"Anyone who thinks that they are too small to make a difference
has never been in bed with a mosquito."
 
M

M and D

Hi Ron:

I need to say that there's more to the story than would appear from my original post, and the issue has since been resolved. Many thanks to you and the others who took the time to help me out. I truly appreciate it.

Daddy
 

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

Top