cmd.exe

  • Thread starter Thread starter Paul S
  • Start date Start date
P

Paul S

Hello,

Running Windows XP Pro

I've got a question: I'm running a batch file which in
turn executes a .exe file snapping a screenshot of my
current screen.

I've got the batch file scheduled to run every 30
minutes, and directly after the screenshot is taken, i'm
uploading the photo to my server.

The Annoyance: The command prompt window is dead center
of my screen every time a screen cap is taken.

The Question: Is there a way to hide the cmd window while
executing a batch file? Or at the very least... minimize
it?

I've looked around google and a bunch of windows
scripting sites but to no avail.

Any help on this matter is appreciated!

(check it out at deadlysin3.net/blogit in the pix section)
 
Paul S said:
The Annoyance: The command prompt window is dead center
of my screen every time a screen cap is taken.

The Question: Is there a way to hide the cmd window while
executing a batch file? Or at the very least... minimize
it?

Hi Paul,

have you tried to create a shortcut to the cmd file and in properties
configure the shortcut to run minimized?
 
Hello,

Thanks for the reply. No I have not, I'm unsure how to do
this.

Could you give me an example?
 
Paul said:
Thanks for the reply. No I have not, I'm unsure how to do
this.

Hi Paul,

to run a batch file minimized: e.g. file name test.cmd. Right click
test.cmd, click "Create Shortcut". A new file will be created named
Shortcut to test.cmd.lnk. Rename to whatever you want, e.g. test.lnk. Right
click test.lnk, click Properties, click the Shortcut tab, you'll see "Normal
Window" in the Run setting. Click on arrow to display drop down box, select
Minimized, click Apply, Ok.
 
Back
Top