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_setdir( [ <cdir> ] ) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_SETDIR( [ <cDir> ] )


Parameters

<cDir>
Directory to set as current directory. If a drive is not specified, the 
current drive is assumed.


Returns

When called without an argument, the function returns the current 
directory. When a directory is passed, the function returns logical 
true if successful, false if not.


Description

This function does not change the current drive. To change the current 
drive, use N_SETDRV().


Examples

// Run MYPROG from F:\USERS\DON
N_SETDRV('F:')
N_SETDIR('\USERS\DON')
Run MYPROG



See Also: N_SETDRV()

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