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
WshShell.Run chr(34) & "C:\Users\Nafees\Desktop\virtualmachine.bat" & Chr(34), 0
Set WshShell = Nothing
wawooooooooooooooo working fine (h)
ReplyDelete