I'm afraid you can't reach files on network mapped disks. They're impossible
to reach also with commands like fopen and similars, so probably you cannot
use system() or exec() and so on.

I'm wrong?

Alessio.


"jong jong" <[EMAIL PROTECTED]> ha scritto nel messaggio
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
> I am a Win NT4.0 user and just start to use PHP. I
> don't have much web programming experience. Now I need
> your help.
>
> I try to use system() to run a batch file which
> sitting on a mapped network drive like
> this :
>   system("e:\\tmp\file.bat")
> but it gives me "Access is denied".
>
> I can run this batch file in "Command Prompt" window
> successfully. When system()
> works with the files sitting on server machine, no
> problem at all.
>
> I will appreciate if you can help me this.
>
> Wen
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to