Well, as far as I know, you can't create a shortcut from the desktop. However, you can create a shortcut that points to a local batch file, and copy that .LNK file to the user's desktop, while creating a .BAT file from the command line. Creating a .BAT file from the command line can be done by typing this: COPY CON TEST.BAT Dir *.* (or whatever) ^Z After typing a Control-Z, the batch file will be closed with a "1 file copied." message. If you are creating the batch file using a batch file, you can just echo your lines into a .BAT: echo dir *.* >TEST.bat echo pause >>TEST.bat
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
Create a shorcut from the line command