If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Applications & Tools > Shortcut Automatically Adds " To Target Property

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-24-03, 06:45
John Chen John Chen is offline
Registered User
 
Join Date: Jun 2003
Posts: 12
Unhappy Shortcut Automatically Adds " To Target Property

* 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 " ??
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On