Get the new PortableApps.com Platform 10.0: Gorgeous themes, a full portable app store and advanced functionality
Announcing the World's Best Flash Drive: The PortableApps.com Companion

Problem bei Portable - Mit Leerzeichen bei Ordner

Genolf - July 8, 2010 - 10:02am

(DaleSoft ist fiktiv)

Ordner in $APPDATA "DaleSoft Support\DaleSoft 2" wird nicht erstellt und kopiert auch die Dateien nicht nach Backup. Denk das hier die Leerzeichen das Problem sind...

Bin einwenig verzweifelt. Würde mich sehr freuen, wenn mir vielleicht jemand helfen könnte oder zumindest eine Anregung geben kann, lieben Dank. Smiling

; **************************************************************************
; ==== Portable Start ====
; **************************************************************************

Section "Main"

IfFileExists "Backup\*.*" +1
CreateDirectory "$APPDATA\DaleSoft Support\DaleSoft 2"
CopyFiles /SILENT "$EXEDIR\Backup\*.*" "$APPDATA\DaleSoft Support\DaleSoft 2"

SetOutPath "Ordner"
ExecWait "$EXEDIR\Ordner\Datei.exe"

CreateDirectory "$EXEDIR\Backup"
CopyFiles /SILENT "$APPDATA\DaleSoft Support\*.*" "$EXEDIR\Backup"

RMDir /r "$APPDATA\DaleSoft Support"

SectionEnd

( categories: )

Erledigt!

Hab nochmal alles neu geschrieben, nun funkioniert es. Smiling