Changing the target type of a shortcut
Hello all, I was hoping you could help me out.
To solve a couple problems, i need to add to the target type of a shortcut I have. I know how to do it in windows 2k, but i'm having trouble doing it in XP. there doesn't seem to be an obvious way to change it, nor an obscure one.
Can anyone help me?
To solve a couple problems, i need to add to the target type of a shortcut I have. I know how to do it in windows 2k, but i'm having trouble doing it in XP. there doesn't seem to be an obvious way to change it, nor an obscure one.
Can anyone help me?
0
Comments
Find the file you want to create a shortcut to. This may be any file or, most commonly, the .exe file such as word.exe. The .exe file can be thought of as the keys to the car.
Right click on it and choose CREATE SHORTCUT. You can name that new icon to anything you want and drag it to the place you want it on the taskbar.
Or RIGHT CLICK on the START menu and choose EXPLORE ALL USERS and drag the shortcut to the folder you want it to be in the start menu folder/programs.
Can you rephrase the question for us?
I want to open the shortcut, and at the end of the target type (application) I want to add, "/FORCEINETCONN" at the end, so the target type of the shortcut reads:
Application/FORCEINETCONN.
I just can't figure out how to change this.
So, you want to run something with flags after the command....
XP can do that this way:
First, make a shortcut to the app you want to run (the icon in the program's "home" folder itself represents the PROGRAM in XP, shortcut forced as type .exe). It can even be in the same folder as the program icon. Now, the SHORTCUT you made can be editted.
Leave the path and open and closed quotes alone. Put cursor after the last ". Type a single space. Type in your flag. (Command flags start with / and can be called command parameters or subcommand invocations also.).
Example:
Let's say I wanted something in C:\Folding@Home called FAH4.exe to run with a /forceasm flag to call folding with a special function active. I do not yet have a shortcut with the full path in it. So, I make one, leave it in the same directory (aka folder). Then I right click the shortcut. Click properties. Then I look for a text entry box in the shortcut I made that has "C:\Folding@Home\FAH4.exe" in it. I change it so it reads:
"c:\Folding@Home\FAH4.exe" /forceasm
Then I click Apply button and then click OK button or just OK if no Apply button shows up. NO, the flags do NOT go in between the quotes in XP or Server 2003. AND, in XP, you need a separate shortcut from the one that looks like one but is in fact a program properties dialog "attached" to a special type object of type program or executable.
I got tired of this "make a shortcut" rigamorole, actually(not a cut on Microsoft, really, they separated this special icon type out so they could secure things more, but it IS less convenient than .bat runs when you have lots of switches\flags\subcommands to give a program when you run it), and now use .bat files to run some things like Folding.
Recommended Reference:
See William R. Stanek's Microsoft Windows Command Line Administrators' Pocket Consultant, ISBN 0-7356-2038-5, Microsoft Part Number X10-42152 for a wealth of info about XP and 2003 Server scripting-- either applied directly at command line or in scripts. Scripts can be of type .bat and run other things. Had Mr. Stanek not been serving in Iraq as an EW specialist, this book would have come onto the reference book market earlier than this April of this year.
Mr. Stanek has been doing hands-on advanced dev stuff for a couple decades now. He and a Microsoft Press editing and publishing team got this book together to show howto for scripting in XP. It runs 392 pages of very good applied examples and rule sets for Microsoft Admin-grade scripting or making of BATCH (.bat) runs of programs. I HIGHLY recommend it.