The complete folder structure has been changed or updated
This commit is contained in:
@@ -0,0 +1,137 @@
|
||||
####################################################################################################
|
||||
# Digital Data Configuration File (Template Date: 30.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:\KammM\Logs
|
||||
|
||||
####################################################################################################
|
||||
# Numerical value how long (in days) log files will be kept. ValidateRange is 0 - 1000 #
|
||||
# Setting the Value to 0 disables this Function. #
|
||||
# FailSafe Setting is: 60 #
|
||||
####################################################################################################
|
||||
LogFileKeepTime = 3
|
||||
|
||||
####################################################################################################
|
||||
# Special characters which is used to separate file versions. #
|
||||
# Example: File_4711_1606~2.pdf #
|
||||
# FailSafe Setting is: ~ #
|
||||
####################################################################################################
|
||||
VersionSeperator = ~
|
||||
|
||||
####################################################################################################
|
||||
# Numerical value how long (in Minutes) a File has to be there, before processing it. #
|
||||
# FailSafe Setting is: 5 #
|
||||
####################################################################################################
|
||||
FileDelayAge = 1
|
||||
|
||||
#==================================================================================================#
|
||||
######################################## Database settings ########################################
|
||||
#==================================================================================================#
|
||||
|
||||
####################################################################################################
|
||||
# Name or IP-Adress of the Database Server. #
|
||||
# Example: 192.168.0.1 #
|
||||
# Example: 192.168.0.1\<SQLInstance> #
|
||||
####################################################################################################
|
||||
DBSQLConnectServer = 172.24.12.41\tests
|
||||
|
||||
####################################################################################################
|
||||
# UserName for the SQL Connection. #
|
||||
# This Setting is not neccessary if DBSQLConnectIntegratedSecurity is set to "true". #
|
||||
# Example: sa #
|
||||
####################################################################################################
|
||||
DBSQLConnectUserName = sa
|
||||
|
||||
####################################################################################################
|
||||
# Password for the specified UserName you set before. #
|
||||
# This Setting is not neccessary if DBSQLConnectIntegratedSecurity is set to "true". #
|
||||
####################################################################################################
|
||||
DBSQLConnectUserPassword = dd
|
||||
|
||||
####################################################################################################
|
||||
# Set the Database Name which exists on the Database Server. #
|
||||
# Example: windream60 #
|
||||
####################################################################################################
|
||||
DBSQLConnectDatabase = windream60
|
||||
|
||||
####################################################################################################
|
||||
# Set this to "True" if the Windows Login credentials should be used of Database Login. #
|
||||
# In this case DBSQLConnectUserName and DBSQLConnectUserPassword setting will be ignored! #
|
||||
# Example: True #
|
||||
# Example: False #
|
||||
####################################################################################################
|
||||
DBSQLConnectIntegratedSecurity = false
|
||||
|
||||
#==================================================================================================#
|
||||
#################################### Directory and rule settings ###################################
|
||||
#==================================================================================================#
|
||||
|
||||
####################################################################################################
|
||||
# Give the Path and FullName of the Allocation File, #
|
||||
# which includes the relations between the Database returns and the new file Names. #
|
||||
# Example: AllocationFile = E:\mime.cfg #
|
||||
####################################################################################################
|
||||
AllocationFile = \\dd-sto01\DD-STO01-A2\UserObjects\UserFiles\KammM\Desktop\mime.cfg
|
||||
|
||||
#==================================================================================================#
|
||||
########################################## Profile Setup ###########################################
|
||||
#==================================================================================================#
|
||||
|
||||
####################################################################################################
|
||||
# Define Profiles in this config file for the executing Script. #
|
||||
# Syntax: #
|
||||
# Profile = <SourcePath> ; <FileType> ; <ReclusiveSwitch> ; <FileConstructor> ; <SQLQuery> #
|
||||
# Example: #
|
||||
# Profile = E:\dir;*.*;Extension;true;select szLongName from Table where dwdocid LIKE %filename% #
|
||||
#--------------------------------------------------------------------------------------------------#
|
||||
# First Parameter: <SourcePath> #
|
||||
# Give the Path to the files you want to process. #
|
||||
# Example: E:\dir #
|
||||
#--------------------------------------------------------------------------------------------------#
|
||||
# Second Paramenter: <FileType> #
|
||||
# Set the File extensions you want to search for, in the specified SourcePath. #
|
||||
# Example: *.* --This means every File Extension. #
|
||||
#--------------------------------------------------------------------------------------------------#
|
||||
# Third Paramenter: <ReclusiveSwitch> #
|
||||
# Determ if the SourcePath should be searched only in the main dir or even in every subfolder. #
|
||||
# Example: True --Search in every Subfolder under the specified Sourcefolder. #
|
||||
# Example: False --Search only in the specified Sourcefolder. #
|
||||
#--------------------------------------------------------------------------------------------------#
|
||||
# Fourth Paramenter: <FileConstructor> #
|
||||
# The FileConstructor Parameter let you determ, how the new File name will be generated. #
|
||||
# Example: prefix --FileName will be in prefix modified. File Extension will be kept. #
|
||||
# Example: complete --The complete Filename including the File Extension will be renamend. #
|
||||
# Example: suffix --FileName will be in suffix modified. File Extension will be kept. #
|
||||
# Example: Extension --Only the File Extension will be renamed. #
|
||||
#--------------------------------------------------------------------------------------------------#
|
||||
# Fifth Paramenter: <SQLQuery> #
|
||||
# Set the SQL Query which returns the correct File Name or the reference for the AllocationFile. #
|
||||
# In the SQL Statement, you can use these variables: #
|
||||
# %filename% = Current file Name incl. Extension, excl. Path. #
|
||||
# %username% = Current Username from Windows Session. #
|
||||
# %SourcePath% = Current Path in which File is stored. #
|
||||
# Example: select szLongName from Table where dwdocid LIKE %filename% #
|
||||
#--------------------------------------------------------------------------------------------------#
|
||||
# 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: #
|
||||
# This Function currently not implement! #
|
||||
####################################################################################################
|
||||
Profile = E:\KammM\test ; *.* ; true ; Extension ; select szLongName from baseattributes where dwdocid LIKE %filename%
|
||||
#Profile = E:\KammM\test ; *.* ; true ; Extension ; select szLongName from baseattributes where dwdocid LIKE %filename%
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user