[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
NETDISK()
Determines whether a drive is local or resident on the server
------------------------------------------------------------------------------
Syntax
NETDISK(<cDrive>) --> lServerDrive
Argument
<cDrive> Designates the drive that is tested in a range from A to
Z.
Returns
NETDISK() returns .T. when the specified drive is a network drive.
Description
NETWORK DISK
This function allows you to determine if a drive in the range of A: to
Z: is local or remote. Remote means that a drive is actually resident
on a file server and that the local device address has been redirected
through DOS.
Note
. Since this is DOS information, this function works correctly
with those networks that support DOS.
Example
Test all drives to determine if they are local or resident on the
server:
FOR I = ASC("A") TO ASC("Z")
? NETDISK(CHR(I))
NEXT I
See Also:
NETREDIR()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson