John Chen
07-24-03, 07:45
| * I am trying to create a VBScript file to create a SHORTCUT. The shortcut is for running an MS Access database. The TARGET property got this pattern : g:\xx\msaccess.exe g:\xxx\fe.mde /wrkgrp g:\xx\sec.mdw * But the problem is the shortcut AUTOMATICALLY adds " to the front and end of the string WHENEVER there is SPACE in the string. So it becomes like this: "g:\xx\msaccess.exe g:\xxx\fe.mde /wrkgrp g:\xx\sec.mdw" * This which will cause the shortcut to fail (because of the extra "). If it is g:\xx\msaccess.exe, then it will not add " to the string (and this will work). ** Does anyone know how to set the target property WITHOUT getting the " ?? |