Hi
I'm having problems getting xcopy to run using the "system" command:
system('xcopy h:\folder c:\folder /s /e /h /i /q', $return);
After execution $return holds value 4 which according to MS="Initialization error occurred. There is not enough memory or disk space, or you entered an invalid drive name or invalid syntax on the command line."
I'm pretty sure this is just a network problem (permissions?) between two W2K machines (h: is a mapped drive), as when I've tried two local folders on c: it has worked fine.
Thank you