
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> dfldeltmeget()</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DflDelTmeGet()
------------------------------------------------------------------------------
Purpose:
Get the time a deleted file was deleted.
Syntax:
lpszTime = DflDelTmeGet()
Parameters:
None.
Returns:
A character string of length 8.
Description:
DflDelTmeGet() returns the time the last deleted file returned by
the function DirDflLst() was deleted.
DflDelTmeGet() can only be called after DirDflLst() returns
a valid file name.
Example:
// To list the deleted files in directory SYS:DATA\WP, the
// date and time they were deleted and the user that deleted them:
lpszfilename = DirDflLst( "SYS:DATA\WP" )
? "Deleted files in directory SYS:DATA\WP"
? "File name | Date Deleted | Time Deleted | Deletor"
do while ( !empty( lpszfilename ) )
? lpszfilename+" "+ DflDelDteGet() +" " ;
+DflDelTmeGet()+ " "+UsrNameGet( DflDelIDGet() )
lpszfilename = DirDflLst( "" )
enddo
Notes:
This function only works with NetWare 386 and appropriate trustee
access rights are required.
See Also: DirDflLst() DflDelDteGet() DflDelIDGet()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson