Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> dirdfllst()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DirDflLst()
------------------------------------------------------------------------------
 Purpose:
 Get a list of deleted files for a given directory.

 Syntax:
 lpszPath = DirDflLst( lpszPath )

 Parameters:
 lpszPath The full NetWare path name of the directory.

 Returns:
 A character string.

 Description:
 DirDflLst() is used to obtain a list of deleted file names in a
 directory specified by lpszPath.

 To return a list of deleted files, DirDflLst() should be called once
 with parameter lpszPath set to the full directory path and then
 repeatedly with lpszPath set to a NULL string ("") until a NULL string is
 returned signifying the end of the list.
 lpszPath must be the full path of the directory including the volume name,
 eg: SYS:DATA\KATIE\WP.
 The wildcards "*" and "?" cannot be used in the path specification.
 Returns an empty string if an error occurs.

 Example:
 // To list the deleted files in directory SYS:DATA\WP, the
 // date and time they were deleted and the user that deleted them:
 lpszFile = DirDflLst( "SYS:DATA\WP")
 ? "Deleted files in directory SYS:DATA\WP"
 ? "File name | Date Deleted | Time Deleted | Deletor"
 do while ( !empty( lpszFile ) )
    ? lpszFile+" "+ DflDelDteGet() +" "+;
          DflDelTmeGet()+" "+UsrNameGet( DflDelIDGet()
 )
    lpszFile = DirDflLst( "" )
 enddo

 Notes:
 Other functions prefixed with Dfl, such as DflDelDteGet(),
 DflDelTmeGet() and DflDelIDGet(), can be called directly after
 DirDflLst() as shown above to return further information on the
 deleted files. If an empty string is returned, check NWErrorGet().

 Appropriate trustee access rights are required to use this function, which
 only works with NetWare 386.

See Also: DflDelDteGet() DflDelTmeGet() DflDelIDGet() FSFileSalv()

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