File mover is useful little utility that will move files from one folder to another. This is useful when a program (or remote server) dumps files into a folder & you want to move them somewhere else. An added bonus with this utility is that it’ll (optionally) run a program each time a file is moved; this could be useful for firing off email notification.
Downloads(for Windows 9x/200x/XP)
The application is dead small and ships with an example VBScript (also see Advanced Usage below).
- 29 Feb 2008 – Version 1.9 – Small fixes and enhancements (copy from log now works, app doesn’t freeze when executing a script in ‘Wait for executed process’ mode)
- 28 Jan 2008 – Version 1.8 – Added FIFO queueing and wait for executed process to finish before moving to the next file.
- 4 Dec 2007 – Version 1.7 – Bugfix release
- 13 Nov 2007 – Version 1.6 – Small enhancements for error trapping
- 6 Feb 2007 – Version 1.5 – Minimise to system tray added
- Version 1.3 and 1.4 – Added support for multiple filters
- Version 1.0-1.2 – Single directory and UNC support
File Mover is free for home use. Businesses must buy a license after an initial trial period of 10 days. The cost of a license is $40 per installation, payable via PayPal (which accepts Credit Cards).
The Advanced Settings script can be used to specify multiple source/destination folders as well as wildcarding and custom script execution when a file is successfully moved.
Here’s an example situation; I’d like to move any files that appear in the completed folder into another folder called video. When a file is moved I’d also like some VBscript executed to perform some custom task. In another folder I’d also like any files called some*.log moved into a UNC network fileshare, but don’t want any VBscript executing each time. To achieve this I can use this script in Advanced Settings:
exec:wscript “c:\something\whatever.vbs” “%1”
Advanced Usage – Executing Files
One thing I use is a VB Script which activates an application and then calls a macro to perform keystrokes & mouse movements. For this I use a handy (and free) application called MacroMaker.
There’s an example VB Script included in the zip file, it shows how you’d activate the window of an particular application, followed by a macro written in MacroMaker.
‘ Supporting script for File Mover
‘ Useful for activating a window, then running a macro
‘ e.g. set execute to: wscript “C:\blah\file mover\extensionscript.vbs”
Set WshShell = CreateObject(“WScript.Shell”)
Set objFSO = CreateObject(“Scripting.FileSystemObject”)
Wscript.Sleep (5000) ‘ wait 5 seconds
WshShell.AppActivate “Mozilla Firefox”
ReturnCode = WshShell.Run(“””” & WshShell.CurrentDirectory & “\macromaker\MacroMaker.exe”” test2″, 6, False)
One thing you might need to know in your script is which file was moved. To find that you simply pass through %1 in the ‘Also Execute File’ textbox, e.g. wscript “C:\blah\file mover\extensionscript.vbs %1”
UNC paths are now supported via a helper script. VB wasn’t able to use UNC paths without a load of hassle, so a 1 line .cmd script does the job nicely.
Disclaimer: A user of this software acknowledges that he or she is receiving this software on an “as is” basis and the user is not relying on the accuracy or functionality of the software for any purpose. The user further acknowledges that any use of this software will be at the user’s own risk and the copyright owner – Matt Collinge – accepts no responsibility whatsoever arising from the use or application of the software.