Anlage des Repos
This commit is contained in:
BIN
current/MoveOrCopy-Files/Archiv/1.0.1.2/MoveOrCopy-Files.ps1
Normal file
BIN
current/MoveOrCopy-Files/Archiv/1.0.1.2/MoveOrCopy-Files.ps1
Normal file
Binary file not shown.
@@ -0,0 +1,37 @@
|
||||
' VB Script Document
|
||||
' option explicit
|
||||
|
||||
' MoveOrCopyFiles_Caller
|
||||
' Verschiebe Dateien nacheinander nach einem definierten Muster
|
||||
|
||||
' Digital Data
|
||||
' Ludwig-Rinn-Straße 16
|
||||
' 35452 Heuchelheim
|
||||
' Tel.: 0641 / 202360
|
||||
' E-Mail: info@didalog.de
|
||||
|
||||
' Version 1.0.0.0
|
||||
' Letzte Aktualisierung: 29.01.2016
|
||||
|
||||
'----------------------------------------------------------------------------------------
|
||||
' Move files named - Lang-Eingangsrechnung*.pdf
|
||||
'----------------------------------------------------------------------------------------
|
||||
|
||||
' Create object
|
||||
Set objShell = CreateObject("Wscript.shell")
|
||||
|
||||
objShell.run("powershell -file D:\ScriptFiles\MoveOrCopyFiles\BatchBarcodeSeperator_Ende\MoveOrCopyFiles.ps1")
|
||||
|
||||
' Deallocate WScript Shell object
|
||||
Set objShell = Nothing
|
||||
|
||||
' Connect to Windows Management Instrumentation (WMI) object using a moniker
|
||||
Set objWMIService = GetObject("winmgmts:\\.\root\cimv2")
|
||||
|
||||
' Execute a query to monitor process deletion
|
||||
Set colEvents = objWMIService.ExecNotificationQuery("Select * From __InstanceDeletionEvent " _
|
||||
& "Within 1 Where TargetInstance ISA 'Win32_Process' And TargetInstance.Name = 'powershell.exe'")
|
||||
|
||||
' Wait for process deletion event
|
||||
Set objEvent = colEvents.NextEvent
|
||||
'----------------------------------------------------------------------------------------
|
||||
@@ -0,0 +1,30 @@
|
||||
Version 1.0.1.2 - 07.02.2016
|
||||
NEW: - Aufrufparameter nun verfügbar.
|
||||
FIX: -
|
||||
CHG: -
|
||||
REM: -
|
||||
|
||||
-----------------------------------------------------------
|
||||
|
||||
Version 1.0.1.0 - 30.09.2015
|
||||
- Erste funktionierende Version!
|
||||
NEW: - Funktion "Func-File-check-state" nun eingebaut.
|
||||
FIX: -
|
||||
CHG: - Umbennung von "Simply_copy_or_move_Files" zu "MoveOrCopyFiles".
|
||||
REM: -
|
||||
|
||||
-----------------------------------------------------------
|
||||
|
||||
Version 1.0.0.0 - 08.12.2014
|
||||
- Erste funktionierende Version!
|
||||
NEW: -
|
||||
FIX: -
|
||||
CHG: -
|
||||
REM: -
|
||||
|
||||
--------------------------Legende--------------------------
|
||||
NEW: = Hinzufügen einer neuen Funktion
|
||||
FIX: = Korrektur einer vorhandenen Funktion
|
||||
CHG: = Änderung oder Erweiterung einer vorhandenen Funktion
|
||||
REM: = Entfernen einer Funktion
|
||||
-----------------------------------------------------------
|
||||
@@ -0,0 +1,77 @@
|
||||
####################################################################################################
|
||||
# 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: <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, ; 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
|
||||
Reference in New Issue
Block a user