xcopy not accepting a relative path as source parameter on certain computers

Posted by slicedtoad on Stack Overflow See other posts from Stack Overflow or by slicedtoad
Published on 2013-10-24T03:50:55Z Indexed on 2013/10/24 3:53 UTC
Read the original article Hit count: 156

Filed under:
|
|
xcopy /e /q ".\dlls\*.*" "%programfiles(x86)%\foo" >> TEMP
xcopy /e /q dlls "%programfiles(x86)%\foo" >> TEMP
xcopy /e /q ".\dlls" "%programfiles(x86)%\foo" >> TEMP

All of the above work on two of my machines (windows 7 64bit). But on two peers' laptops (windows 7 64 bit and windows 8 64bit) they return

file dlls not found

or (in the case of the first one)

file *.* not found

Can someone shed some light here? The only difference I can see between the machines is possibly permissions. But I don't see how that would affect xcopy's ability to recognize a local path.

© Stack Overflow or respective owner

Related posts about batch-file

Related posts about relative-path