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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command-Line Switches in a URL

Status
Not open for further replies.

KixNGrins

Programmer
Mar 14, 2007
1
US
Is it possible to include command-line switches in a URL that is emailed?

For example: file://c:/data.mdb /cmd "123"

I can get file://c:/data.mdb to open (excluding the switch), but can't seem to get the the switch to work. I include %20 to replace the spaces, still doesn't work.... I've also tried file//c:/data.lnk /cmd "123" and the link pointing to the actual mdb.

I'm trying to include the URL in an email that gets sent, and when the recipient clicks the URL, it opens a form and passes the 123 (to indicate the record number.

If the command-line switches are not an option, is it somehow possible to alter the Target and Startin options to a shortcut using VBA in order to adjust the command-line switch (I can always then attach the altered icon to an email).

Thanks in advance for any help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top