|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
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 |