Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passing setup arguments in vbscript 1

Status
Not open for further replies.

chouck

MIS
Jan 30, 2005
32
US
i am pretty new to scripting, so i hope i ask this the write way.

i have this line that i am trying to execute in my script:

Set oFSO = CreateObject("Scripting.FileSystemObject")
Set sapexec = CreateObject("WScript.Shell")
Set sapupdate = sapexec.Exec(\\server\share\setup\ sapsetup.exe /p: "FBF23C3-1428-44E5-B909-4409E8FA9542")

The "FBF23C3-1428-44E5-B909-4409E8FA9542" part of it has to be in quotations so the sap setup will recognize the correct package it's trying to run

however vbscript won't let me use this syntax because i have to put the whole thing in quotes. any help is appreciated :)
 
Have you tried:

[tt]Set sapupdate = sapexec.Exec("\\server\share\setup\ sapsetup.exe /p: ""FBF23C3-1428-44E5-B909-4409E8FA9542""")[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top