2003-06-23 20:15:15 +02:00
|
|
|
/*
|
|
|
|
* Wine command prompt
|
|
|
|
* English Language Support
|
|
|
|
*
|
|
|
|
* Copyright (C) 1999 D A Pickles
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
2006-05-18 14:49:52 +02:00
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
2003-06-23 20:15:15 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
|
|
|
|
|
|
|
|
STRINGTABLE
|
|
|
|
{
|
|
|
|
WCMD_ATTRIB, "Help about ATTRIB\n"
|
|
|
|
WCMD_CALL,
|
|
|
|
"CALL <batchfilename> is used within a batch file to execute commands\n\
|
|
|
|
from another batch file. When the batch file exits, control returns to\n\
|
|
|
|
the file which called it. The CALL command may supply parameters to the\n\
|
|
|
|
called procedure.\n\
|
|
|
|
\n\
|
|
|
|
Changes to default directory, environment variables etc made within a\n\
|
|
|
|
called procedure are inherited by the caller.\n"
|
|
|
|
|
|
|
|
WCMD_CD, "Help about CD\n"
|
|
|
|
WCMD_CHDIR, "Help about CHDIR\n"
|
|
|
|
|
2003-07-11 23:43:53 +02:00
|
|
|
WCMD_CLS, "CLS clears the console screen\n"
|
2003-06-23 20:15:15 +02:00
|
|
|
|
|
|
|
WCMD_COPY, "Help about COPY\n"
|
|
|
|
WCMD_CTTY, "Help about CTTY\n"
|
|
|
|
WCMD_DATE, "Help about DATE\n"
|
|
|
|
WCMD_DEL, "Help about DEL\n"
|
|
|
|
WCMD_DIR, "Help about DIR\n"
|
|
|
|
|
|
|
|
WCMD_ECHO,
|
|
|
|
"ECHO <string> displays <string> on the current terminal device.\n\
|
|
|
|
\n\
|
|
|
|
ECHO ON causes all subsequent commands in a batch file to be displayed\n\
|
|
|
|
on the terminal device before they are executed.\n\
|
|
|
|
\n\
|
|
|
|
ECHO OFF reverses the effect of a previous ECHO ON (ECHO is OFF by\n\
|
|
|
|
default). The ECHO OFF command can be prevented from displaying by\n\
|
|
|
|
preceding it with an @ sign.\n"
|
|
|
|
|
|
|
|
WCMD_ERASE, "Help about ERASE\n"
|
|
|
|
|
|
|
|
WCMD_FOR,
|
|
|
|
"The FOR command is used to execute a command for each of a set of files.\n\
|
|
|
|
\n\
|
|
|
|
Syntax: FOR %variable IN (set) DO command\n\
|
|
|
|
\n\
|
2003-10-04 06:21:19 +02:00
|
|
|
The requirement to double the % sign when using FOR in a batch file does\n\
|
2006-09-04 06:13:08 +02:00
|
|
|
not exist in wine's cmd.\n"
|
2003-06-23 20:15:15 +02:00
|
|
|
|
|
|
|
WCMD_GOTO,
|
|
|
|
"The GOTO command transfers execution to another statement within a\n\
|
|
|
|
batch file.\n\
|
|
|
|
\n\
|
|
|
|
The label which is the target of a GOTO may be up to 255 characters\n\
|
2004-07-24 01:02:09 +02:00
|
|
|
long but may not include spaces (this is different from other operating\n\
|
2003-06-23 20:15:15 +02:00
|
|
|
systems). If two or more identical labels exist in a batch file the\n\
|
2005-02-10 20:19:35 +01:00
|
|
|
first one will always be executed. Attempting to GOTO a nonexistent\n\
|
2003-06-23 20:15:15 +02:00
|
|
|
label terminates the batch file execution.\n\
|
|
|
|
\n\
|
|
|
|
GOTO has no effect when used interactively.\n"
|
|
|
|
|
|
|
|
WCMD_HELP, "Help about HELP\n"
|
|
|
|
|
|
|
|
WCMD_IF,
|
|
|
|
"IF is used to conditionally execute a command.\n\
|
|
|
|
\n\
|
|
|
|
Syntax: IF [NOT] EXIST filename command\n\
|
|
|
|
IF [NOT] string1==string2 command\n\
|
|
|
|
IF [NOT] ERRORLEVEL number command\n\
|
|
|
|
\n\
|
|
|
|
In the second form of the command, string1 and string2 must be in double\n\
|
|
|
|
quotes. The comparison is not case-sensitive.\n"
|
|
|
|
|
|
|
|
WCMD_LABEL, "LABEL is used to set a disk volume label. \n\
|
|
|
|
\n\
|
|
|
|
Syntax: LABEL [drive:]\n\
|
|
|
|
The command will prompt you for the new volume label for the given drive.\n\
|
|
|
|
You can display the disk volume label with the VOL command.\n"
|
|
|
|
|
|
|
|
WCMD_MD, "Help about MD\n"
|
|
|
|
WCMD_MKDIR, "Help about MKDIR\n"
|
|
|
|
WCMD_MOVE,
|
|
|
|
"MOVE relocates a file or directory to a new point within the file system.\n\
|
|
|
|
\n\
|
|
|
|
If the item being moved is a directory then all the files and subdirectories\n\
|
|
|
|
below the item are moved as well.\n\
|
|
|
|
\n\
|
|
|
|
MOVE fails if the old and new locations are on different DOS drive letters.\n"
|
|
|
|
|
|
|
|
WCMD_PATH,
|
2006-09-04 06:13:08 +02:00
|
|
|
"PATH displays or changes the cmd search path.\n\
|
2003-06-23 20:15:15 +02:00
|
|
|
\n\
|
|
|
|
Entering PATH will display the current PATH setting (initially this is\n\
|
|
|
|
the value given in your wine.conf file). To change the setting follow the\n\
|
|
|
|
PATH command with the new value.\n\
|
|
|
|
\n\
|
|
|
|
It is also possible to modify the PATH by using the PATH environment\n\
|
|
|
|
variable, for example:\n\
|
|
|
|
PATH %PATH%;c:\\temp \n"
|
|
|
|
|
|
|
|
WCMD_PAUSE,
|
|
|
|
"PAUSE displays a message on the screen 'Press Return key to continue'\n\
|
|
|
|
and waits for the user to press the Return key. It is mainly useful in\n\
|
|
|
|
batch files to allow the user to read the output of a previous command\n\
|
|
|
|
before it scrolls off the screen.\n"
|
|
|
|
|
|
|
|
WCMD_PROMPT,
|
|
|
|
"PROMPT sets the command-line prompt.\n\
|
|
|
|
\n\
|
|
|
|
The string following the PROMPT command (and the space immediately after)\n\
|
2006-09-04 06:13:08 +02:00
|
|
|
appears at the beginning of the line when cmd is waiting for input.\n\
|
2003-06-23 20:15:15 +02:00
|
|
|
\n\
|
|
|
|
The following character strings have the special meaning shown:\n\
|
|
|
|
\n\
|
|
|
|
$$ Dollar sign $_ Linefeed $b Pipe sign (|)\n\
|
|
|
|
$d Current date $e Escape $g > sign\n\
|
2003-07-11 05:49:19 +02:00
|
|
|
$l < sign $n Current drive $p Current path\n\
|
2006-09-04 06:13:08 +02:00
|
|
|
$q Equal sign $t Current time $v cmd version\n\
|
2003-06-23 20:15:15 +02:00
|
|
|
\n\
|
|
|
|
Note that entering the PROMPT command without a prompt-string resets the\n\
|
2003-10-27 23:02:37 +01:00
|
|
|
prompt to the default, which is the current directory (which includes the\n\
|
|
|
|
current drive letter) followed by a greater-than (>) sign.\n\
|
2003-07-11 23:43:53 +02:00
|
|
|
(like a command PROMPT $p$g).\n\
|
2003-06-23 20:15:15 +02:00
|
|
|
\n\
|
|
|
|
The prompt can also be changed by altering the PROMPT environment variable,\n\
|
|
|
|
so the command 'SET PROMPT=text' has the same effect as 'PROMPT text'\n"
|
|
|
|
|
|
|
|
WCMD_REM,
|
|
|
|
"A command line beginning REM (followed by a space) performs no\n\
|
|
|
|
action, and can therefore be used as a comment in a batch file.\n"
|
|
|
|
|
|
|
|
WCMD_REN, "Help about REN\n"
|
|
|
|
WCMD_RENAME, "Help about RENAME\n"
|
|
|
|
WCMD_RD, "Help about RD\n"
|
|
|
|
WCMD_RMDIR, "Help about RMDIR\n"
|
|
|
|
|
|
|
|
WCMD_SET,
|
2006-09-04 06:13:08 +02:00
|
|
|
"SET displays or changes the cmd environment variables.\n\
|
2003-06-23 20:15:15 +02:00
|
|
|
\n\
|
|
|
|
SET without parameters shows all of the current environment.\n\
|
|
|
|
\n\
|
|
|
|
To create or modify an environment variable the syntax is:\n\
|
|
|
|
\n\
|
|
|
|
SET <variable>=<value>\n\
|
|
|
|
\n\
|
|
|
|
where <variable> and <value> are character strings. There must be no\n\
|
2003-07-11 05:49:19 +02:00
|
|
|
spaces before the equals sign, nor can the variable name\n\
|
2003-06-23 20:15:15 +02:00
|
|
|
have embedded spaces.\n\
|
|
|
|
\n\
|
|
|
|
Under Wine, the environment of the underlying operating system is\n\
|
|
|
|
included into the Win32 environment, there will generally therefore be\n\
|
|
|
|
many more values than in a native Win32 implementation. Note that it is\n\
|
2006-09-04 06:13:08 +02:00
|
|
|
not possible to affect the operating system environment from within cmd.\n"
|
2003-06-23 20:15:15 +02:00
|
|
|
|
|
|
|
WCMD_SHIFT,
|
|
|
|
"SHIFT is used in a batch file to remove one parameter from the head of\n\
|
|
|
|
the list, so parameter 2 becomes parameter 1 and so on. It has no effect\n\
|
|
|
|
if called from the command line.\n"
|
|
|
|
|
|
|
|
WCMD_TIME, "Help about TIME\n"
|
|
|
|
|
2006-09-04 06:13:08 +02:00
|
|
|
WCMD_TITLE, "Sets the window title for the cmd window, syntax TITLE [string]\n"
|
2003-06-23 20:15:15 +02:00
|
|
|
|
|
|
|
WCMD_TYPE,
|
|
|
|
"TYPE <filename> copies <filename> to the console device (or elsewhere\n\
|
|
|
|
if redirected). No check is made that the file is readable text.\n"
|
|
|
|
|
|
|
|
WCMD_VERIFY,
|
|
|
|
"VERIFY is used to set, clear or test the verify flag. Valid forms are:\n\
|
|
|
|
\n\
|
|
|
|
VERIFY ON Set the flag\n\
|
|
|
|
VERIFY OFF Clear the flag\n\
|
|
|
|
VERIFY Displays ON or OFF as appropriate.\n\
|
|
|
|
\n\
|
|
|
|
The verify flag has no function in Wine.\n"
|
|
|
|
|
|
|
|
WCMD_VER,
|
2006-09-04 06:13:08 +02:00
|
|
|
"VER displays the version of cmd you are running\n"
|
2003-06-23 20:15:15 +02:00
|
|
|
|
|
|
|
WCMD_VOL, "Help about VOL\n"
|
|
|
|
|
2007-02-23 23:17:28 +01:00
|
|
|
WCMD_PUSHD, "PUSHD <directoryname> saves the current directory onto a\n\
|
|
|
|
stack, and then changes the current directory to the supplied one.\n"
|
|
|
|
|
|
|
|
WCMD_POPD, "POPD changes current directory to the last one saved with\n\
|
|
|
|
PUSHD.\n"
|
|
|
|
|
2007-04-13 22:34:05 +02:00
|
|
|
WCMD_MORE, "MORE displays output of files or piped input in pages.\n"
|
|
|
|
|
2003-06-23 20:15:15 +02:00
|
|
|
WCMD_EXIT,
|
|
|
|
"EXIT terminates the current command session and returns\n\
|
2006-09-04 06:13:08 +02:00
|
|
|
to the operating system or shell from which you invoked cmd.\n"
|
2003-06-23 20:15:15 +02:00
|
|
|
|
2006-09-04 06:13:08 +02:00
|
|
|
1000, "CMD built-in commands are:\n\
|
2003-06-23 20:15:15 +02:00
|
|
|
ATTRIB\t\tShow or change DOS file attributes\n\
|
|
|
|
CALL\t\tInvoke a batch file from inside another\n\
|
|
|
|
CD (CHDIR)\tChange current default directory\n\
|
|
|
|
CLS\t\tClear the console screen\n\
|
|
|
|
COPY\t\tCopy file\n\
|
|
|
|
CTTY\t\tChange input/output device\n\
|
|
|
|
DATE\t\tShow or change the system date\n\
|
|
|
|
DEL (ERASE)\tDelete a file or set of files\n\
|
|
|
|
DIR\t\tList the contents of a directory\n\
|
|
|
|
ECHO\t\tCopy text directly to the console output\n\
|
|
|
|
HELP\t\tShow brief help details on a topic\n\
|
|
|
|
MD (MKDIR)\tCreate a subdirectory\n\
|
2007-04-13 22:34:05 +02:00
|
|
|
MORE\t\tDisplay output in pages\n\
|
2003-06-23 20:15:15 +02:00
|
|
|
MOVE\t\tMove a file, set of files or directory tree\n\
|
|
|
|
PATH\t\tSet or show the search path\n\
|
2007-02-23 23:17:28 +01:00
|
|
|
POPD\t\tRestores the directory to the last one saved with PUSHD\n\
|
2003-06-23 20:15:15 +02:00
|
|
|
PROMPT\t\tChange the command prompt\n\
|
2007-02-23 23:17:28 +01:00
|
|
|
PUSHD\t\tChanges to a new directory, saving the current one\n\
|
2003-06-23 20:15:15 +02:00
|
|
|
REN (RENAME)\tRename a file\n\
|
|
|
|
RD (RMDIR)\tDelete a subdirectory\n\
|
|
|
|
SET\t\tSet or show environment variables\n\
|
|
|
|
TIME\t\tSet or show the current system time\n\
|
2006-09-04 06:13:08 +02:00
|
|
|
TITLE\t\tSet the window title for the CMD session\n\
|
2003-06-23 20:15:15 +02:00
|
|
|
TYPE\t\tType the contents of a text file\n\
|
2006-09-04 06:13:08 +02:00
|
|
|
VER\t\tShow the current version of CMD\n\
|
2003-06-23 20:15:15 +02:00
|
|
|
VOL\t\tShow the volume label of a disk device\n\
|
2006-09-04 06:13:08 +02:00
|
|
|
EXIT\t\tClose down CMD\n\n\
|
2003-06-23 20:15:15 +02:00
|
|
|
Enter HELP <command> for further information on any of the above commands\n"
|
2007-02-28 00:18:57 +01:00
|
|
|
|
|
|
|
WCMD_CONFIRM, "Are you sure"
|
|
|
|
WCMD_YES, "Y"
|
|
|
|
WCMD_NO, "N"
|
2007-03-04 23:34:45 +01:00
|
|
|
WCMD_NOASSOC, "File association missing for extension %s\n"
|
2007-03-13 01:06:58 +01:00
|
|
|
WCMD_NOFTYPE, "No open command associated with file type '%s'\n"
|
2007-04-11 23:25:53 +02:00
|
|
|
WCMD_OVERWRITE, "Overwrite"
|
2007-04-13 22:34:05 +02:00
|
|
|
WCMD_MORESTR, "More..."
|
2003-06-23 20:15:15 +02:00
|
|
|
}
|