http://bugs.winehq.org/show_bug.cgi?id=11724
--- Comment #6 from Paul Romanyszyn pgr@arcelectronicsinc.com 2008-03-03 15:51:50 --- Created an attachment (id=11095) --> (http://bugs.winehq.org/attachment.cgi?id=11095) Adding a few debug traces
I added a few debug traces and changes the start up search for \autoexec.bat to have a c:\autoexec.bat With the c:\ RtlGetFileName locates it. but when c:\autoexec.bat is enter on z: or the not root of c: it fails as follows
trace:cmd:WCMD_process_commands Executing command: 'L"c:\autoexec.bat"' trace:cmd:WCMD_execute command on entry:L"c:\autoexec.bat" (0x34f5e0), with '(null)'='(null)' trace:cmd:WCMD_execute Command: 'L"c:\autoexec.bat"' trace:cmd:WCMD_execute qual: L"", param1: L":\autoexec.bat", param2: L"" trace:cmd:WCMD_run_program qual: L"", param1: L"c:\autoexec.bat", param2: L"" trace:cmd:WCMD_run_program Explicit path?? trace:file:RtlGetFullPathName_U (L"c:\autoexec.bat" 16384 0x34a768 (nil)) trace:cmd:WCMD_run_program Searching in 'L"C:"' for 'L"autoexec.bat"' trace:file:RtlGetFullPathName_U (L"C:" 520 0x34ec6c (nil))
I hope that help to narrow down where the problem is.