Commit Graph

64 Commits

Author SHA1 Message Date
Francois Gouget d98f4a5e43 Fix handling of wcmd /c "c:\Program Files\hello.bat".
Make /c and /k effectively exclusive, like the real cmd does.
Fix handling of /q: it's compatible with /c and /k.
Added compatibility with /t /x and /y, just ignore them.
2003-05-11 02:48:17 +00:00
Stefan Leichter a127ad1cd1 Let wcmd handle .cmd files like .bat files. 2003-03-25 00:33:56 +00:00
Sylvain Petreolle 98f44486be Allow to run autoexec.bat when launching wcmd, it was broken due to a
function change.
2003-03-05 02:49:04 +00:00
Eric Pouech b2f079bade - don't create a new console upon startup
- no longer assume we're always attached to a console
2003-02-27 01:41:21 +00:00
Eric Pouech 841d9828e9 - made support for paged output a generic feature in wcmd
- rewrote DIR command accordingly
2003-02-25 03:58:42 +00:00
Dan Kegel a20622d7de Make 'cmd /c cl /MUMBLE foo.c' pass /MUMBLE to cl. 2003-02-24 20:39:53 +00:00
Sylvain Petreolle fdd0bfa13c Fixed handling of PATH command with spaces. 2003-02-11 22:01:11 +00:00
Dan Kegel 8b429f766d Add real syntax doc for LABEL command. 2003-01-30 00:15:50 +00:00
Dan Kegel 74e15940cc \ at EOL in string now behaves like in msvc6's rc. 2003-01-21 00:28:28 +00:00
Alexandre Julliard 36bf792fd7 Use proper file sharing parameters when opening files.
Fixed handling of 'if a == b' syntax in batch files.
2003-01-15 03:35:32 +00:00
Alexandre Julliard ae4311c71c Defined NONAMELESSUNION/STRUCT directly in the files that need it
instead of globally in the makefile.
2003-01-07 23:11:12 +00:00
Chris Morgan c87595c994 Default to $P$G prompt. Make width of date 10 characters to align
date column with DATE_SHORTDATE format.
2003-01-02 17:47:40 +00:00
Sylvain Petreolle 00f5094a57 Implement $V in builtin PROMPT. 2002-12-11 00:15:20 +00:00
Jaco Greeff 63e8a260eb Skip the allocation of a new console on "wcmd /c <command>" execution,
using the current allocated STDIN and STDOUT handles for command
input/output.
2002-11-04 22:36:07 +00:00
Steven Edwards 629f02b329 Porting fix. 2002-10-28 23:54:08 +00:00
Alexandre Julliard 11d606db26 Try CreateProcess even if SHGetFileInfo fails so that we can launch
Unix binaries.
2002-10-09 20:38:36 +00:00
Uwe Bonnes 5a2e82d719 WCMD_parse: allow slashes in command filenames. 2002-09-12 20:43:54 +00:00
Alexandre Julliard dd0bdbe44e Removed the __uint* types from basetsd.h since they don't exist under
Windows. Fixed a few other issues with type definitions.
2002-09-12 17:29:12 +00:00
Uwe Bonnes a47eb31d2a WCMD_run_program: don't try to run an empty line. 2002-07-24 19:00:48 +00:00
Uwe Bonnes 6b4d9e0932 More verbose output when file not found. 2002-07-24 19:00:25 +00:00
Uwe Bonnes b17ed7e048 WCMD_batch: increase possible line length and warn if still too small. 2002-07-24 19:00:05 +00:00
Gregg Mattinson d0f8bf3743 Modified WCMD_filesize64 to handle unsigned numbers. 2002-07-05 22:47:56 +00:00
Alexandre Julliard 7cae558bdc Removed some more trailing whitespace. 2002-06-01 02:55:48 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard cc2ee7636d Renamed Winelib apps to .exe.so to follow the dll naming convention. 2002-05-21 19:42:29 +00:00
Alexandre Julliard 2ab7625934 Removed most imports of ntdll since we no longer import Wine internal
functions from there.
2002-05-17 03:37:12 +00:00
Alexandre Julliard ad53383f9b Added winebuild support for generating a .dbg.c file containing the
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard 67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard 32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Jason Edmeades bcc6256bf0 Add support for the 'title' command. 2002-05-04 18:29:31 +00:00
Jason Edmeades a88289500c - Support for dir /w and /b flags
- Fixed a couple of unclosed FindFirst/FindNext pairs
2002-04-29 23:33:09 +00:00
Jason Edmeades a4c214e736 Emulate the dos cmd 'cls'. 2002-04-29 17:12:57 +00:00
Jason Edmeades 13c5117fbb - Fixed move and copy when no destination supplied (assumes '.' now as
per windows)
- Fixed move so uses full path name for destination file, and if
  destination is a directory, uses original filename.
2002-04-20 20:54:38 +00:00
Alexandre Julliard 65a7a108b1 Removed changelog entries that are in the main changelog, and added
notice to not edit the secondary changelogs anymore.
2002-04-11 23:49:59 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Andriy Palamarchuk 7ab787fa87 Removed alternative make scripts. 2002-02-27 18:49:56 +00:00
Steven Edwards ba7ccc4cc6 Changes wine_main to main to properly build on all platforms. 2002-01-29 02:59:22 +00:00
Alexandre Julliard bef8e16fdf Compile all programs with -DSTRICT -DNONAMELESSUNION -DNONAMELESSSTRUCT. 2001-11-24 17:07:08 +00:00
Dave Pickles a9d0209c75 - Fix uninitialised variable problem in DIR command.
- Correct some comments.
2001-06-20 22:52:12 +00:00
Francois Gouget f860ded319 ULARGE_INTEGER may have a dummy struct name. 2001-06-08 18:59:03 +00:00
Dave Pickles 64fba1cb84 - Report file and directory sizes using 64-bit arithmetic (like NT).
- Handle pipes in commands.
2001-06-04 02:55:38 +00:00
François Gouget 12b352694b The last parameter of CreateFile is a HANDLE and should thus be NULL. 2001-01-02 20:40:58 +00:00
Alexandre Julliard a10fbddeb9 Build most programs as .so files. 2000-11-10 23:45:20 +00:00
Alexandre Julliard 231cc27c80 Added some missing imports. 2000-11-09 20:41:13 +00:00
Dave Pickles ebb2791164 Pause command interpreter while executing a console-mode app. 2000-11-02 20:07:07 +00:00
Alexandre Julliard 1a3f705fc1 Added import of ntdll. 2000-10-31 00:22:41 +00:00
Alexandre Julliard 21ec006fc1 Build Win32 resources as .res files and dump them into the .spec.c file. 2000-10-23 21:39:39 +00:00
Hidenori Takeshima 269b409712 Added a few missing imports. 2000-08-04 21:07:23 +00:00
Alexandre Julliard 74cc65a940 Added a few missing imports. 2000-08-04 04:12:08 +00:00
Dave Pickles ebecf50229 Added support for ERRORLEVEL.
Most errors reported via FormatMessage().
COPY command now works correctly if output specifier is a directory.
2000-08-01 22:02:18 +00:00