I have a PHP page that when data is submitted it also creates a directory named with some of the values passed, it also does a copy of a directory into the newly created directory. Everything works perfectly, except (lol there is always an except) during the copy process the DOS box pops up. I am wanting to run the command silently and can not find the answer anywhere. Here is what the PHP command looks like:
exec('xcopy c:\\Intranet\\www\\reports6\\copy c:\\Intranet\\www\\reports6\\Client_Files\\ASR'.$id.'-'.$jobid.'\\pictures /e/i ');
As you can see I am using xcopy to move the files on the local machine (windows based). Any suggestions here on how to make it happen silently or on a better way to do this. I have researched many ways to do this and most of them are very long and bloated for the simple process I need.
Thanks