Real WCMD Patch

Ryan Cumming ryan at completely.kicks-ass.org
Tue Nov 5 23:48:04 CST 2002


Hi,

These changes have been verified against the CMD.EXE shipped with Windows XP 
SP1.

-Ryan

ChangeLog:
-Never allocate a new console
-Recognize .CMD as a valid extension for batch files
-Fix case sensitivity in batch file extension checks
-Fix case sensitivity on command line parameter checks
-CTTY is only present as a builtin in COMMAND.COM, not CMD.EXE. Remove its 
stub from WCMD
-Implement COLOR
-Don't show the version banner on /K
-Remove the (disabled) AUTOEXEC.BAT code. CMD.EXE does not run AUTOEXEC on 
startup, that's another COMMAND.COMism.
-Fix parsing of REM command
-Fix the "ECHO ." special case
-Fix the CALL command to be able to invoke non-batch files
-Add support for $A, $C, $F, and $S in PROMPT strings
-Set our default prompt to $P$G to match Windows
-A few fixes to format our output more like the real CMD.EXE, especially wrt 
newlines
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wcmd0a.diff
Type: text/x-diff
Size: 17127 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20021105/90680ca3/wcmd0a.bin


More information about the wine-patches mailing list