FT_NOVPURGE

FT_NOVPURGE()
 Purge all deleted files on a Novell server

 Syntax

    FT_NOVPURGE() -> lTemp

 Arguments

   None

 Returns

   .T. if successful, otherwise .F.

 Description

  This function is to purge those files that a workstation has
  previously deleted.  This function only works on a Novell network.

 Examples

  ERASE FILE foo.bar
  ERASE FILE foo2.bar
  ERASE FILE foo3.bar
  ? FT_NOVPURGE()

 Source: NOVPURGE.ASM

 Author: David Minter

 

Advertisements

FT_HANDCNT

FT_HANDCNT()
 Count number of available DOS (not network) file handles

 Syntax

    FT_HANDCNT() -> nHandles

 Arguments

   None

 Returns

   numeric, long integer

 Description

   FT_HANDCNT() finds the internal DOS Device Control Blocks used for
   storing file information and counts the number of DCB entries.  The
   DCB is set up by reading the FILES= line in CONFIG.SYS, and there
   is one DCB entry for each file handle.

   NOTE: For Novell networks, the number of network file handles is
         controlled by SHELL.CFG.  To date, I know where this information
         is stored after SHELL.CFG has been read, but have not come up
         with a reliable way to retrieve the information.  There is no
         public variable associated with the storage location, and the
         location can change from version to version of NETx.EXE.
         Novell Tech Support's response, though friendly, was "Nope, we
         don't know of a way for you to do it, either.  Good luck."

 Examples

   nHandles := FT_HANDCNT()
   ? "This PC has " + LTRIM( STR( nHandles ) ) + " set by CONFIG.SYS."

 Source: HANDCNT.ASM

 Author: Bob Clarke