Sweden-Number/programs/cmd
Jan Zerebecki 2dd35ac53b cmd: Remove redundant const. 2007-02-23 11:24:25 +01:00
..
Cs.rc cmd: Fix program name. 2007-02-14 12:21:36 +01:00
De.rc cmd: Fix program name. 2007-02-14 12:21:36 +01:00
En.rc programs/wcmd: Rename to programs/cmd. 2006-09-07 15:08:44 +02:00
Es.rc cmd: Fix program name. 2007-02-14 12:21:36 +01:00
Fr.rc cmd: Fix program name. 2007-02-14 12:21:36 +01:00
Ja.rc cmd: Fix program name. 2007-02-14 12:21:36 +01:00
Ko.rc cmd: Updated Korean resource. 2007-02-16 13:14:45 +01:00
Makefile.in makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Nl.rc cmd: Fix program name. 2007-02-14 12:21:36 +01:00
No.rc cmd: Fix program name. 2007-02-14 12:21:36 +01:00
Pl.rc cmd: Fix program name. 2007-02-14 12:21:36 +01:00
Pt.rc cmd: Fix program name. 2007-02-14 12:21:36 +01:00
README programs/wcmd: Rename to programs/cmd. 2006-09-07 15:08:44 +02:00
Ru.rc programs/wcmd: Rename to programs/cmd. 2006-09-07 15:08:44 +02:00
Si.rc cmd: Fix program name. 2007-02-14 12:21:36 +01:00
Tr.rc cmd: Fix program name. 2007-02-14 12:21:36 +01:00
batch.c cmd: Remove redundant const. 2007-02-23 11:24:25 +01:00
builtins.c cmd.exe: Support PATH= as a valid command. 2007-02-21 11:45:42 +01:00
directory.c programs/wcmd: Rename to programs/cmd. 2006-09-07 15:08:44 +02:00
wcmd.h cmd.exe: Support exit [/b] returncode. 2007-02-21 11:42:43 +01:00
wcmdmain.c cmd.exe: Add support for %ERRORLEVEL% in both batch and cmd line. 2007-02-21 11:48:06 +01:00
wcmdrc.rc programs/wcmd: Rename to programs/cmd. 2006-09-07 15:08:44 +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
- Wildcards and relative paths in COPY, MOVE and RENAME
- 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.
- DIR/S only works if no file specification is given, ie "DIR C:\TEMP /S" works
but "DIR C:\TEMP\*.C" doesn't work if a matching file exists in a lower
directory.
- Copy, rename, move, need the source and destination to be specified fully
with an absolute or relative path but no wildcards or partial filenames.
- 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.