Computing.Net > Forums > Windows XP > lnk batch files

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

lnk batch files

Reply to Message Icon

Name: markus
Date: September 11, 2003 at 13:09:58 Pacific
OS: xp
CPU/Ram: xp2200/256mb
Comment:

hello...here is my dilemna,

trying to create a batch file that will automatically put the files from a floppy to 3 2 different locations in the windows folder,
one would be in windows/system and the other one will be in the accesories folder,
now, my problem is, whenever i ran the batch file, it says the system cannot find the path specified (when trying to copy the link or the shortcut of the main file which is in the system directory)
main file is in the c:\windows\system
shortcut/lnk file is in the c:\docume~1\STARTM~1\Programs\ACCESS~1

pls help...

thanks a lot



Sponsored Link
Ads by Google

Response Number 1
Name: keef444
Date: September 11, 2003 at 13:50:20 Pacific
Reply:

If I understand u correctly, try editing ur batch file as follows:

copy A:\yourfile.abc C:\Windows\System
copy A:\yourfile.xyz "C:\Documents and Settings\xxxx\Start Menu\Programs\Accessories"

Where xxxx is the user folder name.

Hope this helps


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: lnk batch files

I need help batch file help www.computing.net/answers/windows-xp/i-need-help-batch-file-help/146467.html

Batch file challenge!!! www.computing.net/answers/windows-xp/batch-file-challenge/137088.html

Batch File www.computing.net/answers/windows-xp/batch-file/178613.html