Re: cmd /c "c: && echo 1" File not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Traces of an external command vs internal command:
mohag@mohagpc:/multimedia$ WINEDEBUG=cmd wine cmd /c 'cmd '
trace:cmd:wmain Command line parm: 'L"C:\\windows\\system32\\cmd.exe"'
trace:cmd:wmain Command line parm: 'L"/c"'
trace:cmd:wmain /c command line: 'L"\"cmd \""'
trace:cmd:WCMD_DumpCommands Parsed line:
trace:cmd:WCMD_DumpCommands 0x153790 0 00 (nil) L"\"cmd \"" Redir:L""
trace:cmd:WCMD_process_commands Executing command: 'L"\"cmd \""'
trace:cmd:WCMD_execute command on entry:L"\"cmd \"" (0x32f590), with
'(null)'='(null)'
trace:cmd:WCMD_execute Command: 'L"\"cmd \""'
trace:cmd:WCMD_execute param1: L"cmd ", param2: L""
trace:cmd:WCMD_run_program Searching in
'L".;C:\\windows\\system32;C:\\windows"' for 'L"cmd "'
trace:cmd:WCMD_run_program Found as L"Z:\\multimedia\\cmd .*"
trace:cmd:WCMD_run_program Found as L"C:\\windows\\system32\\cmd .*"
trace:cmd:WCMD_run_program ASSUMING INTERNAL
trace:cmd:WCMD_run_program Searching in
'L".;C:\\windows\\system32;C:\\windows"' for 'L"cmd"'
trace:cmd:WCMD_run_program Found as L"Z:\\multimedia\\cmd.*"
trace:cmd:WCMD_run_program Found as L"C:\\windows\\system32\\cmd.EXE"
trace:cmd:wmain Command line parm: 'L"cmd"'
trace:cmd:wmain Set L"=Z:" to L"Z:\\multimedia"
CMD Version 1.1.38
Z:\multimedia>

mohag@mohagpc:/multimedia$ WINEDEBUG=cmd wine cmd /c 'cmd'
trace:cmd:wmain Command line parm: 'L"C:\\windows\\system32\\cmd.exe"'
trace:cmd:wmain Command line parm: 'L"/c"'
trace:cmd:wmain /c command line: 'L"cmd"'
trace:cmd:WCMD_DumpCommands Parsed line:
trace:cmd:WCMD_DumpCommands 0x153788 0 00 (nil) L"cmd" Redir:L""
trace:cmd:WCMD_process_commands Executing command: 'L"cmd"'
trace:cmd:WCMD_execute command on entry:L"cmd" (0x32f590), with
'(null)'='(null)'
trace:cmd:WCMD_execute Command: 'L"cmd"'
trace:cmd:WCMD_execute param1: L"", param2: L""
trace:cmd:WCMD_run_program Searching in
'L".;C:\\windows\\system32;C:\\windows"' for 'L"cmd"'
trace:cmd:WCMD_run_program Found as L"Z:\\multimedia\\cmd.*"
trace:cmd:WCMD_run_program Found as L"C:\\windows\\system32\\cmd.EXE"
trace:cmd:wmain Command line parm: 'L"cmd"'
trace:cmd:wmain Set L"=Z:" to L"Z:\\multimedia"
CMD Version 1.1.38
Z:\multimedia>

mohag@mohagpc:/multimedia$ WINEDEBUG=cmd wine cmd /c 'dir '
trace:cmd:wmain Command line parm: 'L"C:\\windows\\system32\\cmd.exe"'
trace:cmd:wmain Command line parm: 'L"/c"'
trace:cmd:wmain /c command line: 'L"\"dir \""'
trace:cmd:WCMD_DumpCommands Parsed line:
trace:cmd:WCMD_DumpCommands 0x153790 0 00 (nil) L"\"dir \"" Redir:L""
trace:cmd:WCMD_process_commands Executing command: 'L"\"dir \""'
trace:cmd:WCMD_execute command on entry:L"\"dir \"" (0x32f590), with
'(null)'='(null)'
trace:cmd:WCMD_execute Command: 'L"\"dir \""'
trace:cmd:WCMD_execute param1: L"dir ", param2: L""
trace:cmd:WCMD_run_program Searching in
'L".;C:\\windows\\system32;C:\\windows"' for 'L"dir "'
trace:cmd:WCMD_run_program Found as L"Z:\\multimedia\\dir .*"
trace:cmd:WCMD_run_program Found as L"C:\\windows\\system32\\dir .*"
trace:cmd:WCMD_run_program ASSUMING INTERNAL
trace:cmd:WCMD_run_program Searching in
'L".;C:\\windows\\system32;C:\\windows"' for 'L"dir"'
trace:cmd:WCMD_run_program Found as L"Z:\\multimedia\\dir.*"
trace:cmd:WCMD_run_program Found as L"C:\\windows\\system32\\dir.*"
trace:cmd:WCMD_run_program ASSUMING INTERNAL
File not found

mohag@mohagpc:/multimedia$ WINEDEBUG=cmd wine cmd /c 'dir'
trace:cmd:wmain Command line parm: 'L"C:\\windows\\system32\\cmd.exe"'
trace:cmd:wmain Command line parm: 'L"/c"'
trace:cmd:wmain /c command line: 'L"dir"'
trace:cmd:WCMD_DumpCommands Parsed line:
trace:cmd:WCMD_DumpCommands 0x153788 0 00 (nil) L"dir" Redir:L""
trace:cmd:WCMD_process_commands Executing command: 'L"dir"'
trace:cmd:WCMD_execute command on entry:L"dir" (0x32f590), with
'(null)'='(null)'
trace:cmd:WCMD_execute Command: 'L"dir"'
trace:cmd:WCMD_execute param1: L"", param2: L""
trace:cmd:WCMD_directory Inserting default '*'
trace:cmd:WCMD_directory Writing volume for 'Z:'
Volume in drive Z is
Volume Serial Number is 0000-0000
<snip>


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux