QuickFill provides the ability to use a "/RUN" command line option to automatically start QuickFill, open a specific database, and run a job list. For example, you could use the command line:
q:\qfw\qfw demo /run
from a command prompt, batch file, or the 'Run' menu item on the Windows 'Start menu' to go to go to the Q-DRIVE, start QuickFill, open the database named DEMO, and begin running "Tonight's Jobs."
When you use the /RUN option as shown above QuickFill will run the job list named "Tonight's Jobs". You can run other job lists by specifying their name after the /RUN option, as in this example, which will run the job list named "MonthEnd"
q:\qfw\qfw demo /run MonthEnd
If the job list name contains spaces then you must enclose the name in double quotes, as in this example:
q:\qfw\qfw demo /run "Month End Jobs"
Be sure to specify the name of the job list exactly as it is shown in QuickFill. Upper and lower case do not matter but spaces and spelling do.
Using the /RUN command line option automatically places QuickFill into single user mode. After the job list has finished running, QuickFill and the database are left open so that other users stay locked out until you have had a chance to examine the output of the updates and reports and have made sure that everything is okay.
When the "/RUN" command line option is used on a database for which you have defined user names and permissions, QuickFill creates a fake sign-on in order to open the database and run tonight's jobs. This sign-on is only granted permission to run job lists and print reports. The special sign-on is removed when the job list has finished running and you have closed QuickFill.
When running QuickFill from a batch file, be aware that Windows will continue to execute commands in the batch file after QuickFill has started. Windows will not wait for the job list to finish before continuing on with any remaining commands that appear after the QuickFill command. This means that you cannot run two job lists in succession from a batch file. If you tried to do that, Windows would attempt to start a second instance of QuickFill to run the second job list before the first job list had finished. This would fail since the first instance of QuickFill was in single user mode.