Invisibly Execute BAT File in the Background


Requirement:

1. Notepad or any other text editor

How to Invisibly Execute BAT File in the Background:


We will utilize Windows Script Host RUN method to invisibly execute BAT file in the background. This is the script 

Set WshShell = CreateObject("WScript.Shell")
WshShell.Run chr(34) & "
C:\Users\Nafees\Desktop\virtualmachine.bat" & Chr(34), 0
Set WshShell = Nothing 


Post a Comment

 
NETWORKSTIP Networking CCNA,Centos,Ubuntu,Sql, © 2013. All Rights Reserved. Shared by NetworksTip Muhammad Nafees
Top