Connecting Tech Pros Worldwide Forums | Help | Site Map

Help with Batch file execution

KMiller
Guest
 
Posts: n/a
#1: Nov 22 '05
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
installer.

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.


Closed Thread