Sweden-Number/programs/wcmd
Dave Pickles 5f8f4f77f5 Added more batch functionality, including the CALL GOTO and SHIFT
commands plus batch command arguments.
1999-06-26 10:24:08 +00:00
..
.cvsignore Added Wine command-line interpreter. 1999-06-06 15:24:04 +00:00
ChangeLog Added more batch functionality, including the CALL GOTO and SHIFT 1999-06-26 10:24:08 +00:00
Makefile.in Added Wine command-line interpreter. 1999-06-06 15:24:04 +00:00
README Added more batch functionality, including the CALL GOTO and SHIFT 1999-06-26 10:24:08 +00:00
batch.c Added more batch functionality, including the CALL GOTO and SHIFT 1999-06-26 10:24:08 +00:00
builtins.c Added more batch functionality, including the CALL GOTO and SHIFT 1999-06-26 10:24:08 +00:00
directory.c Added Wine command-line interpreter. 1999-06-06 15:24:04 +00:00
makefile.bcc Added Wine command-line interpreter. 1999-06-06 15:24:04 +00:00
wcmd.h Added more batch functionality, including the CALL GOTO and SHIFT 1999-06-26 10:24:08 +00:00
wcmdmain.c Added more batch functionality, including the CALL GOTO and SHIFT 1999-06-26 10:24:08 +00:00
wcmdrc.rc Added Wine command-line interpreter. 1999-06-06 15:24:04 +00:00

README

WCMD - 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
- Redirection, shell parameters and pipes
- Command-line qualifiers for most builtin commands
- MOVE command
- IF and FOR commands
- Wildcards and relative paths in COPY and RENAME
- Set functionality in DATE, TIME, ATTRIB, LABEL
- Full internationalisation of the text (and commands?).

WHAT DOESN'T WORK
- At present it is not possible to launch Windows GDI programs from the command
line. This is result of the way the CreateProcess() API call is implemented in
Wine, and will be fixed in a later Wine release.
- 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. As there is AFAIK no way to set the locale, they will always appear in
US format.
- Line editing and command recall doesn't work due to missing functionality in
Wine.
- File sizes in the DIR function are all given in 32 bits, though totals and
free space are computed to 64 bits.
- DIR/S fails if there is no matching file in the starting directory, ie
"DIR C:\TEMP\*.c /S" doesn't work if there is no file matching *.c in C:\TEMP
but one does exist 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.

WINE OR WIN32 BINARY?
Wcmd 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
"WCMD /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.