Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> DOS >> Snippet

06 XP Changes to DOS


MS-DOS commands were changed in XP - some changes, some deletions.

Functionality of these commands were changed.
<chcp.asp>  Changes code pages for all Command Prompt windows. 
<diskcomp.asp> Command-line options /1 and /8 are not supported. 
diskperf       No longer needed to act upon a server computer. You can still use diskperf for remote administration. 
<diskcopy.asp> Command-line option /1 is not supported. 
<doskey.asp> Available for all character-based programs that accept buffered input. Doskey has been improved by a series of enhancements. 
<format.asp> Supports 1.44 MB floppy drive only. 20.8 MB floptical ( magneto-optical ) drive is no longer supported. Command-line options /b, /s, /u, /1, /4, and /8 are no longer supported. 
<label.asp>  The caret ( ^ ) and ampersand ( & ) symbols can be used in a volume label. 
<mode.asp>  The mode lptn[:][cols = c][lines = n] and mode lptn[:][c][,[n]] syntaxes are not supported. 
<print.asp>  Command-line options /b, /c, /m, /p, /q, /s, /t, and /u are not supported. 
<prompt.asp> New character combinations enable you to add ampersands ( $a ) , parentheses ( $c and $f ) , and spaces ( $s ) to your prompt. 
<recover.asp> Recovers files only. 
<rmdir.asp>  New /s command-line option deletes directories that contain files and subdirectories. 
<sort.asp>  Does not require TEMP environment variable. File size is unlimited. 
<xcopy.asp>  New /g command-line option creates decrypted destination files. 

Unavailable MS-DOS Commands
assign   not currently supported. 
backup   not currently supported. 
choice   not currently supported. 
ctty   not currently supported. 
dblspace  not currently supported. 
deltree  The rmdir /s command deletes directories containing files and subdirectories. for more information about the rmdir command, see Rmdir <rmdir.asp> 
dosshell Function is now inherent. 
drvspace  not currently supported. 
emm386  Function is now inherent. 
fasthelp  not currently supported. Use the help command at the command prompt. for more information about the help command, see Help <help.asp> for a complete list of command-line tools, see Command-line reference A-Z <ntcmds.asp>  
fdisk   not currently supported. Use the diskpart command, which enables you to manage disks, partitions, or volumes. for more information about the diskpart command, see Diskpart <diskpart.asp> 
include  Multiple configurations of the MS-DOS subsystem are not supported. 
interlnk  not currently supported. 
intersrv  not currently supported. 
join  Increased partition size and an improved file system eliminate the need to join drives. 
memmaker MS-DOS subsystem memory usage is automatically optimized. 
menucolor Multiple configurations of the MS-DOS subsystem are not supported. 
menudefault Multiple configurations of the MS-DOS subsystem are not supported. 
menuitem Multiple configurations of the MS-DOS subsystem are not supported. 
mirror   not currently supported. 
msav   not currently supported. 
msbackup Use the ntbackup command for computers with tape drives, or the xcopy command for computers without tape drives. for more information about the ntbackup command, see Ntbackup <ntbackup_command.asp> for more information about the xcopy command, see Xcopy <xcopy.asp> 
mscdex  It is unnecessary to configure the MS-DOS subsystem to use CD-ROM drives. Windows XP provides access to CD-ROM drives for the MS-DOS subsystem. 
msd   Use the System Information snap- in . To start System Information, click start , click Run, and then type msinfo32. 
numlock   not currently supported. 
power   not currently supported. 
restore   not currently supported. 
scandisk  not currently supported. Use the chkdsk command, which enables you to create and display a status report for a disk based on the file system. Chkdsk also lists and corrects errors on the disk. for more information about the chkdsk command, see Chkdsk <chkdsk.asp> 
smartdrv Caching for the MS-DOS subsystem is automatic. 
submenu  Multiple configurations of the MS-DOS subsystem are not supported. 
sys   Windows XP does not fit on a standard 1.2 MB or 1.44 MB floppy disk. 
undelete  not currently supported. 
unformat  not currently supported. 
vsafe   not currently supported.