Moin,
seit gestern habe ich ein Problem mit folgendem Script - es ist vollständig:
[autoit]ShellExecute("WordPad.lnk")
[/autoit]Die Datei WordPad.lnk liegt in demselben Verzeichnis und ruft WordPad.exe ohne Parameter auf.
Führe ich das Script aus, dann erhalte ich als erstes einen Dialog zum Verschieben der WordPad.lnk (Abbildung als Anhang). Bei Abbruch gibt es den gleichen Dialog noch einmal zum Kopieren der WordPad.lnk. Erst bei erneutem Abbruch wird WordPad.lnk ausgeführt. Ersetze ich in dem Script "wordpad.lnk" durch "wordpad.exe", dann läuft alles wie geplant. Es wird nicht versucht, zu verschieben oder zu kopieren sondern wordpad.exe wird direkt ausgeführt.
Weiß jemand, woran das liegen kann und wie ich das Verhalten beeinflussen kann?
Danke für Eure Hilfe!