Re: How to get a network drive name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, February 2, 2006 8:44 am, Ibrahima TALL wrote:
> i have already tryed this command barry, in fact the name of the
> volume is
> different from the name of a network drive. A volume concerns a
> partition i
> think
> For exemple, you can define many drives, let say COMMON1(X:),
> COMMON2(Y:) in
> the DISK(C:).
> In this situation, the volume name is DISK for the three drives and
> different from COMMON1 and COMMON2.
> I have tried many other dos commands but with no succes
> TALL Ibrahima

Put it this way...

If there's no way for DOS / Windows to get the names, then PHP
certainly can't get them.

PHP can only provide what is provided to it.

PHP is not going to violate the underlying Operating System (or what
puports to be an OS) to dig out data for you, when that data is not
provided by the OS itself.

Find the DOS command or Windows function that provides what you want,
and maybe PHP will support it, or you can run it from
http://php.net/exec -- but if there is no such function, then PHP
can't run the function that doesn't exist.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux