Watch 4 Folder 2.5

Watch 4 Folder 2.5 is a powerful monitoring and automation tool to monitor folders and files activities.
It is a small, portable (registered version only) and simple to use utility.


Watch 4 Folder 2.5 - a folder monitoring and automation utility that can monitor up to 4 different folders simultaneously for 12 kinds of events and react for each event with different kind of actions.

It can also react for each event with different kind of actions like writing to a log file, display different kind of messages or executing a program, batch or script.

W4F can also return the changed object (file, folder, etc.) as an argument to the executed program batch or script so you can predefine automation process for this object, for example you can monitor a folder for new files and when a new file is created you can print the new file or move the file to a different location, open it with a program you want or any other manipulation you need.

The program maintains a live log that logs every event, action or settings changes.
W4F can run in the background from the system tray and use minimum resources and can auto start with different configurations using command line parameters.


















W4F 2.5 versions differences:

• Free version – this version is limited to a single folder monitoring, which means you can monitor only one folder at a time, this version if free to download and use with no other limitations.
The free version is distributed as portable app without installation and can be moved and executed from a different location or different computer.

• Registered version – this version let you monitor up to four folders simultaneously.
The registered version is distributed in a single ZIP archive file without installation, it is portable and can be moved and executed from any location on the same computer, but can't be executed from a different computer (registration is per machine).

Changes from last published version (2.3):• Most of the code was rewritten
• Can monitor up to four folders simultaneously (registered version only)
• Add the "Wait for file process to finish" option
• Working with arguments in auto event selection only
• Bug fix when trying to use the execute option on massive changes events

• Bug fix missed changes on massive changes events

• Major GUI changes


Download W4F 2.5 user guide here (PDF format 802kb):





Download W4F 2.5 Free version portable version with update 2.5.1 (26/08/2013):




How to Order the registered version:



Registered version price: 4.99 USD

1. *copy the exact product id from your W4F25 free version home tab:

2. Enter your product ID and click on the Buy Now PayPal button
3. Follow the payment procedure and enter your exact product id
4. We will process your order (up to 12 hours) and return you an email message with your specific download link (1.84mb)
5. Download and extract the files, overwriting you free version files (or extract to a different folder)
6. Your saved monitor from the free version will be preserved
7. Enjoy using W4F
*In case you didn't try the free version before ordering the registered version, use the following link to download LeeLu Soft product ID finder to generate your personal product ID:

Orders without a W4F25 original product ID will not be accepted


Enter your Product ID

74 comments:

Anonymous said...

does this run as a wingows service?

Zed said...

No, It is a desktop application.
But is can run minimized as a background process in the system tray, it can also start automatically in the tray

niuniu said...

This is a great tool. Thanks.
But it seems does not work in following situation.
I have a php script which create file to a specific folder. I set it up to monitor this folder, once a file created, it should run a batch file. If I copy a file into the folder, it works. But if the file is generated by php web application, it does not work, the batch file cannot be triggered. Do you have any suggestion about how to make this work? Thank you very much.

Zed said...

Hi niuniu,

W4F uses Windows Shell Notification API to identify events.
If for some reason the OS doesn't report a change, W4F can't identify it.

Z.

In Irons said...

Is there any way to trigger one event for when file is created in a directory and then trigger another event when the file is closed? I want to monitor the recording directory on windows 7 media center and trigger event when a recording starts (file created which I can do with w4f) and fire another event when recording stops (file closed?)

I can do the first event.... bug cant seem to do the second

Zed said...

Hi,

W4F is based on a Windows Shell Notification API, this API doesn't report when a file is closed (or free).
You will have to execute a batch or script that will run in a loop and check to see if the file is locked until it will be free.

Z.

Zed said...

Example how to use W4F to scan, make pdf and send mail by David Rogers:
BTW as you already have an example of using your software to trigger an Email / Attachment creation here is another example.

DOXIE is a wireless scanner, when I scan a document its transfered automatically over wireless to my computer to a directory, there I use your

great watch4folder to trigger another freeware software called sendEmail which sends this document as an attachment over Gmail to a archive

user email address, then I trigger another freeware program which creates a pdf version of the jpg scan.

I actuallly use the 2 step Gmail security verification and it works ( application based password ).

It all seems to work and your utility plays a core part of the implementation. Feel free to use this on your site as another example of using your Utility.

David

It triggers this batchfile on file creation passing the filename

rem @echo off

start /min c:\sendmail\sendEmail -f @gmail.com -o tls=yes -t @gmail.com; -s smtp.gmail.com:587 -xu @gmail.com -xp "abcdefghijk" -u Automated_Doxi_document_process_for_file_%1 -m Sent_von_Doxi_Computer_file_%1 -a %1 -l "sendemail.log"

cd "C:\Program Files (x86)\PDFCreator"

start pdfcreator.exe /IF%1

timeout 3

taskkill /im PDFCreator.exe

cd c:\sendmail

Zed said...

A nice example of how to use W4F to monitor a folder and send new created files by email (by Eric Schmitz):
If you have a folder that you need to monitor for new files and you want to send the new file as attachment by email (outlook only), here are the steps to do it.
Create a batch file and name it whatever you want.
In the batch file enter the next line:
"C:\Program Files\Microsoft Office\Office11\Outlook.exe" /a %1 /m "&subject=Scanned Document from youremail@youremail.com&body="
Replace the subject text (Scanned Document from) with the subject text you want.
Replace the email address (youremail@youremail.com) with your address or any address you want.
Save the batch file.
Now open W4F and set the following settings:
Select the folder to monitor.
Check the "File Create" monitor event, this will monitor the selected folder for new file creation.
On the Action panel, check the "Execute a program or batch file" checkbox.
Browse and select the batch file you just created.
This step will set W4F to execute your batch file when a new file is created.
Check the "Add changed object as argument" checkbox.
From the arguments drop list, select the first one "File Create – File Name" and check it (round check box).
This step will set W4F to return the new created file name as argument for the batch file (represented as %1 in the batch).
Now you can click on "Start Monitor".
When a new file will be created inside the monitor folder, the new file will be attached automatically into a new email message with your subject and address.

Unknown said...

I'm very interested in this utility, but i'm curious if this will also work with subfolders. For example, the source folder will have subfolders created within it with files inside of it, and the subfolders would then need to be created on another terminal and the files copied within.

Zed said...

Aaron,

I'm not sure I understand your needs, but you can download the free version and try it.
W4F can monitor activity in sub-folders also.

Z.

Anonymous said...

I purchased a registered version. Is it possible to monitor more than 4 folders?

Zed said...

No.

Anonymous said...

how do you save a monitor name? I have created a moni9tor that works perfectly for what I need however if the machine is shutdown and restarted the program comes back up (via command line script in the startup folder) however the monitor that I call up doesn't exist any more and in monitor 1 it shows the sample I have looked all over but I do not see any where to save the settings for a monitor

Zed said...

Hi,

The only thing you need to do is to click on Apply button.
the settings are saved in a settings.cfg file, to find the file in the temp folder, click start > run and enter %temp% and press Enter, an explorer window will open, locate a sub folder named W4F25, the settings file is inside, it is a simple ini file.
make sure you have the needed rights to the temp folder.

Kim said...

Hi,

I am using version 2.5.1, windows 7.

I am trying to trigger a popup on file create event on a dropbox folder...

This doesn't work... only file change even works in my scnerio instead of file create but file change event is triggred 4 times each time a file is synced in dropbox.

Can you pleas help how to get file create working or file change trigger only once and avoid recurring events on a dropbox sync?

Thanks

Zed said...

Hi,

Watch 4 Folder can't be used to monitor any kind of network drive.
The results will be unreliable.

Z.

Unknown said...

I have a folder w/2 files in it. One a .mdb other a .txt. Want to monitor only .txt file changes, copy newly changed .txt file into a subdirectory either date/time or add date/time to name of file. Any suggestions?

Zed said...

Hi Brian,

W4F can't monitor a single file.
You will need to keep the txt file in a different folder.

Z.

SoulKeeper2k said...

I found Watch 4 Folder yesterday and I use it for customer of our Company. The log which be saved by the program is good but I miss an option to see which employee has done something with a file or a directory. Is it possible to activate such an option? Or is it possible to code it into a newer version?

Regards from germany

Zed said...

Hi SoulKeeper2k,

Thank you for using my software.
This is not a small change in the code or an option to activate.
It is out of the scope for now, maybe in the future I will work on that.

Z.

Anonymous said...

Hi, I'm using W-4-F successfully, run under admin rights to execute a batch file. Just FYI, a non-fatal error came up: Access violation at address 005A624D in module 'W4F25.exe.' Read of address 00000048. Great software though, Thank you! -Paul

Zed said...

Hi,

Can you point me to the situation when the error occurred ?
Is it something I can simulate ?

Thank you
Z.

Unknown said...

Hello

Registered version is only for one computer?

Thanks.

Zed said...

Yes it is.

Anonymous said...

hi,

nice tool.

Tool has problem's with,
Samba-Server "File create" tool no detecte a new File.

Zed said...

W4F doesn't work with network folders.

Olaf said...

How can it be started to the system tray?

thx

Zed said...

Hi,

You can find it in the following user guide:
http://leelusoft.altervista.org/alterpages/files/W4FGuide.pdf

Look for command line options.

Z.

Anonymous said...

Hi Zvika,

you have wonderful software like Watch 4 folder, i got difficulty to implemented on windows xp, the program cannot run well, i watch for new file on the folder but it seem the shell notification not running, its stuck/idle condition. do you have any idea to solve this?

Thank you very much.

Zed said...

Hi,

Windows XP should not be a problem.
I need some more details to solve your problem.
Is it a local folder or a network folder you are trying to monitor ?
Did you run W4F as admin ? are you the machine admin ?
Does the monitor starts ?

Z.

Unknown said...

Hello, does anyone know how to configure W4F to automatically print a PDF file?

Thanks!

Fabian

Anonymous said...

Hello,

For Step 1, why I can't browse into C:\Users\MYNAME\AppData\Roaming... (Windows 7) I precise I can display hidden files/folders from Windows Explorer but W4F (free version) can't do.

Also I don't have found the solution to enter the full path.

Please help me! will be appreciated.

TIA.

Regards.

Anonymous said...

hello i read that this software can pass argumetns to a bat file but where can i find the whole arguments list that i can pass ? i so far found only %1 that is file created path... are there any other? regards

Zed said...

You need to read the user guide or watch the demos on YouTube.
I can see that you don't know how to use Command prompt parameters, which is very simple.
To refer the first object you use %1 the second object is %2 and so on.
W4F will return sometimes a single object, like when a new file is created the file name will be returned to the batch file and will populate the %1 var.
In the case of rename of a file W4F will return two file names, the original file name will be %1 and the new file name is %2.
My advise is to find on Google some explanation on how to work with batch files and vars.

Zed said...

TIA,

Currently W4F can't monitor or display hidden folders.
I will add it on the next version.

Z.

n2062348 said...

Hi,

I am trying to auto start W4F using task scheduler. However, W4F does not have a way to retain the configuration after user sign out. Is there any other way to do this ?

Thank you guys.

Zed said...

Yes it does save the settings, it saves the settings for each user.
In:
%TEMP%\W4F25

Louis said...

Thank you, Zvika.
I found the configuration file and saved the configuration I need on a 2012 server.
However, it doesn't seem to monitor the file when I ran it from the task scheduler.

Any help would be much appreciated .

Thank you.

Zed said...

W4F is not a service, it will not run when the machine is in log-off.
It is a desktop application, so a user must be log-on for it to work

Louis said...

Hi Zvika,

I managed to configure task scheduler to start the program. There is an option in the task scheduler that instruct the task scheduler to run the specified program disregards of whether there is a user logged in or not. Task scheduler also prompted for log in password when configuration is saved.

In fact the program did run as I can see it in the Windows Task Manager process details list. I am however not able to see the log file being updated. I used the same W4F configuration that I tested working when I manually run the program.

I saw the active flag in the setting.cfg file is set to 1 when the "Start" button is clicked. I therefore copy the setting.cfg file with the appropriate setting and active=1 to the location accessed by the program when started in Task scheduler.

I assumed W4F will first check for an existing seeting.cfg when started and start monitoring automatically when the Active=1 is set in the .cfg file. Please advise if this is correct.

Appreciate it if you can help explained how I can make sure the correct setting.cfg file is read and the monitoring is started automatically without requiring clicking on the Start button.

I am willing to share the configuration steps when I managed to get this working properly with your approval.

Thank you very much for the help given.



Zed said...

Hi,

I Don't know what you are trying yo do... but you don't need to do all this settings editing and so.
It is very simple.
You don't need to touch any settings file or to edit any file.
It will be better if you will read the user guide, you can find there how to auto-start W4F with different settings.

If something will not work for you, please be more specific and give me more details, like what exactly you are trying to monitor, where is this folder, etc.

Z.

Louis said...

Hi Zvika,

I am configuring the program to auto start after server reboot using windows 2012 Task Scheduler. I used the command "w4f.exe -all -m". The program was started when I checked on the Task Manager. The folder being monitored is a simple data folder created for testing purpose.

Thks.

Zed said...

Does it works when a user is logged on ?

Louis said...

Hi Zvika,

It doesn't work as long I used the Task Scheduler to run. There is no problem if I launch the program manually either from cmd or double-clicking.

Zed said...

Yes, I wrote it on my first reply...
W4F is a desktop application, it will work only when a user is logged-on.

Anonymous said...

Hi, I can not set up a program to monitor a folder "C:\ProgramData" in Windows 7 x64. It is possible to adjust somehow? Thanks for help.

Zed said...

Current version have no support for hidden or system files and folders

David said...

Every time I start this program the settings is gone and I need to add them again. How to make them stick after a reboot?

Zed said...

The settings file is in:

%temp%\W4F25\settings.cfg
it is a simple INI file.

The settings are saved automatically, so if they are not saved I guess something (like a protection app) clear the temp folder or prevents from writing to this location.

Z.

Unknown said...

Love the application, but one problem I'm having.
I have it monitoring a folder for a new file then executing a bat file.
If I copy a pdf into that folder, everything works.
if I scan a document and the scan creates the PDF in that directory, I can watch the file being created, but the application doesn't see it.

What am I doing wrong?

Zed said...

As wrote before a few times, the app is based on a Windows API for shell change notification, if the OS reports a change then WF4 will "know" about it, if not it will not trigger W4F.
Try to leave the target folder open in Windows Explorer

Anonymous said...

I am attempting to see if the Blog is still active. I posted a comment a few minutes ago but I cannot see it.

Anonymous said...

I want to monitor folder for file changes, then if file changed restore it with archived one. But program creates infinite loop as replacement is monitored as another file change.

Example:
1. File Zvika.txt has content "I like Watch 4 Folder".
2. File has been changed by external factor with the content "I don't like Watch 4 Folder".
3. Your program reacts to this change then silently extracts SelfExtractArchive.exe which contains original txt file with "I like Watch 4 Folder".
4. Here comes infinite loop.

How to avoid step 4? Is there a way to add some 1-2 seconds pause where your program will not react?

Zed said...

W4F will always react to changes.
you need to set a check in your scrip or batch, maybe check for MD5 before you command to replace the file.

Anonymous said...

Wait for process to finish is greyed out

Zed said...

Correct, please read the user guide.

Anonymous said...

I downloaded the program to try it but it doesn't look like it is monitoring anything. To test I just clicked file create and selected the local path. Looking at the Live Log, nothing happens when I move files to the folder.
In another attempt, I specified an action of launching notepad when a file is created, and again nothing happened. What am I missing?

Zed said...

Go to the watch list tab and click Start...

Anonymous said...

Yeah, I have done that.

Anonymous said...

Great tool!

I would think it is polling the folder to be monitored?
If so, is it possible to set the polling interval (e.g.to 5 minutes) in order to reduce/minimize network load when monitoring a network folder?

Zed said...

W4F doesn't support network drives or folder, it is a local desktop app.
It doesn't do any polling, it is registered to receive a notification from Windows on specific folder or file events.

Unknown said...

Hello,
This is great tool thank you !
I only face a little issue, I hope it can be fixed.
I monitor a local folder and its subfolders on a server, it works great when I modify files directly on the server.
But it does not monitor when a file is modified by people accessing the folder through a network shared folder (from another machine), is there a way I can monitor that?

Zed said...

Hi,

No, W4F doesn't support network activities.

Z.

Norman said...

Hi,
How can I get the old and new file name on the file rename event from DOS command line ?

Zed said...

Sure, %1 and %2 represents the old and new name.
More info inside the user guide.

hxgee said...

hi there, just started to test and was wondering how the subfolders should work? Is it just a question of checking the subfolder checkbox? thanks

Zed said...

Yes...

Bartosz said...

If I own two computers, I'd need to buy two copies?

Zed said...

Yes

Bartosz said...

I'd propably buy those licenses if the program didn't loose all settings 2-3 times a week :/

Unknown said...

Ive noticed that every time windows does an update the settings file gets wiped, and I have to put all settings back in again which is very time consuming.

Zed said...
This comment has been removed by the author.
Zed said...

The program wouldn't loose all settings 2-3 times a week if you will not delete your temp folder 2-3 times a week.

Zed said...

Settings are in:
%TEMP%\w4f25
Just backup a copy of the files inside.
I don't know why you or your update procedure is deleting this files.