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> dirdeletedfilelist()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DirDeletedFileList()
------------------------------------------------------------------------------
 Purpose:
 Get a list of deleted files for a given directory.

 Syntax:
 lpszPath = DirDeletedFileList( lpszPath )

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

 Returns:
 A character string.

 The CA-Clipper name for this function is:
 DirDflLst()

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

 To return a list of deleted files, DirDeletedFileList() 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 = DirDeletedFileList( "SYS:DATA\WP")
 ? "Deleted files in directory SYS:DATA\WP"
 ? "File name | Date Deleted | Time Deleted | Deletor"
 do while ( !empty( lpszFile ) )
    ? lpszFile+" "+ DflDeleteDateGet() +" "+;
          DflDeleteTimeGet()+" "+UsrNameGet( DflDeleteIDGet()
 )
    lpszFile = DirDeletedFileList( "" )
 enddo

 Notes:
 Other functions prefixed with Dfl, such as DflDeleteDateGet(),
 DflDeleteTimeGet() and DflDeleteIDGet(), can be called directly after
 DirDeletedFileList() 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: DflDeleteDateGet() DflDeleteTimeGet() DflDeleteIDGet() FSFileSalvage()

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