Windows-Hack/Crack
2004-02-12 03:30
low_level
Win32API: CreateProcess
The lpApplicationName parameter can be NULL. In that case, the module name must be the first white space-delimited token in the lpCommandLine string. If you are using a long file name that contains a space, use quoted strings to indicate where the file name ends and the arguments begin; otherwise, the file name is ambiguous. For example, consider the string "c:\program files\sub dir\program name". This string can be interpreted in a number of ways. The system tries to interpret the possibilities in the following order:
Wer wundert sich schon über eine Datei »program.exe« im Hauptverzeichnis? Das geht zwar nur in der englischen Version, aber in der deutschen gibt's dafür ja "Dokumente und Einstellungen". [img]http://www.fb18.de/gfx/28.gif[/img]
The lpApplicationName parameter can be NULL. In that case, the module name must be the first white space-delimited token in the lpCommandLine string. If you are using a long file name that contains a space, use quoted strings to indicate where the file name ends and the arguments begin; otherwise, the file name is ambiguous. For example, consider the string "c:\program files\sub dir\program name". This string can be interpreted in a number of ways. The system tries to interpret the possibilities in the following order:
[b]c:\program.exe[/b] files\sub dir\program name
[b]c:\program files\sub.exe[/b] dir\program name
[b]c:\program files\sub dir\program.exe[/b] name
[b]c:\program files\sub dir\program name.exe[/b]
Wer wundert sich schon über eine Datei »program.exe« im Hauptverzeichnis? Das geht zwar nur in der englischen Version, aber in der deutschen gibt's dafür ja "Dokumente und Einstellungen". [img]http://www.fb18.de/gfx/28.gif[/img]