FT_CHDIR()
Change the current directory
------------------------------------------------------------------------------
Syntax
FT_CHDIR( <cDirName> ) -> nResult
Arguments
<cDirName> is the name of the desired directory.
Returns
0 if successful
3 if path not found
99 if invalid parameters passed
Description
Use this function if you prefer to change the active directory
instead of relying on the SET PATH command.
The source code is written to adhere to Turbo Assembler's IDEAL mode.
To use another assembler, you will need to rearrange the PROC and
SEGMENT directives, and also the ENDP and ENDS directives (a very
minor task).
Examples
FT_CHDIR( "C:\CLIPPER" )
FT_CHDIR( "\" )
FT_CHDIR( "..\SOURCE" )
Source: CHDIR.ASM
Author: Ted Means
Like this:
Like Loading...
Related
Pingback: FT DOS/BIOS | Viva Clipper !
Pingback: FT Functions | Viva Clipper !
Pingback: FT DOS / BIOS | Viva Clipper !