Login | Register
The Engineer's Place for News and Discussion®

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

Comments Format:






Close

Subscribe to Discussion:

CR4 allows you to "subscribe" to a discussion
so that you can be notified of new comments to
the discussion via email.

Close

Rating Vote:







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
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

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