Commit Graph

33 Commits

Author SHA1 Message Date
Aric Stewart 1d5adff0f1 wcmd: mkdir recursive create
In at least both win2k and winxp mkdir from the command prompt can
recursively create full directory paths. This implements that
functionality.
2005-12-03 18:02:15 +01:00
Rein Klazes 0bf64a4706 Avoid formatted output in a few more places where formatting is not
really needed and output could be large enough to be truncated.
2005-12-02 11:25:51 +01:00
Rein Klazes a18ea3dd1e Don't use formatted output in WCMD_setshow_sortenv.
Don't use unsafe vsprintf in WCMD_output.
2005-12-01 15:58:16 +01:00
Mike McCormack 516a577df1 Fix gcc 4.0 warnings. 2005-08-19 10:04:03 +00:00
Detlef Riekenberg a51dcfcfc6 Do not print an error message when deleting a nonexistent variable. 2005-07-11 10:23:37 +00:00
Andreas Mohr cf2b9f093d Constify wcmd. 2005-06-27 09:48:57 +00:00
Jason Edmeades c79342a11a Make 'exist' in wcmd handle both file and directories. 2005-02-14 11:01:35 +00:00
Eric Pouech 5c2a891c43 Made some functions and variables static. 2004-11-29 18:00:10 +00:00
Alexandre Julliard df80b56953 Fixed bug with % signs in help output (reported by Henning Gerhardt). 2004-07-30 18:47:55 +00:00
Francois Gouget cfc3943c5f Make our ascii strings static const.
Remove a couple string variables that were used only once and use the
string literal directly.
2004-05-04 04:13:05 +00:00
Mike McCormack 9643b79842 Implement setlocal/endlocal. 2004-03-22 22:56:58 +00:00
Mike McCormack 8d02010ff7 Fixed handling of "echo." 2004-03-18 04:01:32 +00:00
Mike McCormack bbe0e2ce80 Sort the output of wcmd's set command. 2003-12-30 19:17:31 +00:00
Daniel Marmier 8e5bb20542 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-09 04:39:01 +00:00
Sylvain Petreolle c5fe7f034c French translation + misc fixes. 2003-07-11 03:49:19 +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
Sylvain Petreolle fdd0bfa13c Fixed handling of PATH command with spaces. 2003-02-11 22:01:11 +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
Uwe Bonnes 6b4d9e0932 More verbose output when file not found. 2002-07-24 19:00:25 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +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 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
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
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
Jason Edmeades a5910f45bd - Support whitespace around commands better, and support the @
prefix better
- Enhance the set support to unset, display value error correctly
- Enhance the command line support for parms, and env var expansion
- Enhance the echo command to not loose whitespace, and display
  output with % signs better
2000-08-01 02:14:33 +00:00
Alexandre Julliard bc4b88ffcd Fixed resource loading. 2000-04-19 16:47:20 +00:00
Dave Pickles 036a9f79a9 FOR and IF commands added.
MOVE command added, but no wildcard support.
Redirection added.
Fixed TIME (was reporting in GMT).
More help text.
1999-07-10 11:36:45 +00:00
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
Dave Pickles 74f440eabf Added Wine command-line interpreter. 1999-06-06 15:24:04 +00:00