By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,606 Members | 3,832 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,606 IT Pros & Developers. It's quick & easy.

Help with Batch file execution

P: n/a
My batch file is attempting to copy two files. The first copy works fine,
but the second one does not fire when it executes from the Microsoft

Code looks like this:

@echo off
Rem copy shortcut to AllUsers and Desktop

copy ".\Pisces.lnk" "%ALLUSERSPROFILE%\Desktop\Pisces.lnk" /Y

copy ".\Pisces.lnk" "%ALLUSERSPROFILE%\Start Menu\Programs\Bonneville Power
Administration\Pisces\Pisces.lnk" /Y

@echo on

No matter which copy is executes second, it doesn't fire.

Any help is appreciated.

Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.