Can I include a variable in the target field of the shortcut properties?


Go Back   Computer Help Articles > Windows XP Customize
User Name
Password
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-05-2006, 06:30 AM
rkc444
 
Posts: n/a
Default Can I include a variable in the target field of the shortcut properties?


Can I include a variable in the Target field in Shortcut tab in its
Properties? I am using a Windows XP shortcut to launch a windows
application. In the Target field in Properties, I would like to include
a variable. Is it possible to do this, and then be asked for the value
of the variable each time the shortcut is executed?

This worked fine in the old MS-DOS batch files, where in the command
line I could just give the name of the batch file to be run, followed
by any number of parameters, which would then be plugged into variables
in the batch file when it was executed. Since a windows shortcut is
clearly not executed from a command line, is there a way to have a
similarly interactive process?


--
rkc444
Reply With Quote
  #2  
Old 01-05-2006, 06:30 AM
S. Taylor
 
Posts: n/a
Default Re: Can I include a variable in the target field of the shortcut properties?

The program has to be designed to do that.
You could have the shortcut point to a script file (*.js or *.vb for the
windows scripting host)
or to a dos batch file, like you're used too, and have the script/batch file
load the program

"rkc444" <rkc444.1wpgtq@pcbanter.net> wrote in message
news:rkc444.1wpgtq@pcbanter.net...
>
> Can I include a variable in the Target field in Shortcut tab in its
> Properties? I am using a Windows XP shortcut to launch a windows
> application. In the Target field in Properties, I would like to include
> a variable. Is it possible to do this, and then be asked for the value
> of the variable each time the shortcut is executed?
>
> This worked fine in the old MS-DOS batch files, where in the command
> line I could just give the name of the batch file to be run, followed
> by any number of parameters, which would then be plugged into variables
> in the batch file when it was executed. Since a windows shortcut is
> clearly not executed from a command line, is there a way to have a
> similarly interactive process?
>
>
> --
> rkc444



Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Update installation fails Harold Cataquet Windows Update 23 01-05-2006 05:17 PM
Is there such a demo/tele-working software? networm Windows XP Work Remotely 7 01-05-2006 07:12 AM
Shortcut keys in Properties window Bill Turner Windows XP Help and Support 1 01-05-2006 02:41 AM
USB Mass Storage Device - This device cannot start. (Code 10) lobo201 Windows XP Hardware 11 01-05-2006 02:15 AM
Win XP shutdown batch file Xray Windows XP Basics 3 01-05-2006 02:12 AM


All times are GMT. The time now is 06:28 PM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. SEO by vBSEO 2.3.2 © 2005, Crawlability, Inc.

Can I include a variable in the target field of the shortcut properties?