Creating Shortcuts from the command prompt!

T

Tom Bombadill

Is there a way to create shortcuts and place them in a particular location
from the command prompt? I'd want to put that in a batch file I'd like to
create.

Thanks,
 
M

Matthias Tacke

Tom Bombadill said:
Is there a way to create shortcuts and place them in a particular location
from the command prompt? I'd want to put that in a batch file I'd like to
create.

Thanks,
I once downloaded makescut.exe. Here is the helpscreen with a link:

F:\WINNT>makescut /?

MAKESCUT.EXE 1.02
Copyright (C)1999-2000 Inteletek, Inc.
www.scriptlogic.com

MakeScut is a 32-bit command-line utility that creates shortcut files
(.LNK or .PIF) for Windows 9x/NT applications.
Usage: MAKESCUT /n "filespec"[.lnk/.prf] /t "filespec"
[/a "args"] [/s "folder"]

[/i "file" index] [/r min/max] [/o] [/k [CTRL+][ALT+][SHIFT+]key]

/n Filespec of shortcut that will be created. MakeScut will
automatically create the proper type of shortcut, .lnk
or .pif, based on whether the target application is a
Windows or MS-DOS application.
example: c:\windows\desktop\myshortcut.
/t Filespec of the target application.
/a Command-line arguments to the target application.
If there is more than one paramater be sure to enclose the
list of paramaters in quotes.
/i Filespec and index of the icon for the shortcut.
/s Working Directory
/r Run window
/o Overwrite existing shortcut of the same name.
/k Shortcut key. example: CTRL+ALT+U.


hth
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top