|
Re: copying shortucts in dos
You would want to use the xcopy/xcopy32 command (for WinXP and Win98, respectively) in place of copy. When run within Windows, it will preserve long file names and attributes. You will have to find the original location of the Green Globs shortcut (on the desktop or start menu, and they will be in differant place within XP and 98). With XP you can use absolute pathnames in the batch file (such as C:\Documents and Settings\Username\Start Menu\Programs\Green Globs.lnk), while in 98 you have to use the condensed version (C:\WINDOWS\STARTM~1\Progra~1\Greeng~1.lnk). Am I correct in assuming you already have the program copied somewhere (CD or otherwise), and you wish to write a batch file to install/copy the files to the proper locations?
|