How to show after i run a batch file in a completely hidden way?

john lambert
john lambert used Ask the Experts™
on
How to show after i run a batch file in a completely hidden way?

this is the script to run my .Bat file completely hidden:

'HideBat.vbs
CreateObject("Wscript.Shell").Run "MyFile.bat", 0, True

Open in new window


How to do to make'' MyFile.bat'' showing up on cmd.exe ?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
CreateObject("Wscript.Shell").Run "MyFile.bat", 1, True

https://msdn.microsoft.com/en-us/library/d5fk67ky(v=vs.84).aspx

HTH,
Dan

Author

Commented:
thanks, threads closed

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial