FT_CHDIR() Change the current directory FT_DEFAULT() Retrieve and optionally change the current default drive FT_DOSVER() Return the current DOS major and minor version as a string FT_DSKFREE() Return the amount of available disk space FT_DSKSIZE() Return the maximum capacity of a fixed disk FT_FLOPTST() Test diskette drive status FT_HANDCNT() Count number of available DOS (not network) file handles FT_INP() Retrieve a byte from a specified I/O port FT_INT86() Execute a software interrupt FT_ISPRINT() Check printer status FT_ISSHARE() Determine if DOS "Share" is installed FT_MKDIR() Create a subdirectory FT_OUTP() Write a byte to a specified I/O port FT_PEEK() Retrieve a byte from a specified memory location. FT_POKE() Write a byte to a specified memory location FT_REBOOT() Force a warm or cold boot FT_RMDIR() Delete a subdirectory FT_SETDATE() Set the DOS system date FT_SETTIME() Set the DOS system time FT_SYSMEM() Determine the amount of conventional memory installed FT_TEMPFIL() Create a file with a unique name
Tag Archives: FT_CHDIR
FT_RMDIR
FT_RMDIR() Delete a subdirectory Syntax FT_RMDIR( <cDirName> ) -> nResult Arguments <cDirName> is the name of the directory to delete. Returns 0 if successful 3 if Path Not Found 5 if Access Denied (directory not empty) 16 if attempt to delete current directory. 99 if invalid parameters passed Description This function is useful if you need to remove a subdirectory for some reason. 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_RMDIR( "C:\CLIPPER" ) FT_RMDIR( "\EXAMPLE" ) FT_RMDIR( "..\SOURCE" ) Source: RMDIR.ASM Author: Ted Means
FT_MKDIR
FT_MKDIR() Create a subdirectory Syntax FT_MKDIR( <cDirName> ) -> nResult Arguments <cDirName> is the name of the directory to create. Returns 0 if successful 3 if Path Not Found 5 if Access Denied or directory already exists 99 if invalid parameters passed Description Use this function to create the subdirectories needed by your application. It might be especially useful in an installation program. 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_MKDIR( "C:\CLIPPER" ) FT_MKDIR( "\EXAMPLE" ) FT_MKDIR( "..\SOURCE" ) Source: MKDIR.ASM Author: Ted Means
FT_CHDIR
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