Solved

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

Posted on 2016-10-07
2
40 Views
Last Modified: 2016-10-07
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 ?
0
Comment
Question by:john lambert
2 Comments
 
LVL 34

Accepted Solution

by:
Dan Craciun earned 500 total points
ID: 41833425
CreateObject("Wscript.Shell").Run "MyFile.bat", 1, True

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

HTH,
Dan
1
 

Author Closing Comment

by:john lambert
ID: 41833827
thanks, threads closed
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Using dates in 'DOS' batch files has always been tricky as it has no built in ways of extracting date information.  There are many tricks using string manipulation to pull out parts of the %date% variable or output of the date /t command but these r…
You may have already been in the need to update a whole folder stucture using a script. Robocopy does it well and even provides a list of non-updated files in a log (if asked to). Generally those files that were locked by a user or a process by the …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question