user32: Fix compiler warning
[wine/wine64.git] / programs / cmd / README
blobd7d80c2dd88e45d0b2cb00a03defd5446cfcf9bb
1 CMD - A Command-Line Interface for WINE
2 Copyright (C) 1999 D Pickles (davep@nugate.demon.co.uk)
3 Open Source software published under the Wine Licence and Warranty.
5 This is an Alpha version and is very much "work in progress".
7 WHAT'S INCLUDED
8 - Sources
9 - A Makefile for compiling with LibWine. Build Wine with "-enable-dll" first.
10 - A Makefile for Borland C++ (needs editing for directories).
12 WHAT'S MISSING
13 - Command-line qualifiers for most builtin commands
14 - Set functionality in DATE, TIME, ATTRIB, LABEL
15 - Full internationalisation of the text (and commands?).
17 WHAT DOESN'T WORK
18 - The ATTRIB command reports all files having their Archive flag set, and the
19 READONLY setting depends on the Unix file permissions. All other flags are
20 always clear. The Wine attributes API calls map to the Unix stat() function
21 which cannot handle the other attributes available in DOS.
22 - Date/timestamps of files in the DIR listing are shown using the current
23 locale, which is set using the Unix LANG environment variable. By default the
24 US date-time format is used. Set eg "LANG=en_GB" for DD/MM/YY dates and 24-hour
25 times.
26 - Line editing and command recall doesn't work due to missing functionality in
27 Wine.
28 - Redirection is implemented as a command line is parsed. This means that ">"
29 and "<" symbols cannot appear in command arguments even within quotes.
30 - In many cases parsing and syntax checking is less rigorous than DOS. Thus an
31 existing DOS batch file will probably run unchanged under wine's cmd but the 
32 reverse may not be the case.
34 WINE OR WIN32 BINARY?
35 cmd can be built as a Wine binary, or (using a Win32 compiler) as a Win32 .EXE
36 image. The Wine binary is simpler to invoke from the U**x command line or from
37 a GUI such as KDE, however it is not possible to invoke a second shell using the
38 "CMD /C filename" syntax. Conversely a Win32 application can be invoked from a
39 Win32 GUI such as Program Manager but that needs starting under Wine first.