Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Creating Shortcuts from the command prompt!

3 views
Skip to first unread message

Tom Bombadill

unread,
Nov 14, 2003, 2:02:04 PM11/14/03
to
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,


Dean Wells [MVP]

unread,
Nov 14, 2003, 3:09:44 PM11/14/03
to

Couple of ways I know of, this one has worked well for me -

http://www.microsoft.com/technet/treeview/default.asp?url=/technet/scriptcenter/scrguide/sas_wsh_aytf.asp

Dean

--
Dean Wells [MVP / Windows platform]
MSEtechnology
[[ Please respond to the Newsgroup only regarding posts ]]
R e m o v e t h e m a s k t o s e n d e m a i l


Matthias Tacke

unread,
Nov 14, 2003, 5:12:50 PM11/14/03
to
"Tom Bombadill" wrote:

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
--
Greetings
Matthias________________________________________
For help on nt commands enter in a cmd window:
W2K>HH windows.chm::ntcmds.htm XP>HH ntcmds.chm

Matthias Tacke

unread,
Nov 14, 2003, 5:18:40 PM11/14/03
to
"Matthias Tacke" wrote:

>"Tom Bombadill" wrote:
>
>>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
>

Found a link on the site claiming it is free.

http://www.scriptlogic.com/eng/products/scriptingtoolkit/

Dave Patrick

unread,
Nov 14, 2003, 6:30:13 PM11/14/03
to
Also check out Marty List's cool tool shortcut.exe
http://www.optimumx.com/download/

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]

Mark V

unread,
Nov 14, 2003, 6:56:33 PM11/14/03
to
In microsoft.public.win2000.cmdprompt.admin Dave Patrick wrote:

> Also check out Marty List's cool tool shortcut.exe
> http://www.optimumx.com/download/

OP,
Marty's util. endorsed here FWIW. Note that the syntax is different
than the old MS utility of the same name.

But do not neglect that you might just COPY a pre-existing .LNK file
from source to destination.

0 new messages