Command-Line Options
The following command line options are available:
Command Line Option |
Description |
? or /? |
Shows help screen |
C or /C |
Shows configuration screen for specified folder |
F or /F |
Finds all configuration files under specified folder |
H or /H |
Hide console interface while running |
P or /P |
Pause command screen after processing. ** Do not use this for automated imports! |
Q or /Q |
Do not write log information to screen |
R or /R |
Run import for specified folder. This is assumed if no other commands are present. ** Requires configuration to be set. |
S or /S |
Clear the synchronization flags for specified folder. ** Be careful as this will lose all sync flags. Typically this is only used during the testing phase. |
X or /X |
Adds a "Skip Folder" flag file to the specified folder so it will not be imported. ** This should be done from within the interface whenever possible. |
Folder Path |
This is the folder on which to apply the other specified flags |
File Name |
This is the file name of the config file to use |
Typical command lines:
"C:\Folder\To\Import"
This causes the importer to run the import for the C:\Folder\To\Import folder and exit
"C:\Folder\To\Import" /R /P
This causes the importer to run the import for the C:\Folder\To\Import folder and pause when done
"C:\Folder\To\Import" /C
This causes the importer to load the configuration screen for the C:\Folder\To\Import folder
* IMPORTANT NOTE! If you run DocMgt Importer Service in a Scheduled Task and have it running as a user that is NOT logged in and you have your import folder on a network drive you MUST use the full UNC path to the folder and not the mapped drive letter. Mapped drives are not available in the background so the import will fail and most likely will hang the importer process.
** BE CAREFUL! Do not try to run DocMgt Importer Service automatically or as a scheduled task until it has been fully licensed. The licensing dialog will attempt to show and will lock the process.