Difference between revisions of "MS-DOS 6.22 Command Reference"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
Line 1: Line 1:
append - Causes MS-DOS to look in other directories when editing a file or running a command.<BR>
+
== COPY ==
arp - Displays, adds, and removes arp information from network devices.<BR>
+
 
assign - Assign a drive letter to an alternate letter.<BR>
+
Syntax:
assoc - View the file associations.<BR>
+
 
at - Schedule a time to execute commands or programs.<BR>
+
COPY [/Y|-Y] [/A][/B] [d:][path]filename [/A][/B] [d:][path][filename] [/V]
atmadm - Lists connections and addresses seen by Windows ATM call manager.<BR>
+
or
attrib - Display and change file attributes.<BR>
+
COPY [/Y|-Y] [/A][/B] [d:][path]filename+[d:][path]filename[...] [d:][path][filename] [/V]
batch<BR> console command that executes a series of commands in a file.<BR>
+
 
bootcfg<BR> console command that allows a user to view, modify, and rebuild the boot.ini<BR>
+
Purpose: Copies or appends files. Files can be copied with the same name or with a new name.
break - Enable / disable CTRL + C feature.<BR>
+
 
cacls - View and modify file ACL's.<BR>
+
/Y - Causes COPY to replace existing files without providing a confirmation prompt. By default, if you specify an existing file as the destination file, COPY will provide a confirmation prompt. (In previous versions of DOS, existing files were simply overwritten.)
call - Calls a batch file from another batch file.<BR>
+
 
cd - Changes directories.<BR>
+
/-Y - Displays a confirmation prompt before copying over existing files.
chcp - Supplement the International keyboard and character set information.<BR>
+
 
chdir - Changes directories.<BR>
+
/A - Used to copy ASCII files. Applies to the filename preceding it and to all following filenames. Files will be copied until an end-of-file mark is encountered in the file being copied. If an end-of-file mark is encountered in the file, the rest of the file is not copied. DOS will append an end-of-file mark at the end of the copied file.
chdsk - Check the hard disk drive running FAT for errors.<BR>
+
 
chkntfs - Check the hard disk drive running NTFS for errors.<BR>
+
/B - Used to copy binary files. Applies to the filename preceding it and to all following filenames. Copied files will be read by size (according to the number of bytes indicated in the file`s directory listing). An end-of-file mark is not placed at the end of the copied file.
choice - Specify a listing of multiple options within a batch file.<BR>
+
 
cls - Clears the screen.<BR>
+
/V - Checks after the copy to assure that a file was copied correctly. If the copy cannot be verified, the program will display an error message. Using this option will result in a slower copying process.  
cmd - Opens the command interpreter. - 
+
 
color - Easily change the foreground and background color of the MS-DOS window.<BR>
+
command - Opens the command interpreter. - 
+
comp - Compares files.<BR>
+
compact - Compresses and uncompress files.<BR>
+
control - Open Control Panel icons from the MS-DOS prompt.<BR>
+
convert - Convert FAT to NTFS.<BR>
+
copy - Copy one or more files to an alternate location.<BR>
+
ctty - Change the computers input/output devices.<BR>
+
date - View or change the systems date.<BR>
+
debug  - Debug utility to create assembly programs to modify hardware settings.<BR>
+
defrag  - Re-arrange the hard disk drive to help with loading programs.<BR>
+
del - Deletes one or more files.<BR>
+
delete - console command that deletes a file.<BR>
+
deltree - Deletes one or more files and/or directories.<BR>
+
dir - List the contents of one or more directory.<BR>
+
disable<BR> console command that disables Windows system services or drivers.<BR>
+
diskcomp - Compare a disk with another disk.<BR>
+
diskcopy - Copy the contents of one disk and place them on another disk.<BR>
+
doskey - Command to view and execute commands that have been run in the past.<BR>
+
dosshell - A GUI to help with early MS-DOS users.<BR>
+
drivparm - Enables overwrite of original device drivers.<BR>
+
echo - Displays messages and enables and disables echo.<BR>
+
edit - View and edit files.<BR>
+
edlin - View and edit files.<BR>
+
emm386 - Load extended Memory Manager.<BR>
+
ename - console command to enable a disable service or driver.<BR>
+
endlocal - Stops the localization of the environment changes enabled by the setlocal command.<BR>
+
erase - Erase files from computer.<BR>
+
exit - Exit from the command interpreter.<BR>
+
expand - Expand a Microsoft Windows file back to it's original format.<BR>
+
extract - Extract files from the Microsoft Windows cabinets.<BR>
+
fasthelp - Displays a listing of MS-DOS commands and information about them.<BR>
+
fc - Compare files.<BR>
+
fdisk - Utility used to create partitions on the hard disk drive.<BR>
+
find - Search for text within a file.<BR>
+
findstr - Searches for a string of text within a file.<BR>
+
fixboot - Writes a new boot sector.<BR>
+
fixmbr - Writes a new boot record to a disk drive.<BR>
+
for - Boolean used in batch files.<BR>
+
format - Command to erase and prepare a disk drive.<BR>
+
ftp - Command to connect and operate on a FTP server.<BR>
+
ftype - Displays or modifies file types used in file extension associations.<BR>
+
goto - Moves a batch file to a specific label or location.<BR>
+
graftabl - Show extended characters in graphics mode.<BR>
+
help - Display a listing of commands and brief explanation.<BR>
+
if - Allows for batch files to perform conditional processing.<BR>
+
ipconfig - Network command to view network adapter settings and assigned values.<BR>
+
keyb - Change layout of keyboard.<BR>
+
label - Change the label of a disk drive.<BR>
+
lh - Load a device driver in to high memory.<BR>
+
listsvc - console command that displays the services and drivers.<BR>
+
loadfix - Load a program above the first 64k.<BR>
+
loadhigh - Load a device driver in to high memory.<BR>
+
lock - Lock the hard disk drive.<BR>
+
logoff - Logoff the currently profile using the computer.<BR>
+
logon - console command to list installations and enable administrator login.<BR>
+
map - Displays the device name of a drive.<BR>
+
md - Command to create a new directory.<BR>
+
mem - Display memory on system.<BR>
+
mkdir - Command to create a new directory.<BR>
+
mode - Modify the port or display settings.<BR>
+
more - Display one page at a time.<BR>
+
move - Move one or more files from one directory to another directory.<BR>
+
msav - Early Microsoft Virus scanner.<BR>
+
msd - Diagnostics utility.<BR>
+
msdex - Utility used to load and provide access to the CD-ROM.<BR>
+
nbtstat - Displays protocol statistics and current TCP/IP connections using NBT<BR>
+
net - Update, fix, or view the network or network settings<BR>
+
netsh - Configure dynamic and static network information from MS-DOS.<BR>
+
netstat - Display the TCP/IP network protocol statistics and information.<BR>
+
nlsfunc - Load country specific information.<BR>
+
nslookup - Look up an IP address of a domain or host on a network.<BR>
+
path - View and modify the computers path location.<BR>
+
pathping - View and locate locations of network latency.<BR>
+
pause - Command used in batch files to stop the processing of a command.<BR>
+
ping - Test / send information to another network computer or network device.<BR>
+
popd - Changes to the directory or network path stored by the pushd command.<BR>
+
power - Conserve power with computer portables. <BR>
+
print - Prints data to a printer port.<BR>
+
prompt - View and change the MS-DOS prompt.<BR>
+
pushd - Stores a directory or network path in memory so it can be returned to at any time.<BR>
+
qbasic - Open the QBasic.<BR>
+
rd - Removes an empty directory.<BR>
+
ren - Renames a file or directory.<BR>
+
rename - Renames a file or directory.<BR>
+
rmdir - Removes an empty directory.<BR>
+
route - View and configure windows network route tables.<BR>
+
runas - Enables a user to run a program as a different user.<BR>
+
scandisk - Run the scandisk utility.<BR>
+
scanreg - Scan registry and recover registry from errors.<BR>
+
set - Change one variable or string to another. <BR>
+
setlocal - Enables local environments to be changed without affecting anything else. <BR>
+
setver - Change MS-DOS version to trick older MS-DOS programs.<BR>
+
share - Installs support for file sharing and locking capabilities. <BR>
+
shift - Changes the position of replaceable parameters in a batch program. <BR>
+
shutdown - Shutdown the computer from the MS-DOS prompt.<BR>
+
smartdrv - Create a disk cache in conventional memory or extended memory.<BR>
+
sort - Sorts the input and displays the output to the screen.<BR>
+
start - Start a separate window in Windows from the MS-DOS prompt.<BR>
+
subst - Substitute a folder on your computer for another drive letter. <BR>
+
switches - Remove add functions from MS-DOS.<BR>
+
sys - Transfer system files to disk drive.<BR>
+
telnet - Telnet to another computer / device from the prompt.<BR>
+
time - View or modify the system time.<BR>
+
title - Change the title of their MS-DOS window.<BR>
+
tracert - Visually view a network packets route across a network.<BR>
+
tree - View a visual tree of the hard disk drive.<BR>
+
type - Display the contents of a file.<BR>
+
undelete - Undelete a file that has been deleted.<BR>
+
unformat - Unformat a hard disk drive.<BR>
+
unlock - Unlock a disk drive.<BR>
+
ver - Display the version information.<BR>
+
verify - Enables or disables the feature to determine if files have been written properly. <BR>
+
vol - Displays the volume information about the designated drive. <BR>
+
xcopy - Copy multiple files, directories, and/or drives from one location to another.<BR>
+
  
 
&nbsp;
 
&nbsp;
  
 
&nbsp;
 
&nbsp;
 +
 +
==
  
  

Revision as of 21:56, 29 November 2010

COPY

Syntax:

COPY [/Y|-Y] [/A][/B] [d:][path]filename [/A][/B] [d:][path][filename] [/V] or COPY [/Y|-Y] [/A][/B] [d:][path]filename+[d:][path]filename[...] [d:][path][filename] [/V]

Purpose: Copies or appends files. Files can be copied with the same name or with a new name.

/Y - Causes COPY to replace existing files without providing a confirmation prompt. By default, if you specify an existing file as the destination file, COPY will provide a confirmation prompt. (In previous versions of DOS, existing files were simply overwritten.)

/-Y - Displays a confirmation prompt before copying over existing files.

/A - Used to copy ASCII files. Applies to the filename preceding it and to all following filenames. Files will be copied until an end-of-file mark is encountered in the file being copied. If an end-of-file mark is encountered in the file, the rest of the file is not copied. DOS will append an end-of-file mark at the end of the copied file.

/B - Used to copy binary files. Applies to the filename preceding it and to all following filenames. Copied files will be read by size (according to the number of bytes indicated in the file`s directory listing). An end-of-file mark is not placed at the end of the copied file.

/V - Checks after the copy to assure that a file was copied correctly. If the copy cannot be verified, the program will display an error message. Using this option will result in a slower copying process.


 

 

==