Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 103
  • Last Modified:

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

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
john lambert
Asked:
john lambert
1 Solution
 
Dan CraciunIT ConsultantCommented:
CreateObject("Wscript.Shell").Run "MyFile.bat", 1, True

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

HTH,
Dan
1
 
john lambertAuthor Commented:
thanks, threads closed
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now