Hallo folks,
ich hab hier ein Problem mit CeCopy in einer AutoIt-Source:
Ich rufe mit der Zeile:
[autoit]
RunWait($pfad & 'cecopy.exe /is /s ' & '"' & 'desk:' & $pfad & 'Blubb' & '"' & ' ' & '"' & 'dev:\storage card\Blubb' & '"', @ScriptDir, @SW_HIDE)
die cecopy.exe aus meinem Directory auf, die ich in der Exe includiert habe.
Was mache ich da falsch???
Sobald der Ordner vorhanden ist, überspringt der Installer das Kopieren und geht einfach weiter...
Hier die Doku zu CeCopy:
Spoiler anzeigen
ZitatAlles anzeigenNAME: CeCopy
DESCRIPTION:
Command line tool for copying files to the device currently connected to desktop ActiveSync.SUPPORTED PLATFORMS:
.Pocket PC 2002 or later
.Smartphone 2002 or laterREQUIREMENTS:
ActiveSync installed and connected to device.SETUP:
None.INSTRUCTIONS:
Usage: CeCopy [options] <Source_FileSpec> <Destination>Options:
/is Copy file even if identical.
/s Include subdirectories, hierarchy reproduced on device.Arguments:
Source_FileSpec File specification denoting the source of the copy.
Destination Where files should be copied to.For the source, wild cards or directory names may be specified, as may be single files. The destination can be either a directory or a file name, depending on the type of source specified.
By default, an argument is assumed to live on a local file system. To indicate that either argument denotes a location on a device connected via ActiveSync, prepend 'dev:' to that argument. To articulate that a local file system is referenced, prepend 'desk:' to the argument.
Examples:
"cecopy readme.txt dev:\readme.txt" copies this readme to the device's root.
"cecopy /s *.* dev:\" copies all files and subfolders of current directory to device's root. Generates new folders on device as needed.
"cecopy /s *.dll dev:\windows" copies all dlls and dlls in subfolders of current directory to the device's root. Generates new folders on device as needed.KNOWN ISSUES:
None.