8
0
Skriptentwickung/current/MoveOrCopy-Files/Archiv/1.1.1.0/MoveOrCopy-Files_Settings.ini
2024-01-24 16:42:38 +01:00

92 lines
7.9 KiB
INI

####################################################################################################
# Digital Data Configuration File (Template Date: 29.07.2016) #
# 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\<ScriptName> #
# FailSafe Setting is: <ScriptPath> #
####################################################################################################
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>, ; <SourcePath> ; <DestinationPath> #
# Example: #
# MOCF_Profile = move ; *.pdf ; E:\SourcePath ; E:\DestinationPath #
#--------------------------------------------------------------------------------------------------#
# Special Parameter: 3 - <SourcePath> #
# -> 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! #
# MOCF_Profile = move ; *.* ; %ProcessOnlyLastProfileFiles ; E:\DestinationPath #
#--------------------------------------------------------------------------------------------------#
# Optional Parameter: %FileDelayAge<Minutes> #
# 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 ; %FileDelayAge15 #
#--------------------------------------------------------------------------------------------------#
# Optional Parameter: %RegExGroup<GroupNumber> #
# Regular Expression with selects the definied GroupNumber. Group 1 to 9 are available. #
# Only defined RegEx Groups will be found, by this setting. Define Groups by using () in RegEx. #
# If RegEx setting is matching file(s), the DestinationPath will be added with the \<RegExResult> #
# Example: #
# MOCF_Profile = move ; *.pdf ; E:\SourcePath ; E:\DestinationPath ; #
# %RegExGroup1(?:%SCAN%&(DD-[a-zA-Z-]{1,})) #
#--------------------------------------------------------------------------------------------------#
# Optional Parameter: %Replace<OldValue>,<NewValue> #
# String which you can set to be replaced with an other String, or a blank Value. #
# Replace setting will affect even results from the RegEx setting. #
# Example: #
# MOCF_Profile = move ; *.pdf ; E:\SourcePath ; E:\DestinationPath ; %Replace%SCAN%&, #
#--------------------------------------------------------------------------------------------------#
# 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 = copy; *.pdf ; E:\Testordner\input ; E:\Testordner\output
# MOCF_Profile = copy; *.pdf ; %ProcessOnlyLastProfileFiles ; E:\Testordner\output ; %FileDelayAge5
# MOCF_Profile = copy; *.pdf ; E:\Testordner\input ; E:\Testordner\output ; %FileDelayAge15 ; %RegExGroup1(?:%SCAN%&(DD-[a-zA-Z-]{1,})) ; %Replace%SCAN%&,