xpxy15
Goto Top

Eine Benachritigung nach Abschluss einer Funktion bei Windows Form - Powershell

Hallo Zusammen

In der Schule bekam ich einen Auftrag. Ich sollte einen Backup Skript mit einen GUI schreiben oder kopieren aus den Internet(Wenn ich es kopiere, muss ich alles verstehen und kommentieren.). Der soll die drei verschiedenen Arten beinhalten (Fullbackup, incremental, diffrential). Ich entschied mich einen zu schreiben. Also habe ich einen Backup Skript mit GUI geschrieben. Den GUI habe mit PrimalForms erstellt. Die Backups werden mit Robocopy gemacht. Das Skript funktionierd einigermassen gut. Ab und zu erstellt er einfach kein Backup. Er stellt den Backup Ordner, aber der Ordner ist leer.
Ich möchte noch gerne eine Benachrichtigung im GUI hinzufügen. Wenn der Backup erfolgreich war. Ich weiss nicht wie. Ich versuchte es mit einen Label. Aber Es funktionierte nicht.

Das Skript ist ein bisschen lange. Ich hoffe ihr könnt mir helfen.

#Generated Form Function
function GenerateForm {
########################################################################
# Code Generated By: SAPIEN Technologies PrimalForms (Community Edition) v1.0.9.0
# Generated On: 06.10.2016 08:41
# Generated By: peamu
########################################################################

#region Import the Assemblies
[reflection.assembly]::loadwithpartialname("System.Drawing") | Out-Null  
[reflection.assembly]::loadwithpartialname("System.Windows.Forms") | Out-Null  
#endregion

#region variables
$form = New-Object System.Windows.Forms.Form
$notification_label = New-Object System.Windows.Forms.Label
$exit_button = New-Object System.Windows.Forms.Button
$restore_button = New-Object System.Windows.Forms.Button
$differetial_button = New-Object System.Windows.Forms.Button
$incremental_button = New-Object System.Windows.Forms.Button
$fullbackup_button = New-Object System.Windows.Forms.Button
$browse_dest = New-Object System.Windows.Forms.Button
$browse_source = New-Object System.Windows.Forms.Button
$dest_path = New-Object System.Windows.Forms.TextBox
$dest_label = New-Object System.Windows.Forms.Label
$source_path = New-Object System.Windows.Forms.TextBox
$source_label = New-Object System.Windows.Forms.Label
$title = New-Object System.Windows.Forms.Label
$openFileDialog1 = New-Object System.Windows.Forms.FolderBrowserDialog
$openFileDialog2 = New-Object System.Windows.Forms.FolderBrowserDialog
$InitialFormWindowState = New-Object System.Windows.Forms.FormWindowState
$robocopy = "${env:WINDIR}\System32\robocopy.exe"  
$LogFile = $des_path
$inhalt = "The Backup was successfull."  
$inhalt404 = "The Backup wasn't succussfull. Please Try again"  
#endregion variables

###################################
# Function to write Logfile
###################################
function write_log ($Inhalt)
{
    $DateNow = Get-Date -Format "dd.MM.yyyy HH:mm" # Ermittelt das aktuelle Datum mit diesem Syntax 01.10.2013 10:00  
    $FileInp = $DateNow + ' | ' + $Inhalt    # Setzt die Zeile für unser Logfile zusammen  
	 $FileInp404 = $DateNow + ' | ' + $Inhalt    # Setzt die Zeile für unser Logfile zusammen  
	Compare-Object -ReferenceObject $src_path -DifferenceObject $new_dest_path -IncludeEqual 
    If ($_.SideIndicator -eq "=="){ # Wenn dir Datei existiert reinschreiben  
        Add-Content -Path $des_path -value $FileInp  # Zeile hinten an die vorhanden Einträge anhängen
    } else {
       
       Add-Content -path $LogFile -value $FileInp404 # und reinschreiben
    }
}

#----------------------------------------------
#Generated Event Script Blocks
#----------------------------------------------
#Provide Custom Code for events specified in PrimalForms.
$handler_Source_TextChanged= 
{
#TODO: Place custom script here

}

$handler_textBox2_TextChanged= 
{
#TODO: Place custom script here

}

$handler_label3_Click= 
{
#TODO: Place custom script here

}

$incremental_button_OnClick= 
{
#TODO: Place custom script here
write_log
$date = Get-Date -Format dd-MM-yy_HH/mm/ss
$folder_name = "Backup_$date"  
$new_dest_path = "$des_path\$folder_name"  
New-Item -ItemType directory -Path $new_dest_path
start-process -FilePath $robocopy  -ArgumentList "$src_path  $new_dest_path  /e /r:1 /w:1 /m"	#Der Befehl kopiert nur Dateien mit Archivbit, setzt nach dem Kopieren das Archivbit zurück (inkrementelle Sicherung)  
$notification = "Please check your files in destination. If everthing is complete, then was backup successfull."  
#log

$DateNow = Get-Date -Format "dd.MM.yyyy HH:mm" # Ermittelt das aktuelle Datum mit diesem Syntax 01.10.2013 10:00  
    $FileInp = $DateNow + ' | ' + $Inhalt    # Setzt die Zeile für unser Logfile zusammen  
	 $FileInp404 = $DateNow + ' | ' + $Inhalt    # Setzt die Zeile für unser Logfile zusammen  
	Compare-Object -ReferenceObject $src_path -DifferenceObject $new_dest_path -IncludeEqual 
    If ($_.SideIndicator -eq "=="){ # Wenn dir Datei existiert reinschreiben  
        Add-Content -Path $des_path -value $FileInp  # Zeile hinten an die vorhanden Einträge anhängen
    } else {
       
       Add-Content -path $des_path -value $FileInp404 # und reinschreiben
    
#$date_log = Get-Date -Format g
#$log = "{$date_log} Programm has been strarted""{$date_log} Source path and destination path has been started""{$date_log} Your Backup was successfull."  
#$log | Out-File $new_dest_path\log.txt
}

$handler_browse_dest_Click= 
{
#TODO: Place custom script here
if ($openfiledialog2.ShowDialog() -eq 'OK')  
	{
		$dest_path.Text = $openFileDialog2.SelectedPath
		$des_path = $openFileDialog2.SelectedPath
	}
	
}

$handler_browse_source_Click= 
{
#TODO: Place custom script here
if ($openfiledialog1.ShowDialog() -eq 'OK')  
	{
		$source_path.Text = $openFileDialog1.SelectedPath
		$src_path = $openFileDialog1.SelectedPath
	}
	
}

$handler_form1_Load= 
{
#TODO: Place custom script here

}

$handler_label4_Click= 
{
#TODO: Place custom script here

}

$exit_button_OnClick= 
{
#TODO: Place custom script here
$form.close()
}

$handler_label2_Click= 
{
#TODO: Place custom script here

}

$restore_button_OnClick= 
{
#TODO: Place custom script here
write_log
Start-process -FilePath $robocopy  -ArgumentList "$des_path $src_path /e /r:1 /w:1 /copyall"  
$notification = "The restore was successfull."  
#log

$DateNow = Get-Date -Format "dd.MM.yyyy HH:mm" # Ermittelt das aktuelle Datum mit diesem Syntax 01.10.2013 10:00  
    $FileInp = $DateNow + ' | ' + $Inhalt    # Setzt die Zeile für unser Logfile zusammen  
	 $FileInp404 = $DateNow + ' | ' + $Inhalt    # Setzt die Zeile für unser Logfile zusammen  
	Compare-Object -ReferenceObject $src_path -DifferenceObject $new_dest_path -IncludeEqual 
    If ($_.SideIndicator -eq "=="){ # Wenn dir Datei existiert reinschreiben  
        Add-Content -Path $des_path -value $FileInp  # Zeile hinten an die vorhanden Einträge anhängen
    } else {
       
       Add-Content -path $des_path -value $FileInp404 # und reinschreiben
    
#$date_log = Get-Date -Format g
#$log = "{$date_log} Programm has been strarted""{$date_log} Source path and destination path has been started""{$date_log} Your Backup was successfull."  
#$log | Out-File $new_dest_path\log.txt
}

$differetial_button_OnClick= 
{
#TODO: Place custom script here
write_log
$date = Get-Date -Format dd-MM-yy_HH/mm/ss
$folder_name = "Backup_$date"  
$new_dest_path = "$des_path\$folder_name"  
New-Item -ItemType directory -Path $new_dest_path
start-process -FilePath $robocopy  -ArgumentList "$src_path  $new_dest_path  /e /r:1 /w:1 /a" #  
$notification = "The diffetential backup was successfull."  
#log

$DateNow = Get-Date -Format "dd.MM.yyyy HH:mm" # Ermittelt das aktuelle Datum mit diesem Syntax 01.10.2013 10:00  
    $FileInp = $DateNow + ' | ' + $Inhalt    # Setzt die Zeile für unser Logfile zusammen  
	 $FileInp404 = $DateNow + ' | ' + $Inhalt    # Setzt die Zeile für unser Logfile zusammen  
	Compare-Object -ReferenceObject $src_path -DifferenceObject $new_dest_path -IncludeEqual 
    If ($_.SideIndicator -eq "=="){ # Wenn dir Datei existiert reinschreiben  
        Add-Content -Path $des_path -value $FileInp  # Zeile hinten an die vorhanden Einträge anhängen
    } else {
       
       Add-Content -path $des_path -value $FileInp404 # und reinschreiben
    
#$date_log = Get-Date -Format g
#$log = "{$date_log} Programm has been strarted""{$date_log} Source path and destination path has been started""{$date_log} Your Backup was successfull."  
#$log | Out-File $new_dest_path\log.txt
}

$fullbackup_button_OnClick= 
{
#TODO: Place custom script here

$date = Get-Date -Format dd-MM-yy_HH/mm/ss
$folder_name = "Backup_$date"  
$new_dest_path = "$des_path\$folder_name"  
New-Item -ItemType directory -Path $new_dest_path
Start-process -FilePath $robocopy  -ArgumentList "$src_path  $new_dest_path  /e" #  

#log

$DateNow = Get-Date -Format "dd.MM.yyyy HH:mm" # Ermittelt das aktuelle Datum mit diesem Syntax 01.10.2013 10:00  
    $FileInp = $DateNow + ' | ' + $Inhalt    # Setzt die Zeile für unser Logfile zusammen  
	 $FileInp404 = $DateNow + ' | ' + $Inhalt    # Setzt die Zeile für unser Logfile zusammen  
	Compare-Object -ReferenceObject $src_path -DifferenceObject $new_dest_path -IncludeEqual 
    If ($_.SideIndicator -eq "=="){ # Wenn dir Datei existiert reinschreiben  
        Add-Content -Path $des_path -value $FileInp  # Zeile hinten an die vorhanden Einträge anhängen
    } else {
       
       Add-Content -path $des_path -value $FileInp404 # und reinschreiben
    }
#$date_log = Get-Date -Format g
#$log = "{$date_log} Programm has been strarted""{$date_log} Source path and destination path has been started""{$date_log} Your Backup was successfull."  
#$log | Out-File $new_dest_path\log.txt
}

$OnLoadForm_StateCorrection=
{#Correct the initial state of the form to prevent the .Net maximized form issue
	$form.WindowState = $InitialFormWindowState
}

#----------------------------------------------
#region Generated Form Code
$form.BackColor = [System.Drawing.Color]::FromArgb(255,255,0,0)
$form.BackgroundImage = [System.Drawing.Image]::FromFile('C:\Users\peamu\Desktop\Kitkatbackup\Kitkat-Chocolate-HD-Wallpapers-1024x576.jpg')  
$System_Drawing_Size = New-Object System.Drawing.Size
$System_Drawing_Size.Height = 596
$System_Drawing_Size.Width = 1003
$form.ClientSize = $System_Drawing_Size
$form.DataBindings.DefaultDataSourceUpdateMode = 0
$form.Font = New-Object System.Drawing.Font("Century Gothic",11.25,0,3,1)  
$form.Icon = [System.Drawing.Icon]::ExtractAssociatedIcon('C:\Users\peamu\Desktop\Kitkatbackup\2n07xaq.png.ico')  
$form.Name = "form"  
$form.RightToLeftLayout = $True
$form.Text = "KitKat-Backup"  
$form.add_Load($handler_form1_Load)

$notification_label.BackColor = [System.Drawing.Color]::FromArgb(0,255,255,255)
$notification_label.DataBindings.DefaultDataSourceUpdateMode = 0
$notification_label.Font = New-Object System.Drawing.Font("Century Gothic",21.75,0,3,0)  

$System_Drawing_Point = New-Object System.Drawing.Point
$System_Drawing_Point.X = 66
$System_Drawing_Point.Y = 516
$notification_label.Location = $System_Drawing_Point
$notification_label.Name = "notification_label"  
$System_Drawing_Size = New-Object System.Drawing.Size
$System_Drawing_Size.Height = 45
$System_Drawing_Size.Width = 481
$notification_label.Size = $System_Drawing_Size
$notification_label.TabIndex = 12
$notification_label.Text = $notification

$form.Controls.Add($notification_label)

$exit_button.BackColor = [System.Drawing.Color]::FromArgb(0,255,255,255)

$exit_button.DataBindings.DefaultDataSourceUpdateMode = 0

$System_Drawing_Point = New-Object System.Drawing.Point
$System_Drawing_Point.X = 675
$System_Drawing_Point.Y = 442
$exit_button.Location = $System_Drawing_Point
$exit_button.Name = "exit_button"  
$System_Drawing_Size = New-Object System.Drawing.Size
$System_Drawing_Size.Height = 34
$System_Drawing_Size.Width = 217
$exit_button.Size = $System_Drawing_Size
$exit_button.TabIndex = 11
$exit_button.Text = "Exit"  
$exit_button.UseVisualStyleBackColor = $False
$exit_button.add_Click($exit_button_OnClick)

$form.Controls.Add($exit_button)

$restore_button.BackColor = [System.Drawing.Color]::FromArgb(0,255,255,255)

$restore_button.DataBindings.DefaultDataSourceUpdateMode = 0
$restore_button.Font = New-Object System.Drawing.Font("Century Gothic",21.75,0,3,1)  

$System_Drawing_Point = New-Object System.Drawing.Point
$System_Drawing_Point.X = 66
$System_Drawing_Point.Y = 431
$restore_button.Location = $System_Drawing_Point
$restore_button.Name = "restore-button"  
$System_Drawing_Size = New-Object System.Drawing.Size
$System_Drawing_Size.Height = 45
$System_Drawing_Size.Width = 422
$restore_button.Size = $System_Drawing_Size
$restore_button.TabIndex = 10
$restore_button.Text = "Restore"  
$restore_button.UseVisualStyleBackColor = $False
$restore_button.add_Click($restore_button_OnClick)

$form.Controls.Add($restore_button)

$differetial_button.BackColor = [System.Drawing.Color]::FromArgb(0,255,255,255)

$differetial_button.DataBindings.DefaultDataSourceUpdateMode = 0
$differetial_button.Font = New-Object System.Drawing.Font("Century Gothic",18,0,3,1)  

$System_Drawing_Point = New-Object System.Drawing.Point
$System_Drawing_Point.X = 675
$System_Drawing_Point.Y = 341
$differetial_button.Location = $System_Drawing_Point
$differetial_button.Name = "differetial_button"  
$System_Drawing_Size = New-Object System.Drawing.Size
$System_Drawing_Size.Height = 45
$System_Drawing_Size.Width = 217
$differetial_button.Size = $System_Drawing_Size
$differetial_button.TabIndex = 9
$differetial_button.Text = "Differential"  
$differetial_button.UseVisualStyleBackColor = $False
$differetial_button.add_Click($differetial_button_OnClick)

$form.Controls.Add($differetial_button)

$incremental_button.BackColor = [System.Drawing.Color]::FromArgb(0,255,255,255)

$incremental_button.DataBindings.DefaultDataSourceUpdateMode = 0
$incremental_button.Font = New-Object System.Drawing.Font("Century Gothic",18,0,3,1)  

$System_Drawing_Point = New-Object System.Drawing.Point
$System_Drawing_Point.X = 675
$System_Drawing_Point.Y = 274
$incremental_button.Location = $System_Drawing_Point
$incremental_button.Name = "incremental_button"  
$System_Drawing_Size = New-Object System.Drawing.Size
$System_Drawing_Size.Height = 45
$System_Drawing_Size.Width = 217
$incremental_button.Size = $System_Drawing_Size
$incremental_button.TabIndex = 8
$incremental_button.Text = "Incremental "  
$incremental_button.UseVisualStyleBackColor = $False
$incremental_button.add_Click($incremental_button_OnClick)

$form.Controls.Add($incremental_button)

$fullbackup_button.BackColor = [System.Drawing.Color]::FromArgb(0,255,255,255)

$fullbackup_button.DataBindings.DefaultDataSourceUpdateMode = 0
$fullbackup_button.Font = New-Object System.Drawing.Font("Century Gothic",18,0,3,1)  
$fullbackup_button.ForeColor = [System.Drawing.Color]::FromArgb(255,0,0,0)

$System_Drawing_Point = New-Object System.Drawing.Point
$System_Drawing_Point.X = 675
$System_Drawing_Point.Y = 208
$fullbackup_button.Location = $System_Drawing_Point
$fullbackup_button.Name = "fullbackup_button"  
$System_Drawing_Size = New-Object System.Drawing.Size
$System_Drawing_Size.Height = 45
$System_Drawing_Size.Width = 217
$fullbackup_button.Size = $System_Drawing_Size
$fullbackup_button.TabIndex = 7
$fullbackup_button.Text = "Fullbackup"  
$fullbackup_button.UseVisualStyleBackColor = $False
$fullbackup_button.add_Click($fullbackup_button_OnClick)

$form.Controls.Add($fullbackup_button)

$browse_dest.BackColor = [System.Drawing.Color]::FromArgb(0,255,255,255)

$browse_dest.DataBindings.DefaultDataSourceUpdateMode = 0
$browse_dest.Font = New-Object System.Drawing.Font("Century Gothic",11,0,3,1)  

$System_Drawing_Point = New-Object System.Drawing.Point
$System_Drawing_Point.X = 401
$System_Drawing_Point.Y = 343
$browse_dest.Location = $System_Drawing_Point
$browse_dest.Name = "browse_dest"  
$System_Drawing_Size = New-Object System.Drawing.Size
$System_Drawing_Size.Height = 30
$System_Drawing_Size.Width = 87
$browse_dest.Size = $System_Drawing_Size
$browse_dest.TabIndex = 6
$browse_dest.Text = "Browse"  
$browse_dest.UseVisualStyleBackColor = $False
$browse_dest.add_Click($handler_browse_dest_Click)

$form.Controls.Add($browse_dest)

$browse_source.BackColor = [System.Drawing.Color]::FromArgb(0,255,255,255)

$browse_source.DataBindings.DefaultDataSourceUpdateMode = 0
$browse_source.Font = New-Object System.Drawing.Font("Century Gothic",11,0,3,1)  

$browse_source.ImageAlign = 2
$System_Drawing_Point = New-Object System.Drawing.Point
$System_Drawing_Point.X = 401
$System_Drawing_Point.Y = 227
$browse_source.Location = $System_Drawing_Point
$browse_source.Name = "browse_source"  
$System_Drawing_Size = New-Object System.Drawing.Size
$System_Drawing_Size.Height = 30
$System_Drawing_Size.Width = 87
$browse_source.Size = $System_Drawing_Size
$browse_source.TabIndex = 5
$browse_source.Text = "Browse"  
$browse_source.TextAlign = 2
$browse_source.UseVisualStyleBackColor = $False
$browse_source.add_Click($handler_browse_source_Click)

$form.Controls.Add($browse_source)

$dest_path.DataBindings.DefaultDataSourceUpdateMode = 0
$System_Drawing_Point = New-Object System.Drawing.Point
$System_Drawing_Point.X = 66
$System_Drawing_Point.Y = 345
$dest_path.Location = $System_Drawing_Point
$dest_path.Name = "dest_path"  
$System_Drawing_Size = New-Object System.Drawing.Size
$System_Drawing_Size.Height = 26
$System_Drawing_Size.Width = 329
$dest_path.Size = $System_Drawing_Size
$dest_path.TabIndex = 4
$dest_path.Text = "Write the destination path of the Backup"  
$dest_path.add_TextChanged($handler_textBox2_TextChanged)

$form.Controls.Add($dest_path)

$dest_label.BackColor = [System.Drawing.Color]::FromArgb(0,255,255,255)
$dest_label.DataBindings.DefaultDataSourceUpdateMode = 0
$dest_label.Font = New-Object System.Drawing.Font("Century Gothic",18,0,3,1)  

$System_Drawing_Point = New-Object System.Drawing.Point
$System_Drawing_Point.X = 66
$System_Drawing_Point.Y = 304
$dest_label.Location = $System_Drawing_Point
$dest_label.Name = "dest_label"  
$System_Drawing_Size = New-Object System.Drawing.Size
$System_Drawing_Size.Height = 51
$System_Drawing_Size.Width = 460
$dest_label.Size = $System_Drawing_Size
$dest_label.TabIndex = 3
$dest_label.Text = "Destination Path"  
$dest_label.add_Click($handler_label4_Click)

$form.Controls.Add($dest_label)

$source_path.DataBindings.DefaultDataSourceUpdateMode = 0
$System_Drawing_Point = New-Object System.Drawing.Point
$System_Drawing_Point.X = 66
$System_Drawing_Point.Y = 227
$source_path.Location = $System_Drawing_Point
$source_path.Name = "source_path"  
$System_Drawing_Size = New-Object System.Drawing.Size
$System_Drawing_Size.Height = 26
$System_Drawing_Size.Width = 329
$source_path.Size = $System_Drawing_Size
$source_path.TabIndex = 2
$source_path.Text = "Write the Path to backup."  
$source_path.add_TextChanged($handler_Source_TextChanged)

$form.Controls.Add($source_path)

$source_label.BackColor = [System.Drawing.Color]::FromArgb(0,255,255,255)
$source_label.DataBindings.DefaultDataSourceUpdateMode = 0
$source_label.Font = New-Object System.Drawing.Font("Century Gothic",18,0,3,1)  

$System_Drawing_Point = New-Object System.Drawing.Point
$System_Drawing_Point.X = 66
$System_Drawing_Point.Y = 182
$source_label.Location = $System_Drawing_Point
$source_label.Name = "source_label"  
$System_Drawing_Size = New-Object System.Drawing.Size
$System_Drawing_Size.Height = 51
$System_Drawing_Size.Width = 157
$source_label.Size = $System_Drawing_Size
$source_label.TabIndex = 1
$source_label.Text = "Source Path"  
$source_label.add_Click($handler_label3_Click)

$form.Controls.Add($source_label)

$title.BackColor = [System.Drawing.Color]::FromArgb(0,255,255,255)
$title.DataBindings.DefaultDataSourceUpdateMode = 0
$title.Font = New-Object System.Drawing.Font("Century Gothic",72,0,3,1)  
$title.ForeColor = [System.Drawing.Color]::FromArgb(255,0,0,0)

$System_Drawing_Point = New-Object System.Drawing.Point
$System_Drawing_Point.X = -45
$System_Drawing_Point.Y = 9
$title.Location = $System_Drawing_Point
$title.Name = "title"  
$System_Drawing_Size = New-Object System.Drawing.Size
$System_Drawing_Size.Height = 159
$System_Drawing_Size.Width = 1192
$title.Size = $System_Drawing_Size
$title.TabIndex = 0
$title.Text = "KitKat Backup"  
$title.TextAlign = 32
$title.add_Click($handler_label2_Click)

$form.Controls.Add($title)

#endregion Generated Form Code

#Save the initial state of the form
$InitialFormWindowState = $form.WindowState
#Init the OnLoad event to correct the initial state of the form
$form.add_Load($OnLoadForm_StateCorrection)
#Show the Form
$form.ShowDialog()| Out-Null

} #End Function

#Call the Function
GenerateForm

Freundliche Grüsse

xpxy15

Content-ID: 317166

Url: https://administrator.de/contentid/317166

Ausgedruckt am: 26.11.2024 um 00:11 Uhr

131026
Lösung 131026 07.10.2016 aktualisiert um 16:53:09 Uhr
Goto Top
Hi,
ohne jetzt groß den Code im Detail gelesen zu haben:
start-process liefert einen Exit-Code von Robocopy den du prüfen kannst
Beispiel:
$result = start-process calc.exe -PassThru -Wait
$result.ExitCode
Hier findest du die Rückgabewerte von Robocopy auf die du dann entsprechend reagieren kannst:
http://ss64.com/nt/robocopy-exit.html

Robocopy und Powershell gibts auch hier schon was:
Robocopy mit Powershell und Fortschrittsanzeige

-ArgumentList "$src_path $new_dest_path /e /r:1 /w:1 /m"
Denk daran das Pfade Leerzeichen beinhalten könnten! Bei diesen würde es hier zu Problemen kommen weil die Pfade nicht in Anführungszeichen gekappselt sind.

Gruß R.
xpxy15
xpxy15 10.10.2016, aktualisiert am 24.10.2016 um 11:42:17 Uhr
Goto Top
Danke Ranger

Ich habe die Pfade mit variablen gekapselt. Aber es funktioniert immer noch nicht. Habe ich vielleicht die falschen Parameter?

Der Exitcode ist eine grosse Hilfe. Damit ist es viel einfacher.

Mit freundlichen Grüßen
xpxy15