Solved

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

Posted on 2016-10-07
2
32 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

863 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

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now