Sweden-Number/programs/cmd
Alexandre Julliard 854c9b2089 cmd.exe: Don't use wvsprintf on sysv-style varargs, use a libwine function instead. 2009-01-03 11:38:26 +01:00
..
Cs.rc cmd: Remove spaces before '\n' in resource strings. 2008-06-11 20:03:12 +02:00
Da.rc cmd: Remove spaces before '\n' in resource strings. 2008-06-11 20:03:12 +02:00
De.rc cmd: Remove spaces before '\n' in resource strings. 2008-06-11 20:03:12 +02:00
En.rc cmd: Remove spaces before '\n' in resource strings. 2008-06-11 20:03:12 +02:00
Es.rc cmd: Remove spaces before '\n' in resource strings. 2008-06-11 20:03:12 +02:00
Fr.rc cmd: Remove spaces before '\n' in resource strings. 2008-06-11 20:03:12 +02:00
Ja.rc cmd: Convert Japanese resource to UTF-8. 2008-10-13 11:39:23 +02:00
Ko.rc *Ko.rc: Update Korean resource. 2008-12-11 12:21:07 +01:00
Makefile.in cmd: Add a nicer icon. 2008-03-20 16:12:48 +01:00
Nl.rc cmd: Remove spaces before '\n' in resource strings. 2008-06-11 20:03:12 +02:00
No.rc cmd: Remove spaces before '\n' in resource strings. 2008-06-11 20:03:12 +02:00
Pl.rc cmd: Remove spaces before '\n' in resource strings. 2008-06-11 20:03:12 +02:00
Pt.rc cmd: Remove spaces before '\n' in resource strings. 2008-06-11 20:03:12 +02:00
README cmd.exe: Support for DEL filename /s. 2007-04-24 11:53:13 +02:00
Ru.rc cmd: Remove spaces before '\n' in resource strings. 2008-06-11 20:03:12 +02:00
Si.rc cmd: Remove spaces before '\n' in resource strings. 2008-06-11 20:03:12 +02:00
Tr.rc cmd: Remove spaces before '\n' in resource strings. 2008-06-11 20:03:12 +02:00
batch.c cmd: Remove some superfluous casts. 2008-12-04 12:08:24 +01:00
builtins.c cmd.exe: Use WCMD_CURRENTTIME resource to show the time. 2008-12-30 13:40:36 +01:00
directory.c cmd: Reorder some functions to avoid forward declarations. 2008-12-31 12:27:59 +01:00
wcmd.h cmd.exe: Fix pipes. 2008-03-04 11:54:21 +01:00
wcmd.ico cmd: Add a nicer icon. 2008-03-20 16:12:48 +01:00
wcmd.svg cmd: Add a nicer icon. 2008-03-20 16:12:48 +01:00
wcmdmain.c cmd.exe: Don't use wvsprintf on sysv-style varargs, use a libwine function instead. 2009-01-03 11:38:26 +01:00
wcmdrc.rc cmd: Added Danish translation. 2008-05-05 13:35:05 +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.