Command line options

File Watcher can be run from a DOS shell or from a shortcut with parameters to make it run automatically. This is very useful for automation and scheduling (by making the short cut an entry in the Start Up folder), and for running File Watcher from a batch file. Here is a complete example:

filewatcher.exe [/minimized /hidden ]"/f=settings.fwx" [/g]

Note: 

  1. Any commands with embedded spaces must be surrounded with double quotes. You must surround the entire command/setting combination e.g. "/f=c:\Program Files\File Watcher\settings.fwx" NOT /f="c:\Program Files\File Watcher\settings.fwx"
  2. Windows limits the command line length to about 260 characters. You can overcome this limitation by using the /Z=<filename> command to load command line parameters stored in a file. Note that you MUST remove any double quotes from around commands with embedded spaces when you put them in the command file.

Conventions used below:

<> surrounds text that is to be entered. Do NOT enter the '<' and '>' characters

Alternatives are shown in square brackets '[' and ']' with a pipe '|' character between them. Do NOT enter the square brackets or the pipe character - just type the single alternative you require.

Usage:

"C:\Program files\File Watcher\filewatcher.exe" [/MINIMIZED /HIDDEN] ["/F=settings.fwx"] [/G]

Where [commands] is zero or more of:

/F=<.fwx filename>Opens a File Watcher settings file.
/GGo. Begin watching immediately. Very useful in conjunction with a Short Cut in the Window Start Up group.
/MINIMIZEDMinimizes the application window.
/HIDDENHides FileWatcher to just an icon in the task area.

Examples

1. Start File Watcher watching immediately, with the default settings, and reduce it to the task area:

filewatcher.exe /hidden /g

2. Start File Watcher watching immediately, with saved settings, and minimize it:

filewatcher.exe "/f=c:\my_settings.fwx" /minimize /g