Sweden-Number/programs/cmd
Francois Gouget 4c8e218252 Assorted spelling fixes. 2008-02-15 12:09:24 +01:00
..
Cs.rc programs/cmd: Do not use hardcoded constants when corresponding macro is already defined. 2007-08-17 11:48:42 +02:00
De.rc programs/cmd: Do not use hardcoded constants when corresponding macro is already defined. 2007-08-17 11:48:42 +02:00
En.rc programs/cmd: Do not use hardcoded constants when corresponding macro is already defined. 2007-08-17 11:48:42 +02:00
Es.rc programs/cmd: Do not use hardcoded constants when corresponding macro is already defined. 2007-08-17 11:48:42 +02:00
Fr.rc cmd: Updated French translation. 2007-11-21 12:03:10 +01:00
Ja.rc programs/cmd: Do not use hardcoded constants when corresponding macro is already defined. 2007-08-17 11:48:42 +02:00
Ko.rc programs/cmd: Do not use hardcoded constants when corresponding macro is already defined. 2007-08-17 11:48:42 +02:00
Makefile.in cmd.exe: We can now store binary files in the repository. 2007-09-18 13:13:42 +02:00
Nl.rc cmd: Added & corrected Dutch translations. 2008-02-15 11:08:17 +01:00
No.rc programs/cmd: Do not use hardcoded constants when corresponding macro is already defined. 2007-08-17 11:48:42 +02:00
Pl.rc programs/cmd: Do not use hardcoded constants when corresponding macro is already defined. 2007-08-17 11:48:42 +02:00
Pt.rc programs/cmd: Do not use hardcoded constants when corresponding macro is already defined. 2007-08-17 11:48:42 +02:00
README cmd.exe: Support for DEL filename /s. 2007-04-24 11:53:13 +02:00
Ru.rc cmd: Additions to Russian translation. 2008-02-07 11:59:53 +01:00
Si.rc programs/cmd: Do not use hardcoded constants when corresponding macro is already defined. 2007-08-17 11:48:42 +02:00
Tr.rc programs/cmd: Do not use hardcoded constants when corresponding macro is already defined. 2007-08-17 11:48:42 +02:00
batch.c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
builtins.c Assorted spelling fixes. 2008-02-15 12:09:24 +01:00
directory.c cmd.exe: Fix redirect ordering on a command line. 2007-09-12 12:40:16 +02:00
wcmd.h cmd.exe: Fix redirect ordering on a command line. 2007-09-12 12:40:16 +02:00
wcmd.ico cmd.exe: We can now store binary files in the repository. 2007-09-18 13:13:42 +02:00
wcmdmain.c cmd: Include <time.h> for time(). 2008-01-22 12:00:42 +01:00
wcmdrc.rc cmd.exe: We can now store binary files in the repository. 2007-09-18 13:13:42 +02:00

README

CMD - A Command-Line Interface for WINE
Copyright (C) 1999 D Pickles (davep@nugate.demon.co.uk)
Open Source software published under the Wine Licence and Warranty.

This is an Alpha version and is very much "work in progress".

WHAT'S INCLUDED
- Sources
- A Makefile for compiling with LibWine. Build Wine with "-enable-dll" first.
- A Makefile for Borland C++ (needs editing for directories).

WHAT'S MISSING
- Command-line qualifiers for most builtin commands
- Set functionality in DATE, TIME, ATTRIB, LABEL
- Full internationalisation of the text (and commands?).

WHAT DOESN'T WORK
- The ATTRIB command reports all files having their Archive flag set, and the
READONLY setting depends on the Unix file permissions. All other flags are
always clear. The Wine attributes API calls map to the Unix stat() function
which cannot handle the other attributes available in DOS.
- Date/timestamps of files in the DIR listing are shown using the current
locale, which is set using the Unix LANG environment variable. By default the
US date-time format is used. Set eg "LANG=en_GB" for DD/MM/YY dates and 24-hour
times.
- Line editing and command recall doesn't work due to missing functionality in
Wine.
- Redirection is implemented as a command line is parsed. This means that ">"
and "<" symbols cannot appear in command arguments even within quotes.
- In many cases parsing and syntax checking is less rigorous than DOS. Thus an
existing DOS batch file will probably run unchanged under wine's cmd but the 
reverse may not be the case.

WINE OR WIN32 BINARY?
cmd can be built as a Wine binary, or (using a Win32 compiler) as a Win32 .EXE
image. The Wine binary is simpler to invoke from the U**x command line or from
a GUI such as KDE, however it is not possible to invoke a second shell using the
"CMD /C filename" syntax. Conversely a Win32 application can be invoked from a
Win32 GUI such as Program Manager but that needs starting under Wine first.