|
Answer» Can we make shortcut with dos???Code: [Select]START "" "C:/path/to/file.exe" Like that?Like when you make shortcut with right click (...) but with dosDOS (Disk Operating SYSTEM) does not support shortcuts. They are Windows files (.lnk extension). On your XP machine you have a NT command line.
There is a program called shortcut in the NT Resource Kit that can be run from the command line. It is a 6.9 MB download which may be overkill for a single program although there are other useful utilities included.
An alternative is VBScript which came with your XP system. If you decide to go with VBScript post back, we may be able to scrape up an example. Note: VBScripts can be run from the command line for console scripts or from the run BOX for window scripts.
see here for vbscript example , and IGNORE posts by BillRich
|