Solved

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

If like me you are one who spends a lot of time working and scripting with cmd.exe, sometimes it is handy to be able to quickly view a calendar for a given month and year. This script will quickly do just that!  Save the code posted below to a .bat …
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 …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

743 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

14 Experts available now in Live!

Get 1:1 Help Now