Creating link files (.lnk ) files in windows

By Angsuman Chakraborty, Gaea News Network
Monday, January 12, 2004

Creating link files are necessary for allowing users to easily execute Java programs on windows
Sample VB code to create link files is in https://wss.hypermart.net/vb/shortcut.html

Another option (simpler for the programmer) may be to just create a batch file (.bat) file which the users double-click to run the application (same as a lnk file).
Creating it is much simpler. Create a file with .bat extension and write the same command as you would while running it from comand line(command.com or cmd.exe).

Discussion
May 14, 2009: 6:39 am

[...] Hahlo [...]


Alex
December 10, 2007: 7:08 am

I’m interesting in .lnk extention

February 15, 2004: 8:36 pm

I want to execute a file.bat by java. let tell me which command to do it ?
Thanks!

Angsuman> Process p = Runtime.getRuntime().exec(”cmd /c file.bat”);

YOUR VIEW POINT
NAME : (REQUIRED)
MAIL : (REQUIRED)
will not be displayed
WEBSITE : (OPTIONAL)
YOUR
COMMENT :