G
Guest
First off I apologise because this is not a true access question, BUT I know
with all the experts here someone can help, if not oh well
I am trying to run a vbs script to place a shortcut on the desktop. the
problem is that the script blows up.
Here is the line that blows up
MyShortcut.TargetPath = ""C:\Program Files\Symantec\pcAnywhere\awhost32.exe"
"C:\Documents and Settings\All Users\Application
Data\Symantec\pcAnywhere\Remotes\Cable.CHF" /C /D"
The problem is that the script does not like multiple "" if I manually
enter the shortcut on the desktop it will read like this and work
"C:\Program Files\Symantec\pcAnywhere\awhost32.exe" "C:\Documents and
Settings\All Users\Application Data\Symantec\pcAnywhere\Hosts\Network, Cable,
DSL.BHF" /C /D
for the vbs script to at least work I have to modify the line in the script
to look like this
C:\Program Files\Symantec\pcAnywhere\awhost32.exe C:\Documents and
Settings\All Users\Application Data\Symantec\pcAnywhere\Hosts\Network, Cable,
DSL.BHF /C /D
that places an icon on the desktop but the line reads like this
"C:\Program Files\Symantec\pcAnywhere\awhost32.exe C:\Documents and
Settings\All Users\Application Data\Symantec\pcAnywhere\hosts\Nigel.CHF \C \D"
it has reversed the / to a \ and doesnt work
I understand if I don't get an answer but at hopefully someone can at least
point me to somewhere where I can resolve this
Thanks
with all the experts here someone can help, if not oh well
I am trying to run a vbs script to place a shortcut on the desktop. the
problem is that the script blows up.
Here is the line that blows up
MyShortcut.TargetPath = ""C:\Program Files\Symantec\pcAnywhere\awhost32.exe"
"C:\Documents and Settings\All Users\Application
Data\Symantec\pcAnywhere\Remotes\Cable.CHF" /C /D"
The problem is that the script does not like multiple "" if I manually
enter the shortcut on the desktop it will read like this and work
"C:\Program Files\Symantec\pcAnywhere\awhost32.exe" "C:\Documents and
Settings\All Users\Application Data\Symantec\pcAnywhere\Hosts\Network, Cable,
DSL.BHF" /C /D
for the vbs script to at least work I have to modify the line in the script
to look like this
C:\Program Files\Symantec\pcAnywhere\awhost32.exe C:\Documents and
Settings\All Users\Application Data\Symantec\pcAnywhere\Hosts\Network, Cable,
DSL.BHF /C /D
that places an icon on the desktop but the line reads like this
"C:\Program Files\Symantec\pcAnywhere\awhost32.exe C:\Documents and
Settings\All Users\Application Data\Symantec\pcAnywhere\hosts\Nigel.CHF \C \D"
it has reversed the / to a \ and doesnt work
I understand if I don't get an answer but at hopefully someone can at least
point me to somewhere where I can resolve this
Thanks