hmmm, I just came across this in 4.53

in XP this copy statement works fine, but errors for Vista when the folder does not exist:
 Code:
                copy $setup+'\AHCA\Splash\*.jpg' '%programfiles%\ahca\splash\' /c /s

? $setup+'\AHCA\Splash\*.jpg'
? '%programfiles%\ahca\splash\'
? @serror


 Quote:

C:\Users\wheelerc\Desktop\AHCA\Splash\*.jpg
C:\Program Files\ahca\splash\
The system cannot find the path specified.


however, if I insert this for vista, it works fine:
 Code:
		md '%programfiles%\ahca\splash\'
                copy $setup+'\AHCA\Splash\*.jpg' '%programfiles%\ahca\splash\' /c /s

? $setup+'\AHCA\Splash\*.jpg'
? '%programfiles%\ahca\splash\'
? @serror


 Quote:

C:\Users\wheelerc\Desktop\AHCA\Splash\*.jpg
C:\Program Files\ahca\splash\
The operation completed successfully.


this may be an old "bug", I haven't tried 4.60 yet to see if it persists
_________________________
How to ask questions the smart way <-----------> Before you ask