I have this code to map two network drives:
[php]<?php
$cmd = ‘net use t: \comp1\folder /u:dom\user pwd’;
$cmd .= ‘net use u: \comp2\folder /u:dom\user pwd’;
exec($cmd, $out, $ret);
?>[/php]
When exec() runs I get this:
[code]System error 67 has occurred.
The network name cannot be found.[/code]
and $ret echos 2
I’ve done some research but I can’t figure out what is causing System error 67. Any help is greatly appreciated.