Login Register






Basic Batch Commands filter_list
Author
Message
Basic Batch Commands #1
If you wanna start coding better off knowing your basic commands.

ansi.sys - Defines functions that change display graphics, control cursor movement, and reassign keys.
append - Causes MS-DOS to look in other directories when editing a file or running a command.
arp - Displays, adds, and removes arp information from network devices.
assign - Assign a drive letter to an alternate letter.
assoc View the file associations.
at - Schedule a time to execute commands or programs.
atmadm - Lists connections and addresses seen by Windows ATM call manager.
attrib - Display and change file attributes.
bootcfg - Recovery console command that allows a user to view, modify, and rebuild the boot.ini
cacls - View and modify file ACL's.
call - Calls a batch file from another batch file.
cd - Changes directories.
chcp - Supplement the International keyboard and character set information.
chdir - Changes directories.
chdsk - Check the hard disk drive running FAT for errors.
chkntfs -Check the hard disk drive running NTFS for errors.
choice - Specify a listing of multiple options within a batch file.
cls - Clears the screen. Internal
cmd - Opens the command interpreter.
color - Easily change the foreground and background color of the MS-DOS window.
command - Opens the command interpreter.
comp - Compares files.
compact - Compresses and uncompress files.
control - Open Control Panel icons from the MS-DOS prompt.
convert - Convert FAT to NTFS.
copy - Copy one or more files to an alternate location.
ctty - Change the computers input/output devices.
date - View or change the systems date.
debug - Debug utility to create assembly programs to modify hardware settings.
defrag - Re-arrange the hard disk drive to help with loading programs.
del - Deletes one or more files.
delete - Recovery console command that deletes a file.
deltree - Deletes one or more files or directories.
dir - List the contents of one or more directory.
disable - Recovery console command that disables Windows system services or drivers. Recovery
diskcomp - Compare a disk with another disk. External
diskcopy - Copy the contents of one disk and place them on another disk. External
doskey - Command to view and execute commands that have been run in the past. External
dosshell - A GUI to help with early MS-DOS users. External
drivparm - Enables overwrite of original device drivers. Internal
echo - Displays messages and enables and disables echo. Internal
edit - View and edit files. External
edlin - View and edit files. External
emm386 - Load extended Memory Manager. External
ename - Recovery console command to enable a disable service or driver. Recovery
endlocal - Stops the localization of the environment changes enabled by the setlocal command. Internal
erase - Erase files from computer. Internal
exit - Exit from the command interpreter. Internal
expand - Expand a Microsoft Windows file back to it's original format. External
extract - Extract files from the Microsoft Windows cabinets. External
fasthelp - Displays a listing of MS-DOS commands and information about them. External
fc - Compare files. External
fdisk - Utility used to create partitions on the hard disk drive. External
find - Search for text within a file. External
findstr - Searches for a string of text within a file. External
fixboot - Writes a new boot sector. Recovery
fixmbr - Writes a new boot record to a disk drive. Recovery
for - Boolean used in batch files. Internal
format - Command to erase and prepare a disk drive. External
ftp - Command to connect and operate on a FTP server. External
ftype - Displays or modifies file types used in file extension associations. Recovery
goto - Moves a batch file to a specific label or location. Internal
graftabl - Show extended characters in graphics mode. External
help - Display a listing of commands and brief explanation. External
if - Allows for batch files to perform conditional processing. Internal
ifshlp.sys - 32-bit file manager. External
ipconfig - Network command to view network adapter settings and assigned values. External
keyb - Change layout of keyboard. External
label - Change the label of a disk drive. External
lh - Load a device driver in to high memory. Internal
listsvc - Recovery console command that displays the services and drivers. Recovery
loadfix - Load a program above the first 64k. External
loadhigh - Load a device driver in to high memory. Internal
lock - Lock the hard disk drive. Internal
logoff - Logoff the currently profile using the computer. External
logon - Recovery console command to list installations and enable administrator login. Recovery
map - Displays the device name of a drive. Recovery
md - Command to create a new directory. Internal
mem - Display memory on system. External
mkdir - Command to create a new directory. Internal
mode - Modify the port or display settings. External
more - Display one page at a time. External
move - Move one or more files from one directory to another directory. Internal
msav - Early Microsoft Virus scanner. External
msd - Diagnostics utility. External
msdex - Utility used to load and provide access to the CD-ROM. External
nbtstat - Displays protocol statistics and current TCP/IP connections using NBT External
net - Update, fix, or view the network or network settings External
netsh - Configure dynamic and static network information from MS-DOS. External
netstat - Display the TCP/IP network protocol statistics and information. External
nlsfunc - Load country specific information. External
nslookup - Look up an IP address of a domain or host on a network. External
path - View and modify the computers path location. Internal
pathping - View and locate locations of network latency. External
pause - Command used in batch files to stop the processing of a command. Internal
ping - Test / send information to another network computer or network device. External
popd - Changes to the directory or network path stored by the pushd command. Internal
power - Conserve power with computer portables. External
print - Prints data to a printer port. External
prompt - View and change the MS-DOS prompt. Internal
pushd - Stores a directory or network path in memory so it can be returned to at any time. Internal
qbasic - Open the QBasic. External
rd - Removes an empty directory. Internal
ren - Renames a file or directory. Internal
rename - Renames a file or directory. Internal
rmdir - Removes an empty directory. Internal
robocopy - A robust file copy command for the Windows command line.
route - View and configure windows network route tables. External
runas - Enables a user to run a program as a different user. External
scandisk - Run the scandisk utility. External
scanreg - Scan registry and recover registry from errors. External
set - Change one variable or string to another. Internal
setlocal - Enables local environments to be changed without affecting anything else. Internal
setver - Change MS-DOS version to trick older MS-DOS programs. External
share - Installs support for file sharing and locking capabilities. External
shift - Changes the position of replaceable parameters in a batch program. Internal
shutdown - Shutdown the computer from the MS-DOS prompt. External
smartdrv - Create a disk cache in conventional memory or extended memory. External
sort - Sorts the input and displays the output to the screen. External
start - Start a separate window in Windows from the MS-DOS prompt. Internal
subst - Substitute a folder on your computer for another drive letter. External
switches - Remove add functions from MS-DOS. Internal
sys - Transfer system files to disk drive. External
telnet - Telnet to another computer / device from the prompt. External
time - View or modify the system time. Internal
title - Change the title of their MS-DOS window. Internal
tracert - Visually view a network packets route across a network. External
tree - View a visual tree of the hard disk drive. External
type - Display the contents of a file. Internal
undelete - Undelete a file that has been deleted. External
unformat - Unformat a hard disk drive. External
unlock - Unlock a disk drive. Internal
ver - Display the version information. Internal
verify - Enables or disables the feature to determine if files have been written properly. Internal
vol - Displays the volume information about the designated drive. Internal
xcopy - Copy multiple files, directories, or drives from one location to another. External

It is messy, sorry Blush

Credit : Google
No PAIN, No GAIN!

Reply

RE: Basic Batch Commands #2
(06-03-2012, 09:33 PM)DiamonD.ZeuS Wrote: If you wanna start coding better off knowing your basic commands.

ansi.sys - Defines functions that change display graphics, control cursor movement, and reassign keys.
append - Causes MS-DOS to look in other directories when editing a file or running a command.
arp - Displays, adds, and removes arp information from network devices.
assign - Assign a drive letter to an alternate letter.
assoc View the file associations.
at - Schedule a time to execute commands or programs.
atmadm - Lists connections and addresses seen by Windows ATM call manager.
attrib - Display and change file attributes.
bootcfg - Recovery console command that allows a user to view, modify, and rebuild the boot.ini
cacls - View and modify file ACL's.
call - Calls a batch file from another batch file.
cd - Changes directories.
chcp - Supplement the International keyboard and character set information.
chdir - Changes directories.
chdsk - Check the hard disk drive running FAT for errors.
chkntfs -Check the hard disk drive running NTFS for errors.
choice - Specify a listing of multiple options within a batch file.
cls - Clears the screen. Internal
cmd - Opens the command interpreter.
color - Easily change the foreground and background color of the MS-DOS window.
command - Opens the command interpreter.
comp - Compares files.
compact - Compresses and uncompress files.
control - Open Control Panel icons from the MS-DOS prompt.
convert - Convert FAT to NTFS.
copy - Copy one or more files to an alternate location.
ctty - Change the computers input/output devices.
date - View or change the systems date.
debug - Debug utility to create assembly programs to modify hardware settings.
defrag - Re-arrange the hard disk drive to help with loading programs.
del - Deletes one or more files.
delete - Recovery console command that deletes a file.
deltree - Deletes one or more files or directories.
dir - List the contents of one or more directory.
disable - Recovery console command that disables Windows system services or drivers. Recovery
diskcomp - Compare a disk with another disk. External
diskcopy - Copy the contents of one disk and place them on another disk. External
doskey - Command to view and execute commands that have been run in the past. External
dosshell - A GUI to help with early MS-DOS users. External
drivparm - Enables overwrite of original device drivers. Internal
echo - Displays messages and enables and disables echo. Internal
edit - View and edit files. External
edlin - View and edit files. External
emm386 - Load extended Memory Manager. External
ename - Recovery console command to enable a disable service or driver. Recovery
endlocal - Stops the localization of the environment changes enabled by the setlocal command. Internal
erase - Erase files from computer. Internal
exit - Exit from the command interpreter. Internal
expand - Expand a Microsoft Windows file back to it's original format. External
extract - Extract files from the Microsoft Windows cabinets. External
fasthelp - Displays a listing of MS-DOS commands and information about them. External
fc - Compare files. External
fdisk - Utility used to create partitions on the hard disk drive. External
find - Search for text within a file. External
findstr - Searches for a string of text within a file. External
fixboot - Writes a new boot sector. Recovery
fixmbr - Writes a new boot record to a disk drive. Recovery
for - Boolean used in batch files. Internal
format - Command to erase and prepare a disk drive. External
ftp - Command to connect and operate on a FTP server. External
ftype - Displays or modifies file types used in file extension associations. Recovery
goto - Moves a batch file to a specific label or location. Internal
graftabl - Show extended characters in graphics mode. External
help - Display a listing of commands and brief explanation. External
if - Allows for batch files to perform conditional processing. Internal
ifshlp.sys - 32-bit file manager. External
ipconfig - Network command to view network adapter settings and assigned values. External
keyb - Change layout of keyboard. External
label - Change the label of a disk drive. External
lh - Load a device driver in to high memory. Internal
listsvc - Recovery console command that displays the services and drivers. Recovery
loadfix - Load a program above the first 64k. External
loadhigh - Load a device driver in to high memory. Internal
lock - Lock the hard disk drive. Internal
logoff - Logoff the currently profile using the computer. External
logon - Recovery console command to list installations and enable administrator login. Recovery
map - Displays the device name of a drive. Recovery
md - Command to create a new directory. Internal
mem - Display memory on system. External
mkdir - Command to create a new directory. Internal
mode - Modify the port or display settings. External
more - Display one page at a time. External
move - Move one or more files from one directory to another directory. Internal
msav - Early Microsoft Virus scanner. External
msd - Diagnostics utility. External
msdex - Utility used to load and provide access to the CD-ROM. External
nbtstat - Displays protocol statistics and current TCP/IP connections using NBT External
net - Update, fix, or view the network or network settings External
netsh - Configure dynamic and static network information from MS-DOS. External
netstat - Display the TCP/IP network protocol statistics and information. External
nlsfunc - Load country specific information. External
nslookup - Look up an IP address of a domain or host on a network. External
path - View and modify the computers path location. Internal
pathping - View and locate locations of network latency. External
pause - Command used in batch files to stop the processing of a command. Internal
ping - Test / send information to another network computer or network device. External
popd - Changes to the directory or network path stored by the pushd command. Internal
power - Conserve power with computer portables. External
print - Prints data to a printer port. External
prompt - View and change the MS-DOS prompt. Internal
pushd - Stores a directory or network path in memory so it can be returned to at any time. Internal
qbasic - Open the QBasic. External
rd - Removes an empty directory. Internal
ren - Renames a file or directory. Internal
rename - Renames a file or directory. Internal
rmdir - Removes an empty directory. Internal
robocopy - A robust file copy command for the Windows command line.
route - View and configure windows network route tables. External
runas - Enables a user to run a program as a different user. External
scandisk - Run the scandisk utility. External
scanreg - Scan registry and recover registry from errors. External
set - Change one variable or string to another. Internal
setlocal - Enables local environments to be changed without affecting anything else. Internal
setver - Change MS-DOS version to trick older MS-DOS programs. External
share - Installs support for file sharing and locking capabilities. External
shift - Changes the position of replaceable parameters in a batch program. Internal
shutdown - Shutdown the computer from the MS-DOS prompt. External
smartdrv - Create a disk cache in conventional memory or extended memory. External
sort - Sorts the input and displays the output to the screen. External
start - Start a separate window in Windows from the MS-DOS prompt. Internal
subst - Substitute a folder on your computer for another drive letter. External
switches - Remove add functions from MS-DOS. Internal
sys - Transfer system files to disk drive. External
telnet - Telnet to another computer / device from the prompt. External
time - View or modify the system time. Internal
title - Change the title of their MS-DOS window. Internal
tracert - Visually view a network packets route across a network. External
tree - View a visual tree of the hard disk drive. External
type - Display the contents of a file. Internal
undelete - Undelete a file that has been deleted. External
unformat - Unformat a hard disk drive. External
unlock - Unlock a disk drive. Internal
ver - Display the version information. Internal
verify - Enables or disables the feature to determine if files have been written properly. Internal
vol - Displays the volume information about the designated drive. Internal
xcopy - Copy multiple files, directories, or drives from one location to another. External

It is messy, sorry Blush

Credit : Google

I... Would not call them 'commands'

Code:
C:\Windows\System32

Take a look in there and tell me what you see.
ArkPhaze
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]

Reply

RE: Basic Batch Commands #3
(06-04-2012, 01:57 PM)PhazeShift Wrote:
(06-03-2012, 09:33 PM)DiamonD.ZeuS Wrote: If you wanna start coding better off knowing your basic commands.

ansi.sys - Defines functions that change display graphics, control cursor movement, and reassign keys.
append - Causes MS-DOS to look in other directories when editing a file or running a command.
arp - Displays, adds, and removes arp information from network devices.
assign - Assign a drive letter to an alternate letter.
assoc View the file associations.
at - Schedule a time to execute commands or programs.
atmadm - Lists connections and addresses seen by Windows ATM call manager.
attrib - Display and change file attributes.
bootcfg - Recovery console command that allows a user to view, modify, and rebuild the boot.ini
cacls - View and modify file ACL's.
call - Calls a batch file from another batch file.
cd - Changes directories.
chcp - Supplement the International keyboard and character set information.
chdir - Changes directories.
chdsk - Check the hard disk drive running FAT for errors.
chkntfs -Check the hard disk drive running NTFS for errors.
choice - Specify a listing of multiple options within a batch file.
cls - Clears the screen. Internal
cmd - Opens the command interpreter.
color - Easily change the foreground and background color of the MS-DOS window.
command - Opens the command interpreter.
comp - Compares files.
compact - Compresses and uncompress files.
control - Open Control Panel icons from the MS-DOS prompt.
convert - Convert FAT to NTFS.
copy - Copy one or more files to an alternate location.
ctty - Change the computers input/output devices.
date - View or change the systems date.
debug - Debug utility to create assembly programs to modify hardware settings.
defrag - Re-arrange the hard disk drive to help with loading programs.
del - Deletes one or more files.
delete - Recovery console command that deletes a file.
deltree - Deletes one or more files or directories.
dir - List the contents of one or more directory.
disable - Recovery console command that disables Windows system services or drivers. Recovery
diskcomp - Compare a disk with another disk. External
diskcopy - Copy the contents of one disk and place them on another disk. External
doskey - Command to view and execute commands that have been run in the past. External
dosshell - A GUI to help with early MS-DOS users. External
drivparm - Enables overwrite of original device drivers. Internal
echo - Displays messages and enables and disables echo. Internal
edit - View and edit files. External
edlin - View and edit files. External
emm386 - Load extended Memory Manager. External
ename - Recovery console command to enable a disable service or driver. Recovery
endlocal - Stops the localization of the environment changes enabled by the setlocal command. Internal
erase - Erase files from computer. Internal
exit - Exit from the command interpreter. Internal
expand - Expand a Microsoft Windows file back to it's original format. External
extract - Extract files from the Microsoft Windows cabinets. External
fasthelp - Displays a listing of MS-DOS commands and information about them. External
fc - Compare files. External
fdisk - Utility used to create partitions on the hard disk drive. External
find - Search for text within a file. External
findstr - Searches for a string of text within a file. External
fixboot - Writes a new boot sector. Recovery
fixmbr - Writes a new boot record to a disk drive. Recovery
for - Boolean used in batch files. Internal
format - Command to erase and prepare a disk drive. External
ftp - Command to connect and operate on a FTP server. External
ftype - Displays or modifies file types used in file extension associations. Recovery
goto - Moves a batch file to a specific label or location. Internal
graftabl - Show extended characters in graphics mode. External
help - Display a listing of commands and brief explanation. External
if - Allows for batch files to perform conditional processing. Internal
ifshlp.sys - 32-bit file manager. External
ipconfig - Network command to view network adapter settings and assigned values. External
keyb - Change layout of keyboard. External
label - Change the label of a disk drive. External
lh - Load a device driver in to high memory. Internal
listsvc - Recovery console command that displays the services and drivers. Recovery
loadfix - Load a program above the first 64k. External
loadhigh - Load a device driver in to high memory. Internal
lock - Lock the hard disk drive. Internal
logoff - Logoff the currently profile using the computer. External
logon - Recovery console command to list installations and enable administrator login. Recovery
map - Displays the device name of a drive. Recovery
md - Command to create a new directory. Internal
mem - Display memory on system. External
mkdir - Command to create a new directory. Internal
mode - Modify the port or display settings. External
more - Display one page at a time. External
move - Move one or more files from one directory to another directory. Internal
msav - Early Microsoft Virus scanner. External
msd - Diagnostics utility. External
msdex - Utility used to load and provide access to the CD-ROM. External
nbtstat - Displays protocol statistics and current TCP/IP connections using NBT External
net - Update, fix, or view the network or network settings External
netsh - Configure dynamic and static network information from MS-DOS. External
netstat - Display the TCP/IP network protocol statistics and information. External
nlsfunc - Load country specific information. External
nslookup - Look up an IP address of a domain or host on a network. External
path - View and modify the computers path location. Internal
pathping - View and locate locations of network latency. External
pause - Command used in batch files to stop the processing of a command. Internal
ping - Test / send information to another network computer or network device. External
popd - Changes to the directory or network path stored by the pushd command. Internal
power - Conserve power with computer portables. External
print - Prints data to a printer port. External
prompt - View and change the MS-DOS prompt. Internal
pushd - Stores a directory or network path in memory so it can be returned to at any time. Internal
qbasic - Open the QBasic. External
rd - Removes an empty directory. Internal
ren - Renames a file or directory. Internal
rename - Renames a file or directory. Internal
rmdir - Removes an empty directory. Internal
robocopy - A robust file copy command for the Windows command line.
route - View and configure windows network route tables. External
runas - Enables a user to run a program as a different user. External
scandisk - Run the scandisk utility. External
scanreg - Scan registry and recover registry from errors. External
set - Change one variable or string to another. Internal
setlocal - Enables local environments to be changed without affecting anything else. Internal
setver - Change MS-DOS version to trick older MS-DOS programs. External
share - Installs support for file sharing and locking capabilities. External
shift - Changes the position of replaceable parameters in a batch program. Internal
shutdown - Shutdown the computer from the MS-DOS prompt. External
smartdrv - Create a disk cache in conventional memory or extended memory. External
sort - Sorts the input and displays the output to the screen. External
start - Start a separate window in Windows from the MS-DOS prompt. Internal
subst - Substitute a folder on your computer for another drive letter. External
switches - Remove add functions from MS-DOS. Internal
sys - Transfer system files to disk drive. External
telnet - Telnet to another computer / device from the prompt. External
time - View or modify the system time. Internal
title - Change the title of their MS-DOS window. Internal
tracert - Visually view a network packets route across a network. External
tree - View a visual tree of the hard disk drive. External
type - Display the contents of a file. Internal
undelete - Undelete a file that has been deleted. External
unformat - Unformat a hard disk drive. External
unlock - Unlock a disk drive. Internal
ver - Display the version information. Internal
verify - Enables or disables the feature to determine if files have been written properly. Internal
vol - Displays the volume information about the designated drive. Internal
xcopy - Copy multiple files, directories, or drives from one location to another. External

It is messy, sorry Blush

Credit : Google

I... Would not call them 'commands'

Code:
C:\Windows\System32

Take a look in there and tell me what you see.

what you think i will see?
No PAIN, No GAIN!

Reply

RE: Basic Batch Commands #4
All of the 'commands' are actually files. (Most of them)

Which just take in command line arguments.
ArkPhaze
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]

Reply