Hide cmd window briefly HELP!

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
lawrenceejgray
Posts: 3
Joined: 29 Oct 2011 13:15

Hide cmd window briefly HELP!

#1 Post by lawrenceejgray » 11 Jan 2012 07:06

Hey all!

I have a problem, i have a batch file which when ran calls some programs, one of which is nircmd's screen shot. What i want to do is to minimise the cmd window, take the screen shot and bring the cmd window back into view. Ive tried some solutions but most of them restart the bat file or hide it from the start, which are both no good.

can anyone help?

thanks all!

Ed Dyreen
Expert
Posts: 1569
Joined: 16 May 2011 08:21
Location: Flanders(Belgium)
Contact:

Re: Hide cmd window briefly HELP!

#2 Post by Ed Dyreen » 11 Jan 2012 10:16

'
Indeed, you can start a batch hidden and then restart it visible or you'd use external tools.
viewtopic.php?f=3&t=1893
You can follow this link which leads to my domain, there you'll find cmdow.EXE as part of eDOS. Or you could try to google yourself.
New users issue cmdow.exe /? from the commandline.
cmdow example:

Code: Select all

"^!$cmdow.fullPathFile^!" @ /top /mov 100 100
"^!$cmdow.fullPathFile^!" @ /act /min
"^!$cmdow.file^!" @ /act /res
"^!$cmdow.file^!" /fs
Or if you can get eDOS running, ( I will not assist you )

Code: Select all

%@cmdow.init%
%@cmdow.min%
%@cmdow.win%
%@cmdow.fs%
Have fun :)

Some anti-virus software vendors now classify cmdow.exe as a hacking tool because it can hide windows.
A hacking tool is NOT a virus.


For the Standard Shield provider (on-access scanning):
Left click the 'a' blue icon, click on the provider icon at left and then Customize.
Go to Advanced tab and click on Add button...

For the other providers (on-demand scanning):
Right click the 'a' blue icon, click Program Settings.
Go to Exclusions tab and click on Add button...

You can use wildcards like * and ?.
But be careful, you should 'exclude' that many files that let your system in danger.

lawrenceejgray
Posts: 3
Joined: 29 Oct 2011 13:15

Re: Hide cmd window briefly HELP!

#3 Post by lawrenceejgray » 12 Jan 2012 09:44

thanks for your help, will have a play and see how i go!

Post Reply