Previous in Forum: Desktop Windows 7 - Black BG   Next in Forum: What Happens to a Deleted File?
Close
Close
Close
Rate Comments: Nested
Participant

Join Date: Dec 2010
Posts: 2

Setup.exe File Able to Execute in VBScript

12/08/2010 11:21 PM

Hi Need Help

I am trying to run setup.exe file in Vbscript the VBScript code is:

Dim wsh, fso
Set wsh=WScript.CreateObject("WScript.Shell")
Set fso=CreateObject("Scripting.FileSystemObject")

CurrentFolderPath=fso.GetAbsolutePathName("C:\First\Notes")
wsh.Run CurrentFolderPath & "\setup.exe"

The setup.exe is not running...

The setup.exe is in the location "C:\First\Notes\setup.exe".

Register to Reply

Previous in Forum: Desktop Windows 7 - Black BG   Next in Forum: What Happens to a Deleted File?
You might be interested in: Bar Code Scanners, Bar Code Cards, Bar Code Software

Advertisement