NETWORKSTIP Networking CCNA,Centos,Ubuntu,Sql,

Made By Muhammad Nafees

Breaking

Wednesday, 3 February 2016

Invisibly Execute BAT File in the Background

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 


1 comment: