China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-27 01:47
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Can this thing be used like DOS? (newbie question) View 633 Replies 5
Original Poster Posted 2004-01-06 00:00 ·  中国 河北 保定 联通
初级用户
Credits 216
Posts 27
Joined 2004-01-05 00:00
22-year member
UID 14981
Gender Male
Status Offline
Running COMMAND in XP means going to Start/Accessories/Command Prompt. Can this thing be used like DOS?
Are DOS usage methods completely applicable in this program?
Can it run some of the programs that are supposed to be used in "Assembly Language" and "High-Level Language"?
Floor 2 Posted 2004-01-07 00:00 ·  中国 河北 保定 联通
初级用户
Credits 216
Posts 27
Joined 2004-01-05 00:00
22-year member
UID 14981
Gender Male
Status Offline
There doesn't seem to be a toolbar in there like DOS has, so how exactly do you use it?
Floor 3 Posted 2004-01-07 00:00 ·  中国 广东 汕头 电信
初级用户
老大不小
Credits 270
Posts 37
Joined 2003-12-31 00:00
22-year member
UID 14687
Gender Male
Status Offline
DOS experts would never go looking for a toolbar. You only need to learn the following commands

ASSOC Displays or modifies file extension associations.
AT Schedules commands and programs to run on a computer.
ATTRIB Displays or changes file attributes.
BREAK Sets or clears extended CTRL+C checking.
CACLS Displays or modifies file access control lists (ACLs).
CALL Calls one batch program from another.
CD Displays the name of the current directory or changes it.
CHCP Displays or sets the active code page number.
CHDIR Displays the name of the current directory or changes it.
CHKDSK Checks a disk and displays a status report.
CHKNTFS Displays or modifies boot-time disk checking.
CLS Clears the screen.
CMD Opens another Windows command interpreter window.
COLOR Sets the default console foreground and background colors.
COMP Compares the contents of two files or two sets of files.
COMPACT Displays or changes file compression on NTFS partitions.
CONVERT Converts FAT volumes to NTFS. You cannot convert
the current drive.
COPY Copies at least one file to another location.
DATE Displays or sets the date.
DEL Deletes at least one file.
DIR Displays the files and subdirectories in a directory.
DISKCOMP Compares the contents of two floppy disks.
DISKCOPY Copies the contents of one floppy disk to another floppy disk.
DOSKEY Edits the command line, recalls Windows commands, and creates macros.
ECHO Displays messages, or turns command echoing on or off.
ENDLOCAL Ends localization of environment changes in a batch file.
ERASE Deletes at least one file.
EXIT Exits the CMD.EXE program (command interpreter).
FC Compares two files or two sets of files, and displays
the differences.
FIND Searches for text strings in files.
FINDSTR Searches for strings in files.
FOR Runs a specified command for each file in a set of files.
FORMAT Formats a disk for use with Windows.
FTYPE Displays or modifies file types used in file extension associations.
GOTO Directs the Windows command interpreter to a labeled
line in a batch program.
GRAFTABL Enables Windows to display the extended character set
in graphics mode.
HELP Provides help information for Windows commands.
IF Performs conditional processing in batch programs.
LABEL Creates, changes, or deletes a disk volume label.
MD Creates a directory.
MKDIR Creates a directory.
MODE Configures system devices.
MORE Displays output one screen at a time.
MOVE Moves files from one directory to another.
PATH Displays or sets the search path for executable files.
PAUSE Pauses batch file processing and displays a message.
POPD Restores the previous value of the current directory saved by PUSHD.
PRINT Prints a text file.
PROMPT Changes the Windows command prompt.
PUSHD Saves the current directory and then changes it.
RD Removes a directory.
RECOVER Recovers readable information from a bad disk.
REM Records comments in batch files or CONFIG.SYS.
REN Renames files.
RENAME Renames files.
REPLACE Replaces files.
RMDIR Removes a directory.
SET Displays, sets, or removes Windows environment variables.
SETLOCAL Begins localization of environment changes in a batch file.
SHIFT Changes the position of replaceable parameters in a batch file.
SORT Sorts input.
START Starts another window to run a specified program or command.
SUBST Associates a path with a drive letter.
TIME Displays or sets the system time.
TITLE Sets the window title for a CMD.EXE session.
TREE Graphically displays the directory structure of a drive or path.
TYPE Displays the contents of a text file.
VER Displays the Windows version.
VERIFY Tells Windows whether to verify that files are correctly
written to disk.
VOL Displays a disk volume label and serial number.
XCOPY Copies files and directory trees.
C:\>给我$100,0000
Bad command or file name
Floor 4 Posted 2004-01-07 00:00 ·  中国 河北 保定 联通
初级用户
Credits 216
Posts 27
Joined 2004-01-05 00:00
22-year member
UID 14981
Gender Male
Status Offline
Man, thank you so much!
Floor 5 Posted 2004-01-07 00:00 ·  中国 河北 保定 联通
初级用户
Credits 216
Posts 27
Joined 2004-01-05 00:00
22-year member
UID 14981
Gender Male
Status Offline
Also, does that program called "Command Prompt" have some built-in programs like DOS does, for example things like DEBUG?
Are there any format requirements?
Could you give a few examples?
Many, many thanks!
Floor 6 Posted 2004-01-10 00:00 ·  中国 广东 深圳 龙岗区 电信
初级用户
Credits 192
Posts 23
Joined 2004-01-08 00:00
22-year member
UID 15110
Gender Male
Status Offline
The WINXP command-line tools are already somewhat different from traditional DOS commands, and of course they do not include quite a few DOS commands. For details, please refer to the WINXP help files.
Forum Jump: