Standard edition $69 (US Dollar)
Professional edition $129 (US Dollar)
Volume discounts available
Or download the 30 day evaluation version of watchDirectory (~4 MB)
platforms Windows® 2000/XP/2003/Vista/2008
WatchDirectory Newsletter - Overview of new files
At most once a month we send a newsletter to keep you informed about watchDirectory.
You can unsubscribe anytime you want.
We care about your privacy and will not make your email available to other parties.
| Subscribe to the English language newsletter |
Den Deutschen Newsletter abonnieren |
|
|---|
|
Someone on our forum asked whether watchDirectory can create an HTML page with the latest files created inside the monitored directory. Below you will find an example script you can use with the run .bat files plugin. Make sure you only select the FILENEW event when you configure the task. The latestfiles.bat scriptThe example script uses a program called sqlite3.exe, which is part of the excellent SQLite database engine
used by watchDirectory. The sqlite3 program is included in the download at the bottom of this page. rem path to sqlite3.exe (no "quotes") SET SQL=C:\latestfiles\sqlite3.exe rem where is the header html SET HEADER=C:\latestfiles\Header.txt rem where is the footer html SET FOOTER=C:\latestfiles\Footer.txt rem where should the final html file be created? SET FINAL=C:\latestfiles\topten.HTML rem max number of files to show in html SET LIMIT=10 rem =============================================== rem ==== no need to change anything below here ==== rem =============================================== SET TFBASE=%WD_TASKDIR%\F1%WD_CUREVT% rem create the query, ".mode html" causes the output to be written in html table format ECHO .mode html > "%TFBASE%.SQL" ECHO select dtevent, filename from wdevents order by dtevent desc LIMIT %LIMIT%; >> "%TFBASE%.SQL" rem and start the query type "%TFBASE%.SQL" | "%SQL%" "%WD_TASKDIR%\history.db" > "%TFBASE%NF.BODY" del "%TFBASE%.SQL" rem recreate the html file COPY "%HEADER%" + "%TFBASE%NF.BODY" + "%FOOTER%" "%FINAL%" Download the Latest Files example. Unzip all files into a new directory. C:\latestfiles would be easiest as the example script is configured to use that directory. |
Standard edition $69 (US Dollar)
Professional edition $129 (US Dollar)
Volume discounts available
Or download the 30 day evaluation version of watchDirectory (~4 MB)
platforms Windows® 2000/XP/2003/Vista/2008
Customer testimonial
... but then we found WatchDirectory! With its wide range of possibilities inside the program we were able to optimize our work in a way we didn't expect at all.
Since we use watchDirectory we were able to automate more jobs than we ever thought.Complete testimonial
Automatically create Thumbnails for your Pictures
Create JPG, GIF or PNG thumbnails for new JPG, BMP, GIF, PNG, TIFF, PCX, TGA, WMF, EMF, PCD, and PSD files. Pictures can be automatically rotated as well!
More ![]()
Automate all your file processing!
Need even more flexibility? Automatically start your batch scripts when files in a watched directory are created or changed.
More ![]()
Do you want email notifications when directories change?
Let watchDirectory automatically email you when files are deleted, added or changed in a directory. You have complete control on the appearance of the email. Supports HTML email as well!
More ![]()
Monitor the size of your folders
Automatically delete (or move) files from the monitored directory when it is filling up. Allow a maximum of X files or megabytes, and watchDirectory will (re)move the oldest.
More ![]()