[Bug 11724] can't run bat from root of drive

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Mar 3 15:51:50 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=11724





--- Comment #6 from Paul Romanyszyn <pgr at 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.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list