Hey gang - I have an issue that maybe someone can help with. I know very little about scripting. I have this script running on XP and Win 7 machines using 2 separate scripts with different paths (PROGRA~2 and PROGRA~1) and I would like to combine them. The scripts run the silent uninstalls /S switch for hotpot. Thoughts? Please bear in mind I'm a total newb.
'Objects
Set fso = CreateObject("Scripting.FileSystemObject")
Set shl = CreateObject("WScript.Shell")
path="c:\PROGRA~2\Hotspo~1\"
exists = fso.FolderExists(path)
if (exists) then
program="uninstall.exe /S"
shl.Run(path & program)
end if
Thanks