Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- NetLib for Clipper, Version 6.0 - n_fvol( <cdrive> ) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_FVOL( <cDrive> )


Parameters

<cDrive>
Drive letter to examine.


Returns

Network volume name to which the specified drive letter is currently 
mapped. (The volume name generally replaces the drive letter when 
constructing a full network filespec.)


Description

Only the drive letter of <cDrive> is examined by N_FVOL() and case 
(upper or lower) is ignored. For example, the following constructions 
all return the same value:

N_FVOL('F:')
N_FVOL('f')
N_FVOL('F:\APPL\DATA\ORDER.DBF')



Examples

// Get network path for drive F:
? N_FVOL('F:')
SYS

// Construct complete network path of file.
// Volume name replaces drive letter in filespec.
nfilespec = N_FVOL('F:') + '\APPL\DATA\ORDER.DBF'
? nfilespec
SYS:APPL\DATA\ORDER.DBF



See Also: N_FDRIVE() N_SERVER()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson