creating Link-file in a batch job?

R

R.Bellmann

Hello!

Does anybody know a command line tool or a windows-buildin mechanism to create a link ( a *.lnk file)?

Sometimes I have to write simple "installer" programs as batchfiles. It would be helpful to create
links in start menu or on deskttop. Sometimes I need links that start a program by giving some
arguments to it.

Thanks

Reinhard
 
M

Matthias Tacke

R.Bellmann said:
Does anybody know a command line tool or a windows-buildin mechanism
to create a link ( a *.lnk file)?
Sometimes I have to write simple "installer" programs as batchfiles.
It would be helpful to create links in start menu or on deskttop.
Sometimes I need links that start a program by giving some arguments
to it.

Hallo Reinhard,

What about googling yourself? This is an faq.
http://www.google.com/groups?q=create+shortcut+group:microsoft.public.win2000.cmdprompt.admin

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

Marty List - Shortcut.exe:
http://www.optimumx.com/download/

Frank P. Westlake - LN.EXE
http://gearbox.maem.umr.edu/fwu/

Assemble an inf file to create link
http://www.google.com/[email protected]

One of several vbscript
http://www.google.com/[email protected]

A batch creates a vbscript which creates a lnk
http://www.google.com/[email protected]

HTH
 
M

Michael Bednarek

Does anybody know a command line tool or a windows-buildin mechanism to create a link ( a *.lnk file)?

Sometimes I have to write simple "installer" programs as batchfiles. It would be helpful to create
links in start menu or on deskttop. Sometimes I need links that start a program by giving some
arguments to it.

See, among many others:
<http://www.jsiinc.com/SUBA/tip0400/rh0422.htm>
<http://www.jsiinc.com/SUBM/tip6000/rh6035.htm>
<http://www.ss64.com/nt/shortcut.html>
<http://groups.google.com/[email protected]>
and my favourite:
ln (Frank P. Westlake) at <http://gearbox.maem.umr.edu/batch/f_w_util/ln.zip>

There's also a shortcut.exe in some NT Resource Kit.
 
R

R.Bellmann

Hello Matthias and Michael!

Your answers are very helpful. Now I have what I need.
Thank you very much!
What about googling yourself? This is an faq.

Sorry. I googled very much, but did not find anything. ("link" or "command line" are bad words to
search for). Than I had the idea to look for an appropriate newsgroup - and did not think any longer
about FAQs of that group or so, as I should have done. Sorry.


By
Reinhard
 
R

Reinhardt Kern

R.Bellmann said:
Hello Matthias and Michael!

Your answers are very helpful. Now I have what I need.
Thank you very much!


Sorry. I googled very much, but did not find anything. ("link" or "command line" are bad words to
search for). Than I had the idea to look for an appropriate newsgroup - and did not think any longer
about FAQs of that group or so, as I should have done. Sorry.
Hallo Reinhard,

there is an archive of all newsgroups in http://groups.google.com
It's a great source for information.

Reinhardt
"Menschen bilden bedeutet nicht Gefäße zu füllen, sondern ein Feuer zu entfachen" Aristophanes
 

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