#################################################################################################### # Digital Data Configuration File # # UTF-8 Coding required! # # incl. FailSafe functions that are active when information is missing. # #################################################################################################### #==================================================================================================# ########################################## General Setup ########################################### #==================================================================================================# #################################################################################################### # Path in which the log files will be stored. # # Example: E:\LogFiles\MoveOrCopyFiles # # FailSafe Setting is: # #################################################################################################### LogPath = E:\LogFiles\MoveOrCopyFiles\BatchBarcodeSeperator_Ende #################################################################################################### # Numerical value how long (in days) log files will be kept. # # Value of 0 disables the delete function completely. # # FailSafe Setting is: 60 # #################################################################################################### LogFileKeepTime = 90 #################################################################################################### # Special characters which is used to separate file versions. # # Example: File_4711_1606~2.pdf # #################################################################################################### VersionSeperator = ~ #################################################################################################### # Numerical value how old (in minutes) must be a File to be processed. # # Example: 1 # # FailSafe Setting is: 5 # #################################################################################################### FileDelayAge = 0 #################################################################################################### # Numeric Value for attempts to process locked files. # # Example: 10000000 # # FailSafe Setting is: 1000 # #################################################################################################### FileCheckCounterLimit = 10000000 #==================================================================================================# ########################################## Profile Setup ########################################### #==================================================================================================# #################################################################################################### # Define up to 99 MoveOrCopy Profiles in this config file for the executing Script. # # Syntax: # # MOCF_Profile = move|copy ; *.FileType, ; E:\SourcePath ; E:\DestinationPath # # Example: # # MOCF_Profile = move ; *.pdf ; E:\SourcePath ; E:\DestinationPath # #--------------------------------------------------------------------------------------------------# # Special Parameter 3: # # -> Instead of the SourcePath you can write "%ProcessOnlyLastProfileFiles". # # If you do so, the files from the last Profile run will be processed by the current Profile. # # Because of this the set up FileType will be ignored! # #--------------------------------------------------------------------------------------------------# # Optional Parameter 1: # # Numerical value how old (in minutes) must be a File to be processed. # # If you not using this Parameter, Script will use FileDelayAge Setting from the general setting. # # Example: # # MOCF_Profile = move ; *.pdf ; E:\SourcePath ; E:\DestinationPath ; 15 # #--------------------------------------------------------------------------------------------------# # Argument call: # # If you need to run the Script with dynamic Values, you can do so, by calling it with arguments. # # Even the Special and Optional Parameters are available in this case. # # Example: # # powershell.exe -command "E:\MoveOrCopy.ps1 -argOperation copy -argFileTypes *.pdf # # -argSourcePath E:\SourcePath -argDestinationPath E:\DestinationPath -argFileDelayAge 15" # #################################################################################################### MOCF_Profile = move ; Lang-Eingangsrechnung*.pdf ; E:\DocumentProcessing\Output\File\BatchBarcodeSeperator ; E:\ECMLite\LANG - Geschäftsprozesse\DocumentProcessing\File\Eingangsrechnung MOCF_Profile = move ; Lang-Korrespondenz*.pdf ; E:\DocumentProcessing\Output\File\BatchBarcodeSeperator; E:\ECMLite\LANG - Geschäftsprozesse\DocumentProcessing\File\Korrespondenz MOCF_Profile = move ; *.pdf ; E:\DocumentProcessing\Output\File\BatchBarcodeSeperator ; E:\ECMLite\LANG - Geschäftsprozesse\DocumentProcessing\File\Lost+Found