Tuesday, July 27, 2010

Watch 4 Folder 2.2

Freeware by LeeLu Soft 2010
watch 4 folder Download
Download (single file no install) 624kb:


Download from CNET (Download.com):
Get it from CNET Download.com!

79 comments:

Anonymous said...

Hi,

Very useful but there are 2 missing features to make this cool freeware meets my needs:
- in the control "3. Select the Actions on Event" I can't select DOS batch file with .CMD extension.
- I want this DOS batch file, let's call it action.cmd, to know which files are created/changed. How? By passing files names as arguments to action.cmd i.e. action.cmd file1 file2...

what do you think ?

Axel

Zvika said...

Maybe I will do it in the next version, it is very simple to implement.

Brigham said...

Zvika:

Glad to see the new version. Looks very nice. Unfortunately for me, events generate this error message (when either desktop alert or pop up are selected):

Watch 4 Folder 2.2
Invalid argument to date encode.
OK

Thanks a lot for your help.

Best,
Brig

Zvika said...

Hi Brigham,
What OS are you running ?
Did you use the previous versions also ?
does the previous version was OK ?
If you are selecting to write to log or to execute a program it works ?
Can you see the events on the live log ?

Brigham said...

1. "What OS are you running?"
> XP Sp. 3

2. "Did you use the previous versions also?" and "does the previous version was OK?"
> Yes sir--worked perfectly.

3. "If you are selecting to write to log or to execute a program it works?"
> I have W4F writing to a log file. I do not have it executing a program. But . . .

4. "Can you see the events on the live log?"
> No, and events (e.g., renaming) are not recorded in the log file.

One other thing I should mention, the folder I'm watching is a network folder, not on my hard drive. But watching network folders worked in the previous version.

Brigham said...

Hi Zvika:

I just wanted to add to my comments yesterday that the same problem I'm having occurs with local folders (on my hard drive) as well as network folders. Same error message. Live log does not report folder events.

Sorry. But many thanks for your help.

Brig

Zvika said...

Thank you Brigham, I hope that I will find the time to look at this issue tomorrow.
I did not changed the shell notify procedures from the last version.

Zvika said...

Brigham, are you the local admin of the workstation ?
I am running it on Win XP SP3 on local and network drives with no problems.

Brigham said...

Yes, I have admin rights on my PC (a laptop).

More information: I've been playing around some more and the problem appears to be with renames only. I can create and delete files and folders and W4F works perfectly. Only renames produces the error (and makes W4F stop working). What do you think about that?

Zvika said...

Rename also works fine for me on Win XP SP3 and on other OS.
I will check the code tomorrow and see if I will find the problem.
I will compare it to version 2.0.

Zvika said...

Brigham, I tested W4F on 3 more PCs with XP SP3, never recieved the error.
Anyway, I made a small change in the Rename event procedure, here is a link to this modified version:
http://www.mediafire.com/file/e5dcm8o013vjd9t/W4F22a.zip
Let me know if something is changed.

Brigham said...

Zvika:

Perfect! Whatever change you made did the trick--W4F works perfectly now. Thanks a million for your help. I really appreciate it.

All the best,
Brig

Zvika said...

Wow..., nice.
I tested somthing, and left this line of code because it didn't changed nothing for me, so I just removed it.

Anonymous said...

Zvika,

Thank you so much for this tool! I would like to request one feature, if I put this in my startup, I would like it to load ConfigWin.ini automatically, start monitoring, and minimize to tray when I log on. Would that be possible?

Many thanks,
Bill

Zvika said...

You can start it with a batch file by running:

W4F21.exe "c:\My folder\ConfName.ini" /s

This will load W4F with the ini configuration and start running the monitor

It will not minimize to the tray, I will add the auto minimize in the next version

Anonymous said...

A solid program. Unfortunately, it lacks the ability to exclude events.

For example:
If you're running a web server and want to regenerate an index.html file after anything changes in the folder, there is no way to tell v2.2 to ignore file changes involving "index.html" or more genericly "*.html|*.html|*.php|*.js."

Anonymous said...

Would be great to run this tool as a service under windows 2003 server. Any chances to get this feature?

Zvika said...

If I will find the time maybe I will create a service version of this tool

Anonymous said...

Thanks so much for creating this, Zvika! Would it be possible to include which network user initiated the action (for shared resources)?

Zvika said...

I'm not sure that I can get this info from the OS, I will check it

Anonymous said...

System Tray Share Monitor can monitor who is logged onto your shares and what files are actually open by them:

http://www.mp3vcr.com/sharemonitor/

VB source code available.

Zvika said...

Very good... so use it.

Anonymous said...

"Very good... so use it."

Just letting you know it was possible to get this info from the OS, since you didn't know:

"I'm not sure that I can get this info from the OS, I will check it"

Anonymous said...

What a WONDERFUL tool! I never found another free software that triggers application execution when monitored event occurs (seems like they only notify the user that the event took place).
One feature request --- is it possible to add support to accept command-line parameters for the application selected to execute? It would make W4F perfect for me.

Zvika said...

Thank you.
Considering the amount of requests for this feature, I will add it on the next version.
I just need to find the time to do it :-)

deKay said...

Thanks for this! Using it I came up with a way of automatically converting video files to WMV. Couldn't find another app to do the same thing.

I wrote up the "how to" here.

A suggestion for an improvement, if you're accepting suggestions, would be to be able to pass the file name and file path of the changed/renamed/whatever file to the exe or batch file. So in the "action" box you could use "convert.exe $filename" or something.

Zvika said...

Hi all, as I wrote before, in the next version (when I will find the time...) I will add the ability to pass the changed file or folder name as a parameter.

Anonymous said...

Hi, nice , olny one request..
I need copy (masked or not) monitored files on my folder.
batch file as copy %1 c:\myfolder do not work. Any idea how to this action?

Regards

IW1CUY

Zvika said...

IW1CUY,

When I will have the time to create a new version, I will add this feature.

Anonymous said...

Many thanks Zvika!
I will wait your new release.

IW1CUY
Ham Radio From Biella, Italy

Josh said...

Hi, I'm using Watch 4 Folder 2.2 at work on Windows XP SP3. My account is the administrator on the machine.

We have a bunch of network shares that I'd like to monitor but it only seems to catch changes to the folders if I do them from my machine. If I go to a neighbor's workstation and put a file in the folder, it seems to not even know there were changes made. I'd like to be able to see when other users add files to the shares.

Any ideas?

Zvika said...

WF4 is based on Windows Shell Notify, the application is providing alerts basd on the information it recieve from the Shell Notify.
It looks like it doesn't work with UNC and Network drives.
I will check it again whan I will have the time to do it.

Anonymous said...

Nice program. FYI I also needed to download your Aug 1 special version W4F22a.exe because the normal version also was problematic for me (using Vista SP2 64bit)

Anonymous said...

Hello, it would be greate if you write the name of the last detected file in a env-variable. So we can read this with a batch-prog. Thx!
Mike

Zvika said...

Will be on the next version

Laurent said...

Hi Zvika
First I would like to thank you for your very effective application. Now my question, when do you plan to release a version that supports the networking operations on files ?
Thanks to a command line, I would like to print out the files from a folder each time a new file is created :
AcroRd32.exe /p /h "c:\spooler\*.pdf"
Let me have your reply, it would be great.
Cheers
Laurent

Zvika said...

Hi Laurent,

The truth is that I'm very busy now running my new company, so I don't know when I'm going to have the time to do it, I will try to find some time next month to do it.

Thank you,
Zvika

Anonymous said...

Hello Zvika!

Great tool! One question:
I'm running Filezilla server and added W4F22 to monitor when files are created/deleted/changed. However, W4F22 is not noticing these events. It seems to be relating all file actions as folder change events.
Any hits/help would be greatly appreciated.

Thanks for taking the time to come up with such a great tool!

Regards,

Carlos

Zvika said...

Hi Carlos,

W4F22 is monitoring the windows shell for files and folders changes notifications.
It displays the info from the OS as is.
Some OS versions and installations provide inconsistent notifications, I have also noticed that.

Thakn you for trying my software.
Zvika

Anonymous said...

If it can be a windows service or put it into start up, then it is the best one.

Robert said...

Have tried your software, excellent idea.
I was looking for something that would trigger based upon a file copy. As well as running a .vbs file upon detection (have worked around the files option by using a .bat which then calls the .vbs

Hoping that the copy monitor could be included???

Zvika said...

Hi Robert,

I hope I understand your question.
Copy is not something I can monitor with the ShellNotify API.
A copy process is the same as creating a new file (from the OS point of view) so I can monitor the creation of a new file and also get notified about a file change inside a folder.
If you move a file from the folder the monitor will find a change event and a delete of a file event.

regards,
Zvika

Robert said...

Hi Zvika
Many thanks for the quick response. I am trying to create the trigger if someone trys to copy a specific file onto a flash drive, while allowing them to copy other files onto the same flash drive(pen drive)

Regards
Robert

Duck said...

How do you minimize the program on start? I tried a command like this...

START "" /MIN "w4f22.exe" "config.ini" /s

But the program doesn't launch with the /MIN in there.


Would be nice to have the feature to filter for different files like in *.txt format.

Thanks.

Duck said...

How do you minimize the program on start? I tried a command like this...

START "" /MIN "w4f22.exe" "config.ini" /s

But the program doesn't launch with the /MIN in there.


Would be nice to have the feature to filter for different files like in *.txt format.

Thanks.

Zvika said...

This version doesn't support minimizing from the command line.
When I will find the time to write the next version I will add this option.

Duck said...

Hi, I have tested this program over the last 24hr and it is working great!

Made a shortcut to w4f22.exe and changed the properties to run minimized. I am sure it is a bug, but the program launches and runs in the background like a system service. That works great for what I am doing with it.

The only problem is the command to execute is a .bat file. It keeps running in a window on top of everything else and stealing focus. I really want it to run minimized but I can't work out how to do so. Any ideas? There has got to be a way.

Anonymous said...

Great piece of software! I was wondering if network folders work?

I find if I add files to the monitored folder from the computer that the software was installed on it works. But if I add files from a another computer 'Watch4Folder' doesnt detect the change.

Is there anyway to correct this?

Anonymous said...

Nice, very useful. Is there or will there be a way to have it wait until a file is finished being written to before running a batch?

Zvika said...

I'm not sure if it can be done

Anonymous said...

It's a cool software.
For me, if it has another two fonctions, it will be perfect.
1. Monitor automatically when de windows start.
2.Set a password to change the parameter.

veenone said...

Hi Zvika,

I just stumbled into this application of yours and it does exactly what I needed right now.

I have a couple questions here:
1. Is it possible to get the file name that has just been created in the monitored folder? I would like to parse the newly created file name in my batch file.
2. Is it possible to filter what type of files that can be monitored in the folder? i.e: I want to monitor only *.JPG, *.JPEG only
3. Yeah just like Duck's question, starting Watch 4 Folder minimized from command prompt would be great.

Thanks!!

sulasno said...

does it work with monitoring a file instead of a folder ?

Anonymous said...

Hi,

It would be great if it could log file access or execution.

Keep up the good work!

-ER-

Zvika said...

Hi all,

Watch 4 Folder version 2.3 is available here:
http://leelusoft.blogspot.com/2011/10/watch-4-folder-23.html

Thank you all.

Anonymous said...

Hi,
many many thanks for the great software!
There is something I couldn't figure out how to do: To start w4f on Windows start with a specific event already loaded. It starts, if I put a shortcut in the autostart, but it doesn't monitor anything until I load the config and press "start monitoring".
Best regards.
K. Dorna

Zvika said...

Thank you for using my software.
Yes, you can auto start W4F.
To do it, you need first to use version 2.3.
Now you need to start it and set the monitoring settings you need (folder to watch, events, actions, etc.), now click on save, and save your settings to a settings file.
Now you can create a batch file or a script that will launch W4F automatically with your saved settings.

A small example:
Let's say you saved you settings file in c:\temp\settings.ini.
Now you can run:
W4F23.exe c:\temp\settings.ini /s /m
You can put it in a batch file and put this batch file in your Startup folder or run it from Windows scheduler.
The parameters are:
/s - auto start monitoring
/m - auto minimize to system tray.

Regards,
Zvika

Anonymous said...

Hi,
I´m testing your software and its very fine, but I have a problem.When I monitor a "folder create" and I copy multiple folders at a time it only takes the first one and than it stops, and not one by one ? when I check the"popup a message.." then it works but I have to give a keyboardinput.
??
thanks
Robert

Zvika said...

Hi Robert,

I Checked it now with version 2.3 I copy 5 folders at once and I get informed by the program about all the folders created.
If you are trying version 2.2 try to use version 2.3.
I tested it on Win 7 professional.

Zvika

Anonymous said...

Hi Zvika,
I tried it also in 2.3,
I copy some dirs in the watched folder and I use "folder create" and "execute a program.." and use "add changed prject.." to make some copies to other directories with a .bat. so the first dir is ok but the next dirs arent copied.
?
Robert

Anonymous said...

Hi Zvika,
now i see in the logfile that the event was started as often a folder was created, but my .bat-file is always starting only for one time. How can I solve this problem to open the .bat for more times ?

thanks
Robert

Zvika said...

Hi Robert,

Can you see all the folders events in the live log window ?

Zvika

Anonymous said...

Hi Zvika,
I have just downloaded Watch 4 Folder 2.3 and think it is great. It's the first time I have seen a free tool to do this.
I am having an issue though the GUI will not let me select an object to pass as an argument - I can see the list but can not select one. I suspect it would work if i added it to the .ini file but do not know the syntax.
I am using Windows 7.
Thanks

Tim

Zvika said...

Hi Tim,

Is your windows in classic mode or advanced mode ?
WF4 2.3 is using some advanced controls (like the arguments drop list) which are not supported on classic GUI mode.
You need to change you Windows GUI to advanced mode.

Zvika

Anonymous said...

Hi Zvika,
Thanks for the advice. I put Win 7 into advanced mode and saw that there are buttons next to the items in the drop down.
I can't stand the advanced mode so have put Windows back to how I had it and the buttons still work but i just can't see them - which is fine!
Suggested new features:
* Filename mask
* Include/exclude file extension lists
* Run as a service
Great application thanks very much!

Tim

Anonymous said...

Hi!

The program works perfect. But I get access violations on saving or opening ini files. I get that error on Win8 64 bit and Win7 32 bit

Zvika said...

Hi,

First thing I will try using version 2.3
The program was never tested on Windows 8.
Try running it as Admin.
Is it a local folder ?
I just checked it on Win7 32 with ini file, didn't get any error.
Can you describe the process which give you the error?

Z.

Anonymous said...

I just click on open or save and the access violation-dialog appears.

Anonymous said...

@Anonymous
Assuming you have put the application in a subfolder of "Program Files" and the likes, then the application files are likely to be read-only. You need to provide write access to users. To do that, right click the folder containing the application (not the whole "Program Files"!), choose Properties; then, in the dialog which opens, access the Security tab, then click on Change; in the second dialog which appears, click the Users group, then below, check the "Modify" (just below "Total control") checkbox to allow Users to modify the directory contents (and thus your .ini file). Click OK on all dialogs. Hope it helps. ;)

_ch4ng3d said...

Hello,awesome app, exactly what I was looking for to automate my unit tests. just one problem: somehow, when watching for file changes, it reacts only to change of files in top-level directory, not to any of the files in the subdirectories. Even when the "Watch Sub Folders" box is ticked. Any idea what might cause the problem? W764bit

Zvika said...

Hi, are you using version 2.3 ?
Watching sub folder was supported since the first version and was working fine.
I just tested it again and it works fine on sub folders.

try this fixed version:
http://www.mediafire.com/?erd5b9yrbokmybq

Z.

Anonymous said...

Hello,
I use this good piece of software. And need just one more feature - filter/mask/pattern files to be affected by w4f or not. Like for example 20*.pdf - w4f will detect only PDFs witch name begins with 20, or ????.jpg etc.

BR, Adam

Zvika said...

Hi Adam,

Maybe I will add it in the next version.
You can use version 2.3, in which you can use the changed shell object name (file or folder) as an argument, so you can execute a batch or script that will filter only the file names you need.

Z.

Anonymous said...

Hello,

Thx you for your great simple tools ! I've a question about argument "add changed object as argument" with "File Create - FileName", because i get full path and not only filename file. Is it normal ? is there a way to only get filename and not the full path ?

regards and thx again,

Antoine

Zvika said...

W4F must use full path of the changed object, so if someone needs to use the changed object, the OS will find it...

Z.

FlipFlop said...

Hi Zvika!
Great tool, probably the one I've been looking for quiet a while!

I'm missing a simple, but for me, very needed feature.
An additional trigger/event "folder closed". In other words, I'd like a run a script upon closing a certain folder.

P.S. I mentioned it here:
http://serverfault.com/users/168631/flipflop?tab=questions

Zvika said...

Hi,

Thank you for using my software.
First it is better to use version 2.3 you can download it here:
http://www.mediafire.com/?erd5b9yrbokmybq

As for your question, WF4 is using Microsft Shell Notification API that doesn't have a trigger to alert on folder close.

Thank you
Z.

Anonymous said...

hI THERE IS IT POSSIBLE WITJ THIS PROGRAM TO MAKE A SILENT PRINT OF A NEW ARRIVED PDF FILE? THX

Zvika said...

Hi,

Yes, you can do it using W4F version 2.3 (you can download it from this blog).
Version 2.3, let you use the new arrived file name as an argument to the executed program, batch or script.
From here it is up to you to write a batch or script that will execute the print command.

The next version of W4F is in work and will be released in a few weeks.

Regards,
Z.