MoveOrCopy erweitert, kann jetzt Netzlaufwerke verbinden
This commit is contained in:
parent
8623891170
commit
360793bf18
Binary file not shown.
Binary file not shown.
@ -1,37 +0,0 @@
|
|||||||
' 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
|
|
||||||
'----------------------------------------------------------------------------------------
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
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
|
|
||||||
-----------------------------------------------------------
|
|
||||||
@ -1,77 +0,0 @@
|
|||||||
####################################################################################################
|
|
||||||
# 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
|
|
||||||
Binary file not shown.
@ -1,45 +0,0 @@
|
|||||||
@ECHO OFF
|
|
||||||
TITLE DIGITAL DATA - Run all files in directory with current permissions
|
|
||||||
ECHO -
|
|
||||||
ECHO Batch Script
|
|
||||||
ECHO Run all files in directory with current permissions
|
|
||||||
ECHO -
|
|
||||||
ECHO Digital Data
|
|
||||||
ECHO Ludwig-Rinn-Strasse 16
|
|
||||||
ECHO 35452 Heuchelheim
|
|
||||||
ECHO Tel.: 0641 / 202360
|
|
||||||
ECHO E-Mail: info@didalog.de
|
|
||||||
ECHO -
|
|
||||||
ECHO Version 1.0.0.0
|
|
||||||
ECHO Date: 13.08.2015
|
|
||||||
ECHO -
|
|
||||||
ECHO Program Startup %date% at %time:~0,8% oclock, on %computername%.
|
|
||||||
|
|
||||||
REM --------------------------------------------------------------
|
|
||||||
REM ------------------------set variables-------------------------
|
|
||||||
REM --------------------------------------------------------------
|
|
||||||
|
|
||||||
setlocal enableextensions
|
|
||||||
|
|
||||||
SET DIRECTORY="%cd%"
|
|
||||||
SET FILEEXTENSION=*.ps1
|
|
||||||
SET COUNT=0
|
|
||||||
|
|
||||||
REM --------------------------------------------------------------
|
|
||||||
REM ---------------------Program 1 / Script 1---------------------
|
|
||||||
REM --------------------------------------------------------------
|
|
||||||
|
|
||||||
FOR /F "tokens=*" %%f in ('dir /S /b %FILEEXTENSION%') do (ECHO %%f && set /a count+=1)
|
|
||||||
ECHO -
|
|
||||||
ECHO Found %count% File(s) with File Extension %FILEEXTENSION% in Directory:
|
|
||||||
ECHO %DIRECTORY%.
|
|
||||||
|
|
||||||
ECHO -
|
|
||||||
ECHO Running this/them now, with your permissions!
|
|
||||||
FOR /F "tokens=*" %%f in ('dir /S /b %FILEEXTENSION%') do (PowerShell.exe -Command "& {Start-Process PowerShell.exe -WindowStyle hidden '-ExecutionPolicy Bypass -File "%%f"'}")
|
|
||||||
|
|
||||||
ECHO -
|
|
||||||
ECHO This Window will close in:
|
|
||||||
#timeout /T 10
|
|
||||||
endlocal
|
|
||||||
exit
|
|
||||||
@ -1,37 +0,0 @@
|
|||||||
' VB Script Document
|
|
||||||
' option explicit
|
|
||||||
|
|
||||||
' MoveOrCopy-Files_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.1
|
|
||||||
' Letzte Aktualisierung: 05.08.2016
|
|
||||||
|
|
||||||
'------------------------------------------------------------------------------------------------------------------
|
|
||||||
' Run a command. Copy that script block and paste it after this one, for step by step processing.
|
|
||||||
'------------------------------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
' Create object
|
|
||||||
Set objShell = CreateObject("Wscript.shell")
|
|
||||||
|
|
||||||
objShell.run("powershell -file D:\ScriptFiles\MoveOrCopy-Files\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
|
|
||||||
'------------------------------------------------------------------------------------------------------------------
|
|
||||||
@ -1,55 +0,0 @@
|
|||||||
Version 1.1.1.0 - 24.02.2017
|
|
||||||
NEW: -
|
|
||||||
FIX: - Fehler in Schleifenzähler korrigiert.
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.1.0.1 - 01.08.2016
|
|
||||||
NEW: -
|
|
||||||
FIX: - Variablen Bereinigung vervollständigt.
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.1.0.0 - 29.07.2016
|
|
||||||
NEW: - Neue optionale Parameter verfügbar: %RegExGroup and %Replace.
|
|
||||||
FIX: -
|
|
||||||
CHG: - Optionale Parameter folgen nun keiner spezifischen Reihenfolge mehr.
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
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
|
|
||||||
-----------------------------------------------------------
|
|
||||||
@ -1,92 +0,0 @@
|
|||||||
####################################################################################################
|
|
||||||
# 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%&,
|
|
||||||
Binary file not shown.
@ -1,45 +0,0 @@
|
|||||||
@ECHO OFF
|
|
||||||
TITLE DIGITAL DATA - Run all files in directory with current permissions
|
|
||||||
ECHO -
|
|
||||||
ECHO Batch Script
|
|
||||||
ECHO Run all files in directory with current permissions
|
|
||||||
ECHO -
|
|
||||||
ECHO Digital Data
|
|
||||||
ECHO Ludwig-Rinn-Strasse 16
|
|
||||||
ECHO 35452 Heuchelheim
|
|
||||||
ECHO Tel.: 0641 / 202360
|
|
||||||
ECHO E-Mail: info@didalog.de
|
|
||||||
ECHO -
|
|
||||||
ECHO Version 1.0.0.0
|
|
||||||
ECHO Date: 13.08.2015
|
|
||||||
ECHO -
|
|
||||||
ECHO Program Startup %date% at %time:~0,8% oclock, on %computername%.
|
|
||||||
|
|
||||||
REM --------------------------------------------------------------
|
|
||||||
REM ------------------------set variables-------------------------
|
|
||||||
REM --------------------------------------------------------------
|
|
||||||
|
|
||||||
setlocal enableextensions
|
|
||||||
|
|
||||||
SET DIRECTORY="%cd%"
|
|
||||||
SET FILEEXTENSION=*.ps1
|
|
||||||
SET COUNT=0
|
|
||||||
|
|
||||||
REM --------------------------------------------------------------
|
|
||||||
REM ---------------------Program 1 / Script 1---------------------
|
|
||||||
REM --------------------------------------------------------------
|
|
||||||
|
|
||||||
FOR /F "tokens=*" %%f in ('dir /S /b %FILEEXTENSION%') do (ECHO %%f && set /a count+=1)
|
|
||||||
ECHO -
|
|
||||||
ECHO Found %count% File(s) with File Extension %FILEEXTENSION% in Directory:
|
|
||||||
ECHO %DIRECTORY%.
|
|
||||||
|
|
||||||
ECHO -
|
|
||||||
ECHO Running this/them now, with your permissions!
|
|
||||||
FOR /F "tokens=*" %%f in ('dir /S /b %FILEEXTENSION%') do (PowerShell.exe -Command "& {Start-Process PowerShell.exe -WindowStyle hidden '-ExecutionPolicy Bypass -File "%%f"'}")
|
|
||||||
|
|
||||||
ECHO -
|
|
||||||
ECHO This Window will close in:
|
|
||||||
#timeout /T 10
|
|
||||||
endlocal
|
|
||||||
exit
|
|
||||||
@ -1,37 +0,0 @@
|
|||||||
' VB Script Document
|
|
||||||
' option explicit
|
|
||||||
|
|
||||||
' MoveOrCopy-Files_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.1
|
|
||||||
' Letzte Aktualisierung: 05.08.2016
|
|
||||||
|
|
||||||
'------------------------------------------------------------------------------------------------------------------
|
|
||||||
' Run a command. Copy that script block and paste it after this one, for step by step processing.
|
|
||||||
'------------------------------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
' Create object
|
|
||||||
Set objShell = CreateObject("Wscript.shell")
|
|
||||||
|
|
||||||
objShell.run("powershell -file D:\ScriptFiles\MoveOrCopy-Files\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
|
|
||||||
'------------------------------------------------------------------------------------------------------------------
|
|
||||||
@ -1,77 +0,0 @@
|
|||||||
Version 1.1.4.0 - 15.03.2019
|
|
||||||
NEW: -
|
|
||||||
FIX: - Schleifen Fehler bei %ProcessOnlyLastProfileFiles behoben
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.1.3.0 - 13.03.2019
|
|
||||||
NEW: -
|
|
||||||
FIX: -
|
|
||||||
CHG: - Log Dateien entschlackt
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.1.2.0 - 28.02.2019
|
|
||||||
NEW: - %date% Variable hinzugefügt
|
|
||||||
FIX: -
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.1.1.0 - 24.02.2017
|
|
||||||
NEW: -
|
|
||||||
FIX: - Fehler in Schleifenzähler korrigiert.
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.1.0.1 - 01.08.2016
|
|
||||||
NEW: -
|
|
||||||
FIX: - Variablen Bereinigung vervollständigt.
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.1.0.0 - 29.07.2016
|
|
||||||
NEW: - Neue optionale Parameter verfügbar: %RegExGroup and %Replace.
|
|
||||||
FIX: -
|
|
||||||
CHG: - Optionale Parameter folgen nun keiner spezifischen Reihenfolge mehr.
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
Version 1.0.1.2 - 07.02.2016
|
|
||||||
NEW: - Aufrufparameter nun verfügbar.
|
|
||||||
FIX: -
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.0.1.0 - 30.09.2015
|
|
||||||
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
|
|
||||||
-----------------------------------------------------------
|
|
||||||
@ -1,92 +0,0 @@
|
|||||||
####################################################################################################
|
|
||||||
# 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 =
|
|
||||||
|
|
||||||
####################################################################################################
|
|
||||||
# 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 = 1000
|
|
||||||
|
|
||||||
#==================================================================================================#
|
|
||||||
########################################## 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%&,
|
|
||||||
Binary file not shown.
Binary file not shown.
@ -1,45 +0,0 @@
|
|||||||
@ECHO OFF
|
|
||||||
TITLE DIGITAL DATA - Run all files in directory with current permissions
|
|
||||||
ECHO -
|
|
||||||
ECHO Batch Script
|
|
||||||
ECHO Run all files in directory with current permissions
|
|
||||||
ECHO -
|
|
||||||
ECHO Digital Data
|
|
||||||
ECHO Ludwig-Rinn-Strasse 16
|
|
||||||
ECHO 35452 Heuchelheim
|
|
||||||
ECHO Tel.: 0641 / 202360
|
|
||||||
ECHO E-Mail: info@didalog.de
|
|
||||||
ECHO -
|
|
||||||
ECHO Version 1.0.0.0
|
|
||||||
ECHO Date: 13.08.2015
|
|
||||||
ECHO -
|
|
||||||
ECHO Program Startup %date% at %time:~0,8% oclock, on %computername%.
|
|
||||||
|
|
||||||
REM --------------------------------------------------------------
|
|
||||||
REM ------------------------set variables-------------------------
|
|
||||||
REM --------------------------------------------------------------
|
|
||||||
|
|
||||||
setlocal enableextensions
|
|
||||||
|
|
||||||
SET DIRECTORY="%cd%"
|
|
||||||
SET FILEEXTENSION=*.ps1
|
|
||||||
SET COUNT=0
|
|
||||||
|
|
||||||
REM --------------------------------------------------------------
|
|
||||||
REM ---------------------Program 1 / Script 1---------------------
|
|
||||||
REM --------------------------------------------------------------
|
|
||||||
|
|
||||||
FOR /F "tokens=*" %%f in ('dir /S /b %FILEEXTENSION%') do (ECHO %%f && set /a count+=1)
|
|
||||||
ECHO -
|
|
||||||
ECHO Found %count% File(s) with File Extension %FILEEXTENSION% in Directory:
|
|
||||||
ECHO %DIRECTORY%.
|
|
||||||
|
|
||||||
ECHO -
|
|
||||||
ECHO Running this/them now, with your permissions!
|
|
||||||
FOR /F "tokens=*" %%f in ('dir /S /b %FILEEXTENSION%') do (PowerShell.exe -Command "& {Start-Process PowerShell.exe -WindowStyle hidden '-ExecutionPolicy Bypass -File "%%f"'}")
|
|
||||||
|
|
||||||
ECHO -
|
|
||||||
ECHO This Window will close in:
|
|
||||||
#timeout /T 10
|
|
||||||
endlocal
|
|
||||||
exit
|
|
||||||
@ -1,37 +0,0 @@
|
|||||||
' VB Script Document
|
|
||||||
' option explicit
|
|
||||||
|
|
||||||
' MoveOrCopy-Files_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.1
|
|
||||||
' Letzte Aktualisierung: 05.08.2016
|
|
||||||
|
|
||||||
'------------------------------------------------------------------------------------------------------------------
|
|
||||||
' Run a command. Copy that script block and paste it after this one, for step by step processing.
|
|
||||||
'------------------------------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
' Create object
|
|
||||||
Set objShell = CreateObject("Wscript.shell")
|
|
||||||
|
|
||||||
objShell.run("powershell -file D:\ScriptFiles\MoveOrCopy-Files\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
|
|
||||||
'------------------------------------------------------------------------------------------------------------------
|
|
||||||
@ -1,77 +0,0 @@
|
|||||||
Version 1.1.4.0 - 15.03.2019
|
|
||||||
NEW: -
|
|
||||||
FIX: - Schleifen Fehler bei %ProcessOnlyLastProfileFiles behoben
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.1.3.0 - 13.03.2019
|
|
||||||
NEW: -
|
|
||||||
FIX: -
|
|
||||||
CHG: - Log Dateien entschlackt
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.1.2.0 - 28.02.2019
|
|
||||||
NEW: - %date% Variable hinzugefügt
|
|
||||||
FIX: -
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.1.1.0 - 24.02.2017
|
|
||||||
NEW: -
|
|
||||||
FIX: - Fehler in Schleifenzähler korrigiert.
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.1.0.1 - 01.08.2016
|
|
||||||
NEW: -
|
|
||||||
FIX: - Variablen Bereinigung vervollständigt.
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.1.0.0 - 29.07.2016
|
|
||||||
NEW: - Neue optionale Parameter verfügbar: %RegExGroup and %Replace.
|
|
||||||
FIX: -
|
|
||||||
CHG: - Optionale Parameter folgen nun keiner spezifischen Reihenfolge mehr.
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
Version 1.0.1.2 - 07.02.2016
|
|
||||||
NEW: - Aufrufparameter nun verfügbar.
|
|
||||||
FIX: -
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.0.1.0 - 30.09.2015
|
|
||||||
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
|
|
||||||
-----------------------------------------------------------
|
|
||||||
@ -1,92 +0,0 @@
|
|||||||
####################################################################################################
|
|
||||||
# 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 =
|
|
||||||
|
|
||||||
####################################################################################################
|
|
||||||
# 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 = 1000
|
|
||||||
|
|
||||||
#==================================================================================================#
|
|
||||||
########################################## 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%&,
|
|
||||||
Binary file not shown.
Binary file not shown.
@ -1,45 +0,0 @@
|
|||||||
@ECHO OFF
|
|
||||||
TITLE DIGITAL DATA - Run all files in directory with current permissions
|
|
||||||
ECHO -
|
|
||||||
ECHO Batch Script
|
|
||||||
ECHO Run all files in directory with current permissions
|
|
||||||
ECHO -
|
|
||||||
ECHO Digital Data
|
|
||||||
ECHO Ludwig-Rinn-Strasse 16
|
|
||||||
ECHO 35452 Heuchelheim
|
|
||||||
ECHO Tel.: 0641 / 202360
|
|
||||||
ECHO E-Mail: info@didalog.de
|
|
||||||
ECHO -
|
|
||||||
ECHO Version 1.0.0.0
|
|
||||||
ECHO Date: 13.08.2015
|
|
||||||
ECHO -
|
|
||||||
ECHO Program Startup %date% at %time:~0,8% oclock, on %computername%.
|
|
||||||
|
|
||||||
REM --------------------------------------------------------------
|
|
||||||
REM ------------------------set variables-------------------------
|
|
||||||
REM --------------------------------------------------------------
|
|
||||||
|
|
||||||
setlocal enableextensions
|
|
||||||
|
|
||||||
SET DIRECTORY="%cd%"
|
|
||||||
SET FILEEXTENSION=*.ps1
|
|
||||||
SET COUNT=0
|
|
||||||
|
|
||||||
REM --------------------------------------------------------------
|
|
||||||
REM ---------------------Program 1 / Script 1---------------------
|
|
||||||
REM --------------------------------------------------------------
|
|
||||||
|
|
||||||
FOR /F "tokens=*" %%f in ('dir /S /b %FILEEXTENSION%') do (ECHO %%f && set /a count+=1)
|
|
||||||
ECHO -
|
|
||||||
ECHO Found %count% File(s) with File Extension %FILEEXTENSION% in Directory:
|
|
||||||
ECHO %DIRECTORY%.
|
|
||||||
|
|
||||||
ECHO -
|
|
||||||
ECHO Running this/them now, with your permissions!
|
|
||||||
FOR /F "tokens=*" %%f in ('dir /S /b %FILEEXTENSION%') do (PowerShell.exe -Command "& {Start-Process PowerShell.exe -WindowStyle hidden '-ExecutionPolicy Bypass -File "%%f"'}")
|
|
||||||
|
|
||||||
ECHO -
|
|
||||||
ECHO This Window will close in:
|
|
||||||
#timeout /T 10
|
|
||||||
endlocal
|
|
||||||
exit
|
|
||||||
@ -1,37 +0,0 @@
|
|||||||
' VB Script Document
|
|
||||||
' option explicit
|
|
||||||
|
|
||||||
' MoveOrCopy-Files_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.1
|
|
||||||
' Letzte Aktualisierung: 05.08.2016
|
|
||||||
|
|
||||||
'------------------------------------------------------------------------------------------------------------------
|
|
||||||
' Run a command. Copy that script block and paste it after this one, for step by step processing.
|
|
||||||
'------------------------------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
' Create object
|
|
||||||
Set objShell = CreateObject("Wscript.shell")
|
|
||||||
|
|
||||||
objShell.run("powershell -file D:\ScriptFiles\MoveOrCopy-Files\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
|
|
||||||
'------------------------------------------------------------------------------------------------------------------
|
|
||||||
@ -1,94 +0,0 @@
|
|||||||
Version 1.3.0.0 - 22.04.2021
|
|
||||||
NEW: - Neuer Parameter für Profile, es muss nun bestimmt werden, ob auch Unterverzeichnisse durchsucht werden (ReclusiveSwitch).
|
|
||||||
- Neuer Parameter für Profile, es muss nun bestimmt werden, wie eine Datei vor der Verarbeitung geprüft wird (filechecktyp).
|
|
||||||
FIX: -
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.2.0.0 - 20.04.2021
|
|
||||||
NEW: - Diverse Datumsplatzhalter für den Zielpfad eingefügt (z.b.: %CreationTimeYear%, ...)
|
|
||||||
FIX: -
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.1.4.0 - 15.03.2019
|
|
||||||
NEW: -
|
|
||||||
FIX: - Schleifen Fehler bei %ProcessOnlyLastProfileFiles behoben
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.1.3.0 - 13.03.2019
|
|
||||||
NEW: -
|
|
||||||
FIX: -
|
|
||||||
CHG: - Log Dateien entschlackt
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.1.2.0 - 28.02.2019
|
|
||||||
NEW: - %date% Variable hinzugefügt
|
|
||||||
FIX: -
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.1.1.0 - 24.02.2017
|
|
||||||
NEW: -
|
|
||||||
FIX: - Fehler in Schleifenzähler korrigiert.
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.1.0.1 - 01.08.2016
|
|
||||||
NEW: -
|
|
||||||
FIX: - Variablen Bereinigung vervollständigt.
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.1.0.0 - 29.07.2016
|
|
||||||
NEW: - Neue optionale Parameter verfügbar: %RegExGroup and %Replace.
|
|
||||||
FIX: -
|
|
||||||
CHG: - Optionale Parameter folgen nun keiner spezifischen Reihenfolge mehr.
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
Version 1.0.1.2 - 07.02.2016
|
|
||||||
NEW: - Aufrufparameter nun verfügbar.
|
|
||||||
FIX: -
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.0.1.0 - 30.09.2015
|
|
||||||
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
|
|
||||||
-----------------------------------------------------------
|
|
||||||
@ -1,113 +0,0 @@
|
|||||||
####################################################################################################
|
|
||||||
# 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 =
|
|
||||||
|
|
||||||
####################################################################################################
|
|
||||||
# Numerical value how long (in days) log files will be kept. #
|
|
||||||
# Value of 0 disables the delete function completely. #
|
|
||||||
# FailSafe Setting is: 60 #
|
|
||||||
####################################################################################################
|
|
||||||
LogFileKeepTime = 30
|
|
||||||
|
|
||||||
####################################################################################################
|
|
||||||
# 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 = 1000
|
|
||||||
|
|
||||||
#==================================================================================================#
|
|
||||||
########################################## Profile Setup ###########################################
|
|
||||||
#==================================================================================================#
|
|
||||||
|
|
||||||
####################################################################################################
|
|
||||||
# Define up to 99 MoveOrCopy Profiles in this config file for the executing Script. #
|
|
||||||
# Syntax: #
|
|
||||||
# MOCF_Profile = move|copy ; *.<FileType>, ; <SourcePath> ; true|false ; writetest|readtest ; #
|
|
||||||
# <DestinationPath> #
|
|
||||||
# Example: #
|
|
||||||
# MOCF_Profile = move ; *.* ; E:\SourcePath ; true ; writetest ; 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 #
|
|
||||||
# #
|
|
||||||
# Fourth Parameter: <ReclusiveSwitch> #
|
|
||||||
# Determine 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. #
|
|
||||||
# #
|
|
||||||
# Fifth Parameter: <filechecktyp> #
|
|
||||||
# Determine if the SourceFile should be check only for readstate or read- and writestate. #
|
|
||||||
# Remember, writetest could fail with some filetypes like pdfA or encrypted zip files. #
|
|
||||||
# Example: writetest --Test File before processing if it is read and writeable. #
|
|
||||||
# Example: readtest --Test File before processing if it is readable. #
|
|
||||||
# #
|
|
||||||
# NOTE: #
|
|
||||||
# It is possible, to work with multiple Placeholders in the Sourcepath: #
|
|
||||||
# Runtime Variable = %Date% #
|
|
||||||
# File specific variables = %CreationTimeYear%, %CreationTimeMonth%, %CreationTimeDay%, #
|
|
||||||
# %LastAccessTimeYear%, %LastAccessTimeMonth%, %LastAccessTimeDay%, #
|
|
||||||
# %LastWriteTimeYear%, %LastWriteTimeMonth%, %LastWriteTimeDay% #
|
|
||||||
#--------------------------------------------------------------------------------------------------#
|
|
||||||
# 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; *.* ; E:\Testordner\input ; true ; writetest ; E:\Testordner\output
|
|
||||||
|
|
||||||
#MOCF_Profile = copy; *.pdf ; E:\Testordner\input ; true ; writetest ; E:\Testordner\output
|
|
||||||
#MOCF_Profile = copy; *.pdf ; %ProcessOnlyLastProfileFiles ; true ; writetest ; E:\Testordner\output ; %FileDelayAge5
|
|
||||||
#MOCF_Profile = copy; *.pdf ; E:\Testordner\input ; true ; writetest ; E:\Testordner\output ; %FileDelayAge15 ; %RegExGroup1(?:%SCAN%&(DD-[a-zA-Z-]{1,})) ; %Replace%SCAN%&,
|
|
||||||
Binary file not shown.
Binary file not shown.
@ -1,45 +0,0 @@
|
|||||||
@ECHO OFF
|
|
||||||
TITLE DIGITAL DATA - Run all files in directory with current permissions
|
|
||||||
ECHO -
|
|
||||||
ECHO Batch Script
|
|
||||||
ECHO Run all files in directory with current permissions
|
|
||||||
ECHO -
|
|
||||||
ECHO Digital Data
|
|
||||||
ECHO Ludwig-Rinn-Strasse 16
|
|
||||||
ECHO 35452 Heuchelheim
|
|
||||||
ECHO Tel.: 0641 / 202360
|
|
||||||
ECHO E-Mail: info@didalog.de
|
|
||||||
ECHO -
|
|
||||||
ECHO Version 1.0.0.0
|
|
||||||
ECHO Date: 13.08.2015
|
|
||||||
ECHO -
|
|
||||||
ECHO Program Startup %date% at %time:~0,8% oclock, on %computername%.
|
|
||||||
|
|
||||||
REM --------------------------------------------------------------
|
|
||||||
REM ------------------------set variables-------------------------
|
|
||||||
REM --------------------------------------------------------------
|
|
||||||
|
|
||||||
setlocal enableextensions
|
|
||||||
|
|
||||||
SET DIRECTORY="%cd%"
|
|
||||||
SET FILEEXTENSION=*.ps1
|
|
||||||
SET COUNT=0
|
|
||||||
|
|
||||||
REM --------------------------------------------------------------
|
|
||||||
REM ---------------------Program 1 / Script 1---------------------
|
|
||||||
REM --------------------------------------------------------------
|
|
||||||
|
|
||||||
FOR /F "tokens=*" %%f in ('dir /S /b %FILEEXTENSION%') do (ECHO %%f && set /a count+=1)
|
|
||||||
ECHO -
|
|
||||||
ECHO Found %count% File(s) with File Extension %FILEEXTENSION% in Directory:
|
|
||||||
ECHO %DIRECTORY%.
|
|
||||||
|
|
||||||
ECHO -
|
|
||||||
ECHO Running this/them now, with your permissions!
|
|
||||||
FOR /F "tokens=*" %%f in ('dir /S /b %FILEEXTENSION%') do (PowerShell.exe -Command "& {Start-Process PowerShell.exe -WindowStyle hidden '-ExecutionPolicy Bypass -File "%%f"'}")
|
|
||||||
|
|
||||||
ECHO -
|
|
||||||
ECHO This Window will close in:
|
|
||||||
#timeout /T 10
|
|
||||||
endlocal
|
|
||||||
exit
|
|
||||||
@ -1,37 +0,0 @@
|
|||||||
' VB Script Document
|
|
||||||
' option explicit
|
|
||||||
|
|
||||||
' MoveOrCopy-Files_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.1
|
|
||||||
' Letzte Aktualisierung: 05.08.2016
|
|
||||||
|
|
||||||
'------------------------------------------------------------------------------------------------------------------
|
|
||||||
' Run a command. Copy that script block and paste it after this one, for step by step processing.
|
|
||||||
'------------------------------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
' Create object
|
|
||||||
Set objShell = CreateObject("Wscript.shell")
|
|
||||||
|
|
||||||
objShell.run("powershell -file D:\ScriptFiles\MoveOrCopy-Files\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
|
|
||||||
'------------------------------------------------------------------------------------------------------------------
|
|
||||||
@ -1,111 +0,0 @@
|
|||||||
Version 1.3.2.0 - 08.07.2021
|
|
||||||
NEW: -
|
|
||||||
FIX: - Fehler beim Löschen von Logs behoben.
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.3.1.0 - 30.04.2021
|
|
||||||
NEW: -
|
|
||||||
FIX: - Fehler in File Collector Funktion behoben.
|
|
||||||
- Fehler in Zielpfadbestimmung behoben, wenn Datei Attribute ausgelesen wurden.
|
|
||||||
CHG: - File Collector listet nun vorab nicht mehr alle Dateien auf (machte das Skript zu langsam und die Logs zu groß).
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.3.0.0 - 22.04.2021
|
|
||||||
NEW: - Neuer Parameter für Profile, es muss nun bestimmt werden, ob auch Unterverzeichnisse durchsucht werden (ReclusiveSwitch).
|
|
||||||
- Neuer Parameter für Profile, es muss nun bestimmt werden, wie eine Datei vor der Verarbeitung geprüft wird (filechecktyp).
|
|
||||||
FIX: -
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.2.0.0 - 20.04.2021
|
|
||||||
NEW: - Diverse Datumsplatzhalter für den Zielpfad eingefügt (z.b.: %CreationTimeYear%, ...)
|
|
||||||
FIX: -
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.1.4.0 - 15.03.2019
|
|
||||||
NEW: -
|
|
||||||
FIX: - Schleifen Fehler bei %ProcessOnlyLastProfileFiles behoben
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.1.3.0 - 13.03.2019
|
|
||||||
NEW: -
|
|
||||||
FIX: -
|
|
||||||
CHG: - Log Dateien entschlackt
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.1.2.0 - 28.02.2019
|
|
||||||
NEW: - %date% Variable hinzugefügt
|
|
||||||
FIX: -
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.1.1.0 - 24.02.2017
|
|
||||||
NEW: -
|
|
||||||
FIX: - Fehler in Schleifenzähler korrigiert.
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.1.0.1 - 01.08.2016
|
|
||||||
NEW: -
|
|
||||||
FIX: - Variablen Bereinigung vervollständigt.
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.1.0.0 - 29.07.2016
|
|
||||||
NEW: - Neue optionale Parameter verfügbar: %RegExGroup and %Replace.
|
|
||||||
FIX: -
|
|
||||||
CHG: - Optionale Parameter folgen nun keiner spezifischen Reihenfolge mehr.
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
Version 1.0.1.2 - 07.02.2016
|
|
||||||
NEW: - Aufrufparameter nun verfügbar.
|
|
||||||
FIX: -
|
|
||||||
CHG: -
|
|
||||||
REM: -
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
Version 1.0.1.0 - 30.09.2015
|
|
||||||
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
|
|
||||||
-----------------------------------------------------------
|
|
||||||
@ -1,114 +0,0 @@
|
|||||||
####################################################################################################
|
|
||||||
# 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 =
|
|
||||||
|
|
||||||
####################################################################################################
|
|
||||||
# Numerical value how long (in days) log files will be kept. #
|
|
||||||
# Value of 0 disables the delete function completely. #
|
|
||||||
# FailSafe Setting is: 60 #
|
|
||||||
####################################################################################################
|
|
||||||
LogFileKeepTime = 30
|
|
||||||
|
|
||||||
####################################################################################################
|
|
||||||
# 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 = 1000
|
|
||||||
|
|
||||||
#==================================================================================================#
|
|
||||||
########################################## Profile Setup ###########################################
|
|
||||||
#==================================================================================================#
|
|
||||||
|
|
||||||
####################################################################################################
|
|
||||||
# Define up to 99 MoveOrCopy Profiles in this config file for the executing Script. #
|
|
||||||
# Syntax: #
|
|
||||||
# MOCF_Profile = move|copy ; *.<FileType>, ; <SourcePath> ; true|false ; writetest|readtest ; #
|
|
||||||
# <DestinationPath> #
|
|
||||||
# Example: #
|
|
||||||
# MOCF_Profile = move ; *.* ; E:\SourcePath ; true ; writetest ; 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 #
|
|
||||||
# #
|
|
||||||
# Fourth Parameter: <ReclusiveSwitch> #
|
|
||||||
# Determine 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. #
|
|
||||||
# #
|
|
||||||
# Fifth Parameter: <filechecktyp> #
|
|
||||||
# Determine if the SourceFile should be check only for readstate or read- and writestate. #
|
|
||||||
# Remember, writetest could fail with some filetypes like pdfA or encrypted zip files. #
|
|
||||||
# Example: writetest --Test File before processing if it is read and writeable. #
|
|
||||||
# Example: readtest --Test File before processing if it is readable. #
|
|
||||||
# #
|
|
||||||
# NOTE: #
|
|
||||||
# It is possible, to work with multiple Placeholders in the Sourcepath: #
|
|
||||||
# Runtime Variable = %Date% #
|
|
||||||
# File specific variables = %CreationTimeYear%, %CreationTimeMonth%, %CreationTimeDay%, #
|
|
||||||
# %LastAccessTimeYear%, %LastAccessTimeMonth%, %LastAccessTimeDay%, #
|
|
||||||
# %LastWriteTimeYear%, %LastWriteTimeMonth%, %LastWriteTimeDay% #
|
|
||||||
#--------------------------------------------------------------------------------------------------#
|
|
||||||
# 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; *Attm00.pdf ; E:\Testordner\input ; true ; writetest ; E:\Testordner\output1
|
|
||||||
MOCF_Profile = copy; %-not *Attm00.pdf ; E:\Testordner\input ; true ; writetest ; E:\Testordner\output2
|
|
||||||
|
|
||||||
#MOCF_Profile = copy; *.pdf ; E:\Testordner\input ; true ; writetest ; E:\Testordner\output
|
|
||||||
#MOCF_Profile = copy; *.pdf ; %ProcessOnlyLastProfileFiles ; true ; writetest ; E:\Testordner\output ; %FileDelayAge5
|
|
||||||
#MOCF_Profile = copy; *.pdf ; E:\Testordner\input ; true ; writetest ; E:\Testordner\output ; %FileDelayAge15 ; %RegExGroup1(?:%SCAN%&(DD-[a-zA-Z-]{1,})) ; %Replace%SCAN%&,
|
|
||||||
Binary file not shown.
@ -0,0 +1,66 @@
|
|||||||
|
21.02.2024-16:07:42:
|
||||||
|
21.02.2024-16:07:42: ********************************************************************************
|
||||||
|
21.02.2024-16:07:42: Program Startup: MoveOrCopy-Files on SDD-VMP03-VM07,
|
||||||
|
21.02.2024-16:07:42: from Account DD-SAN01\Administrator.
|
||||||
|
21.02.2024-16:07:42: ********************************************************************************
|
||||||
|
21.02.2024-16:07:42:
|
||||||
|
21.02.2024-16:07:42: Found 1 MountProfile(s) to process.
|
||||||
|
21.02.2024-16:07:42:
|
||||||
|
21.02.2024-16:07:42: --------------------------------------------------------------------------------
|
||||||
|
21.02.2024-16:07:42: This is MountProfile: 1 of 1
|
||||||
|
21.02.2024-16:07:42: --------------------------------------------------------------------------------
|
||||||
|
21.02.2024-16:07:42: Configured RemotePath is: \\dd-pc-ent04\e$\KammM
|
||||||
|
21.02.2024-16:07:42: Configured LocalPath is: T
|
||||||
|
21.02.2024-16:07:42: Configured Username is: dd-gan\Administrator
|
||||||
|
21.02.2024-16:07:42: Trying to connect to: \\dd-pc-ent04\e$\KammM,...
|
||||||
|
21.02.2024-16:07:42: ... now connected to T
|
||||||
|
21.02.2024-16:07:42: --------------------------------------------------------------------------------
|
||||||
|
21.02.2024-16:07:42:
|
||||||
|
21.02.2024-16:07:42: There is/are 1 out of 99 Rule(s) to process, starting now.
|
||||||
|
21.02.2024-16:07:42:
|
||||||
|
21.02.2024-16:07:42: ===========================================================================================
|
||||||
|
21.02.2024-16:07:42: Processing MOCF_Profile01 now.
|
||||||
|
21.02.2024-16:07:42: ===========================================================================================
|
||||||
|
21.02.2024-16:07:42:
|
||||||
|
21.02.2024-16:07:42: These Values are setup: move *.pdf E:\Testordner\input true writetest t:\test.
|
||||||
|
21.02.2024-16:07:42:
|
||||||
|
21.02.2024-16:07:42: This run, searches for *.pdf -Files in Folder: E:\Testordner\input
|
||||||
|
21.02.2024-16:07:42: Checking Path E:\Testordner\input for existence.
|
||||||
|
21.02.2024-16:07:42: Path E:\Testordner\input is already existence and can be used.
|
||||||
|
21.02.2024-16:07:42: Searching reclusive in E:\Testordner\input\*
|
||||||
|
21.02.2024-16:07:42: Could find some File(s) - 1 - in Path: E:\Testordner\input\* (regard on White and Black Lists) ...
|
||||||
|
21.02.2024-16:07:42:
|
||||||
|
21.02.2024-16:07:42: -------------------------------------------------------------------------------------------
|
||||||
|
21.02.2024-16:07:42: Processing file: E:\Testordner\input\PDF Document (neu).pdf
|
||||||
|
21.02.2024-16:07:42: -------------------------------------------------------------------------------------------
|
||||||
|
21.02.2024-16:07:42:
|
||||||
|
21.02.2024-16:07:42: Filesystem infos about this item (maybe important for final path):
|
||||||
|
21.02.2024-16:07:42: Attributes: Archive
|
||||||
|
21.02.2024-16:07:42: CreationTime Attribute: 02/21/2024 16:07:35
|
||||||
|
21.02.2024-16:07:42: LastAccessTime Attribute: 02/21/2024 16:07:35
|
||||||
|
21.02.2024-16:07:42: LastWriteTime Attribute: 02/21/2024 16:07:35
|
||||||
|
21.02.2024-16:07:42:
|
||||||
|
21.02.2024-16:07:43: This ist Try Number: 1 of 1000
|
||||||
|
21.02.2024-16:07:43: to handle file: E:\Testordner\input\PDF Document (neu).pdf
|
||||||
|
21.02.2024-16:07:43:
|
||||||
|
21.02.2024-16:07:43: Checking if file: E:\Testordner\input\PDF Document (neu).pdf is locked...
|
||||||
|
21.02.2024-16:07:43: Checking if file: E:\Testordner\input\PDF Document (neu).pdf is readable.
|
||||||
|
21.02.2024-16:07:43: Checking if file: E:\Testordner\input\PDF Document (neu).pdf is writeable.
|
||||||
|
21.02.2024-16:07:43: File E:\Testordner\input\PDF Document (neu).pdf checked with result: writeable
|
||||||
|
21.02.2024-16:07:43: Checking Path t:\test for existence.
|
||||||
|
21.02.2024-16:07:43: Path t:\test is already existence and can be used.
|
||||||
|
21.02.2024-16:07:43:
|
||||||
|
21.02.2024-16:07:43: The File (PDF Document (neu).pdf) already exists in the target directory, starting Version Check.
|
||||||
|
21.02.2024-16:07:43: The move command has been completed.
|
||||||
|
21.02.2024-16:07:43: File was renamed to: PDF Document (neu)~9.pdf, and is now transferd to: t:\test.
|
||||||
|
21.02.2024-16:07:43: ===========================================================================================
|
||||||
|
21.02.2024-16:07:43:
|
||||||
|
21.02.2024-16:07:43: -------------------------------------------------------------------------------------------
|
||||||
|
21.02.2024-16:07:43: Checking LogFiles:
|
||||||
|
21.02.2024-16:07:43: -------------------------------------------------------------------------------------------
|
||||||
|
21.02.2024-16:07:43: Log Files should be removed which are older than 30 Day(s).
|
||||||
|
21.02.2024-16:07:43: Deleting no old LogFiles.
|
||||||
|
21.02.2024-16:07:43:
|
||||||
|
21.02.2024-16:07:43: *******************************************************************************************
|
||||||
|
21.02.2024-16:07:43: Program Finish: MoveOrCopy-Files on SDD-VMP03-VM07 from Account DD-SAN01\Administrator.
|
||||||
|
21.02.2024-16:07:43: *******************************************************************************************
|
||||||
Binary file not shown.
@ -1,3 +1,11 @@
|
|||||||
|
Version 1.5.0.0 - 21.02.2024
|
||||||
|
NEW: - Es können nun Netzlaufwerke per "MountProfile" eingebunden werden
|
||||||
|
FIX: -
|
||||||
|
CHG: - Der aktuelle Module Loader wurde implementiert
|
||||||
|
REM: -
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
Version 1.3.3.0 - 12.12.2023
|
Version 1.3.3.0 - 12.12.2023
|
||||||
NEW: - Man kann nun den Parameter %not% als negatives Suchkriterium verwenden
|
NEW: - Man kann nun den Parameter %not% als negatives Suchkriterium verwenden
|
||||||
FIX: -
|
FIX: -
|
||||||
@ -8,7 +16,7 @@ REM: -
|
|||||||
|
|
||||||
Version 1.3.2.0 - 08.07.2021
|
Version 1.3.2.0 - 08.07.2021
|
||||||
NEW: -
|
NEW: -
|
||||||
FIX: - Fehler beim Löschen von Logs behoben.
|
FIX: - Fehler beim L<EFBFBD>schen von Logs behoben.
|
||||||
CHG: -
|
CHG: -
|
||||||
REM: -
|
REM: -
|
||||||
|
|
||||||
@ -18,14 +26,14 @@ Version 1.3.1.0 - 30.04.2021
|
|||||||
NEW: -
|
NEW: -
|
||||||
FIX: - Fehler in File Collector Funktion behoben.
|
FIX: - Fehler in File Collector Funktion behoben.
|
||||||
- Fehler in Zielpfadbestimmung behoben, wenn Datei Attribute ausgelesen wurden.
|
- Fehler in Zielpfadbestimmung behoben, wenn Datei Attribute ausgelesen wurden.
|
||||||
CHG: - File Collector listet nun vorab nicht mehr alle Dateien auf (machte das Skript zu langsam und die Logs zu groß).
|
CHG: - File Collector listet nun vorab nicht mehr alle Dateien auf (machte das Skript zu langsam und die Logs zu gro<EFBFBD>).
|
||||||
REM: -
|
REM: -
|
||||||
|
|
||||||
-----------------------------------------------------------
|
-----------------------------------------------------------
|
||||||
|
|
||||||
Version 1.3.0.0 - 22.04.2021
|
Version 1.3.0.0 - 22.04.2021
|
||||||
NEW: - Neuer Parameter für Profile, es muss nun bestimmt werden, ob auch Unterverzeichnisse durchsucht werden (ReclusiveSwitch).
|
NEW: - Neuer Parameter f<EFBFBD>r Profile, es muss nun bestimmt werden, ob auch Unterverzeichnisse durchsucht werden (ReclusiveSwitch).
|
||||||
- Neuer Parameter für Profile, es muss nun bestimmt werden, wie eine Datei vor der Verarbeitung geprüft wird (filechecktyp).
|
- Neuer Parameter f<EFBFBD>r Profile, es muss nun bestimmt werden, wie eine Datei vor der Verarbeitung gepr<70>ft wird (filechecktyp).
|
||||||
FIX: -
|
FIX: -
|
||||||
CHG: -
|
CHG: -
|
||||||
REM: -
|
REM: -
|
||||||
@ -33,7 +41,7 @@ REM: -
|
|||||||
-----------------------------------------------------------
|
-----------------------------------------------------------
|
||||||
|
|
||||||
Version 1.2.0.0 - 20.04.2021
|
Version 1.2.0.0 - 20.04.2021
|
||||||
NEW: - Diverse Datumsplatzhalter für den Zielpfad eingefügt (z.b.: %CreationTimeYear%, ...)
|
NEW: - Diverse Datumsplatzhalter f<EFBFBD>r den Zielpfad eingef<65>gt (z.b.: %CreationTimeYear%, ...)
|
||||||
FIX: -
|
FIX: -
|
||||||
CHG: -
|
CHG: -
|
||||||
REM: -
|
REM: -
|
||||||
@ -57,7 +65,7 @@ REM: -
|
|||||||
-----------------------------------------------------------
|
-----------------------------------------------------------
|
||||||
|
|
||||||
Version 1.1.2.0 - 28.02.2019
|
Version 1.1.2.0 - 28.02.2019
|
||||||
NEW: - %date% Variable hinzugefügt
|
NEW: - %date% Variable hinzugef<EFBFBD>gt
|
||||||
FIX: -
|
FIX: -
|
||||||
CHG: -
|
CHG: -
|
||||||
REM: -
|
REM: -
|
||||||
@ -66,7 +74,7 @@ REM: -
|
|||||||
|
|
||||||
Version 1.1.1.0 - 24.02.2017
|
Version 1.1.1.0 - 24.02.2017
|
||||||
NEW: -
|
NEW: -
|
||||||
FIX: - Fehler in Schleifenzähler korrigiert.
|
FIX: - Fehler in Schleifenz<EFBFBD>hler korrigiert.
|
||||||
CHG: -
|
CHG: -
|
||||||
REM: -
|
REM: -
|
||||||
|
|
||||||
@ -74,14 +82,14 @@ REM: -
|
|||||||
|
|
||||||
Version 1.1.0.1 - 01.08.2016
|
Version 1.1.0.1 - 01.08.2016
|
||||||
NEW: -
|
NEW: -
|
||||||
FIX: - Variablen Bereinigung vervollständigt.
|
FIX: - Variablen Bereinigung vervollst<EFBFBD>ndigt.
|
||||||
CHG: -
|
CHG: -
|
||||||
REM: -
|
REM: -
|
||||||
|
|
||||||
-----------------------------------------------------------
|
-----------------------------------------------------------
|
||||||
|
|
||||||
Version 1.1.0.0 - 29.07.2016
|
Version 1.1.0.0 - 29.07.2016
|
||||||
NEW: - Neue optionale Parameter verfügbar: %RegExGroup and %Replace.
|
NEW: - Neue optionale Parameter verf<EFBFBD>gbar: %RegExGroup and %Replace.
|
||||||
FIX: -
|
FIX: -
|
||||||
CHG: - Optionale Parameter folgen nun keiner spezifischen Reihenfolge mehr.
|
CHG: - Optionale Parameter folgen nun keiner spezifischen Reihenfolge mehr.
|
||||||
REM: -
|
REM: -
|
||||||
@ -90,7 +98,7 @@ REM: -
|
|||||||
|
|
||||||
|
|
||||||
Version 1.0.1.2 - 07.02.2016
|
Version 1.0.1.2 - 07.02.2016
|
||||||
NEW: - Aufrufparameter nun verfügbar.
|
NEW: - Aufrufparameter nun verf<EFBFBD>gbar.
|
||||||
FIX: -
|
FIX: -
|
||||||
CHG: -
|
CHG: -
|
||||||
REM: -
|
REM: -
|
||||||
@ -112,8 +120,8 @@ CHG: -
|
|||||||
REM: -
|
REM: -
|
||||||
|
|
||||||
--------------------------Legende--------------------------
|
--------------------------Legende--------------------------
|
||||||
NEW: = Hinzufügen einer neuen Funktion
|
NEW: = Hinzuf<EFBFBD>gen einer neuen Funktion
|
||||||
FIX: = Korrektur einer vorhandenen Funktion
|
FIX: = Korrektur einer vorhandenen Funktion
|
||||||
CHG: = Änderung oder Erweiterung einer vorhandenen Funktion
|
CHG: = <EFBFBD>nderung oder Erweiterung einer vorhandenen Funktion
|
||||||
REM: = Entfernen einer Funktion
|
REM: = Entfernen einer Funktion
|
||||||
-----------------------------------------------------------
|
-----------------------------------------------------------
|
||||||
|
|||||||
@ -46,6 +46,31 @@ FileCheckCounterLimit = 1000
|
|||||||
########################################## Profile Setup ###########################################
|
########################################## Profile Setup ###########################################
|
||||||
#==================================================================================================#
|
#==================================================================================================#
|
||||||
|
|
||||||
|
####################################################################################################
|
||||||
|
# Define Profiles in this config file for mapping network resources. #
|
||||||
|
# Syntax: #
|
||||||
|
# MountProfile = <SourcePath> ; <TargetLetter> ; <UserName|Domain\UserName> ; <Password> #
|
||||||
|
# Example: #
|
||||||
|
# MountProfile = \\path\share ; T ; domain\username ; password #
|
||||||
|
#--------------------------------------------------------------------------------------------------#
|
||||||
|
# First Parameter: <SourcePath> #
|
||||||
|
# Set the path, you want to connect to. #
|
||||||
|
# Example: \\path\share #
|
||||||
|
#--------------------------------------------------------------------------------------------------#
|
||||||
|
# Second Parameter: <SourceFile> #
|
||||||
|
# Set the local letter or PSDrive Share name. #
|
||||||
|
# Example: T #
|
||||||
|
# Example: Testdrive #
|
||||||
|
#--------------------------------------------------------------------------------------------------#
|
||||||
|
# Third Parameter: <UserName|Domain\UserName> #
|
||||||
|
# Set the Username (or domain\UserName) who has access rights to the share. #
|
||||||
|
# Example: Administrator #
|
||||||
|
#--------------------------------------------------------------------------------------------------#
|
||||||
|
# Fourth Parameter: <Password> #
|
||||||
|
# Set the password for the Username above. #
|
||||||
|
# Example: SecurePassword #
|
||||||
|
####################################################################################################
|
||||||
|
|
||||||
####################################################################################################
|
####################################################################################################
|
||||||
# Define up to 99 MoveOrCopy Profiles in this config file for the executing Script. #
|
# Define up to 99 MoveOrCopy Profiles in this config file for the executing Script. #
|
||||||
# Syntax: #
|
# Syntax: #
|
||||||
@ -106,7 +131,7 @@ FileCheckCounterLimit = 1000
|
|||||||
# -argSourcePath E:\SourcePath -argDestinationPath E:\DestinationPath -argFileDelayAge 15" #
|
# -argSourcePath E:\SourcePath -argDestinationPath E:\DestinationPath -argFileDelayAge 15" #
|
||||||
####################################################################################################
|
####################################################################################################
|
||||||
|
|
||||||
mount = \\server\share ; M:\ ; Username ; password
|
#MountProfile = \\path\share ; T ; domain\username ; password
|
||||||
|
|
||||||
MOCF_Profile = move; *Attm0.pdf ; E:\Testordner\input ; true ; writetest ; E:\Testordner\output1
|
MOCF_Profile = move; *Attm0.pdf ; E:\Testordner\input ; true ; writetest ; E:\Testordner\output1
|
||||||
MOCF_Profile = move; %not% *Attm0.pdf ; E:\Testordner\input ; true ; writetest ; E:\Testordner\output2
|
MOCF_Profile = move; %not% *Attm0.pdf ; E:\Testordner\input ; true ; writetest ; E:\Testordner\output2
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user