Hi, Friday, April 20, 2007, 2:04:14 PM, you wrote: HH> Hi everyone, HH> I can't seem to be able to copy a txt file from the server over to a network HH> drive. HH> Server is apache on winxp and the remote PC is also running XP. HH> Remote folder is shared with all read/write rights enabled. HH> I also tried executing a bat file where the bat file contains the copy HH> command and that didn't work either. HH> 2x clicking on the bat file works. HH> I tried HH> echo exec("c:\\test.bat"); HH> and also HH> echo system ("c:\\test.bat"); HH> and HH> exec('c:\Windows\system32\cmd.exe /c START c:\test.bat'); HH> and HH> exec('c:\\Windows\\system32\\cmd.exe /c START c:\\test.bat'); HH> with no success. HH> The last 2 items did launch the cmd process. HH> Any ideas? Apache won't have rights to access the network, you need to read: http://httpd.apache.org/docs/1.3/win_service.html -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php