https://bugs.winehq.org/show_bug.cgi?id=40613
--- Comment #22 from Anastasius Focht focht@gmx.net --- Hello tim,
--- quote --- RUNAS don't work with start /d
... wine runas /trustlevel:0x20000 start /d 'D:' dzclient-1.7.85.exe --- quote ---
you didn't quote properly hence all parameters after 'start' are interpreted as belonging to 'runas' command.
On modern NT-based Windows, 'start' is a builtin of Windows command shell. Wine's external 'start.exe' program is a Win9x legacy and doing more harm than good, especially in WoW64 prefixes. I would even consider removing this - but that will likely break many crappy scripts.
Doesn't work in 64-bit WINEPREFIX:
--- snip --- $ wine runas /trustlevel:0x20000 "start /d c:\ notepad" RUNAS-Error: start /d c:\ notepad could not be started 2: File not found. --- snip ---
Works in 64-bit WINEPREFIX:
--- snip --- $ wine64 runas /trustlevel:0x20000 "start /d c:\ notepad" --- snip ---
I would suggest you use 'start' properly as 'cmd.exe' builtin which avoids the aforementioned issues.
--- snip --- $ wine runas /trustlevel:0x20000 "cmd /c start /d c:\ notepad" --- snip ---
In your case it would be:
--- snip --- $ wine runas /trustlevel:0x20000 "cmd /c start /d D:\ dzclient-1.7.85.exe" --- snip ---
Regards