Creating link files (.lnk ) files in windows ����� ���� �������). Lnk) ������� �� ������
Creating link files are necessary for allowing users to easily execute Java programs on windows ����� ���� ������� ������� ����� ���������� ������ ��� ����� ����� ���� ������
Sample VB code to create link files is in ���� ������ ��� ����� ������ ���� �� �� ������� http://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). ���� ���� ��� (����� �����) �� ���� ����� ��� ���� ��� (. ��� ������) ����� ���� ���������� ���� ���� ������ ������ ������� (��� ����� lnk �).
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). ����� �����. ��� ������ �������� �������� ������� ����� ��� ���� ����� ����� ���� �� comand (command.com �� cmd.exe).
Filed under ������ ������ Java Software ������ ���� , � Microsoft ���������� , � Windows ����� | |
| |
RSS 2.0 �� �� �� 2�0 | |
Email this Article ���� ��� ������
You may also like to read ������ ���� �� ���� |




































February 15th, 2004 at 8:36 pm ���� / ������ 15th � 2004 �� ������ 8:36
I want to execute a file.bat by java. ���� �� ���� �� ��� file.bat ����. let tell me which command to do it ? ������� �� �� ���� �� ������� ���� ���� ���
Thanks! ����!
Angsuman> Process p = Runtime.getRuntime().exec(”cmd /c file.bat”); ��������> ����� runtime.getruntime � = (). ����� ( "CMD / � file.bat") �
December 10th, 2007 at 7:08 am ������ �� ����� ����� / ������ � 2007 �� ������ 7:08
I’m interesting in .lnk extention ��� �� ������. Lnk extention