and no, can't combine those as they are totally different stuff. you can rip them together from my scripts but... as noticed with testing along with DOC that the 1st 2nd and 3rd work fine for one purpose, to get the newist file. but to see see the file last copied to folder, one needs to use the last code.
#77012 - 2003-10-0810:09 PMRe: Detect New File Presence
Howard BullockHoward Bullock
KiX Supporter
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
I can add Win32-ChangeNotify functionality to a either my existing or a new DLL. I could notify on one or a combination of:
code:
ATTRIBUTES Any attribute change DIR_NAME Any directory name change FILE_NAME Any file name change (creating/deleting/renaming) LAST_WRITE Any change to a file's last write time SECURITY Any security descriptor change SIZE Any change in a file's size
Here is an example script of my prototype DLL:
code:
$= SetOption("WrapAtEol","On") ? "KiXtart version = " @KIX
$HABObject1 = createobject("HBullock.AdminObjects") if vartypename($HABObject1) <> "Object" ? "@serror" endif
Function Cerror() exit Iif(@error<0,VAL("&"+Right(DecToHex(@error),4)),@error) Endfunction
I should be able to create mutliple instances of various $ChangeNotify objects, but a problem in t my Perl code is presently preventing that from occurring.
Another example:
[ 08. October 2003, 22:12: Message edited by: Howard Bullock ]