Sie sind auf Seite 1von 3

BAT C#

commands
Command
Replacement
DOS
Win9x
ACINIUPD

Function

Available in

NT
OS/2
Modify INI files (TS only)

(3rd Party)
N

ANSI.SYS
Text attributes, cursor & keyboard manipulation
Y
N
N
Y
Download ANSI.COM (DOS only TSR)
APPEND Allows programs to open data files in specified directories as if they w
ere in the current directory (DOS)
Y
Y
Y
Y
DPATH
ARP
Display or modify IP-to-Physical address translation tables used by ARP
N
Y
Y
Y
ASSOC Associate a file extension with a file type, or list all associations
N
N
Y
N
AT
Command line scheduler N
N
Y
Y
JT, SCHTASKS
ATTRIB List & manipulate file attributes
Y
Y
Y
Y
AUTOFAIL
Suppress network connection error messages at startup N
N
N
Y
BACKUP Backup files to floppy disks (requires RESTORE from the exact same DOS v
ersion)
Y
Y
N
Y
NTBACKUP, Several commercial ima
ge backup tools
BASICA Basic interpreter for IBM PC-DOS
Y
N
N
N
GWBASIC, QBASIC
BCDEDIT
Sets properties in boot database to control boot loading (Window
s 7)
N
N
W7
N
BOOTCFG
Edit Windows boot settings in BOOT.INI (XP)
N
N
XP
N
BREAK Enable/disable extended Ctrl+C checking (16-bits)
Y
Y
Y
Y
CACLS Read and set file access permissions
N
N
Y
N
ICACLS (Windows 7), SECEDIT, SUBINACL, XCACLS
CALL
Run a batch file from within another batch file
Y
Y
Y
Y
CD
Show or change the current directory (same as CHDIR)
Y
Y
Y
Y
CDBURN Write ISO images to CD (Windows Server 2003 Resource Kit tool) N
N
2K3RK N
Download Image Burn
CERTREQ
Request certificates from a certification authority (Windows Ser
ver 2003)
N
N
Y
N
CERTUTIL
Manage certificates (Windows Server 2003)
N
N
Y
N
CHANGE Change TS port mappings, install mode, or enable/disable TS logon
N
N
TS
N
CHCP
Display or set the active Code Page
Y
Y
Y
Y
MODE
CHDIR Show or change the current directory (same as CD)
Y
Y
Y
Y
CHGLOGON
Enable/disable TS logon
N
N
Y
N
CHGPORT
CHGUSR
CHKDSK
Y
CHKNTFS
N
CHOICE
N

Change TS port mappings

TS

Change TS install mode N


N
TS
N
Check a disk for file system errors or bad sectors
Y
Y
Display or modify the checking of disk at boot time
Y
N
Prompt user for to choose option from list of choices 6
N
PMChoice

N
Y
N
Y

CIPHER Display or alter the encryption of directories [files]


s
N
N
Y
N
CLEANMGR
Automate cleanup of temporary files, IE cache,
& recycle bin (XP)
N
N
XP
N
CLS
Clear the screen/window
Y
Y
Y
CMD.EXE
Command interpreter (32-bits) N
N
CMDKEY Manage
N
N
COLOR Change
N
KOLOR
COMMAND.COM

on NTFS partition
downloaded files
Y
Y

stored user names and passwords (Windows Server 2003 and later)
2K3
N
text and background color in console
N
N
Y
Command interpreter (16-bits)

COMP
Compare files Y
Y
Y
Y
FC, Download my
scripts TxtComp, WINDIFF (GUI)
COMPACT
Display or modify file compression on NTFS partitions
N
Y
N
%COMSPEC%
Command interpreter specification in master environment
Y
Y
Y
Y
CONTROL
Start Control Panel or a Control Panel applet N
Y
Y
RUNDLL32 SHELL32.DLL,Control_RunDLL
CONVERT
Convert a FAT volume to NTFS
N
N
Y
COPY
Copy files
Y
Y
Y
Y
ROBOCOPY, XCOPY
CPROFILE
Clean profiles of wasted space (Windows Server 2003)
N
2K3
N
CSCRIPT
Console mode interpreter for VBScript/JScript N
Y
N
CSVDE Import/export data from Active Directory in CSV format N
2K
N
CTTY
Redirect all input and output to a file or (serial, parallel or
vice
Y
N
N
N
DATE
Display & manipulate system date
Y
Y
Y

Y
TXTCOMP
N

Y
N
N
Y
N
null) de
Y

DEBUG Debugger & assembler


Y
Y
Y
Y
DEFRAG Locate and consolidate fragmented boot files, data files, and folders on
local volumes Y
Y
Y
N
DEL
Delete one or more files
Y
Y
Y
Y
DELTREE
Delete an entire folder including files and subfolders Y
Y
N
N
RD /S
DEVCON Command line Device Manager (free Microsoft download) N
N
Y
N
DHCPLOC
Discover rogue DHCP servers
N
N
XP
N
DIANTZ Compress and add files to new or existing .CAB files(equivalent of MAKEC
AB)
N
N
Y
N
MAKECAB
DIR
List files & directories
Y
Y
Y
Y
DISKCOMP
Compare two floppy disks on a track by track basis
Y
Y
Y
Y
DISKCOPY
Copy a floppy disks on a track by track basis Y
Y
Y
Y
DISKPART
Manipulate harddisk partitions and logical drives
N
N
2K
N
Acronis Disk Director
DOSKEY Edit or recall command lines, or create command line macros
Y
Y
Y
Y
DPATH Allows programs to open data files in specified directories as if they w
ere in the current directory (Windows 7, OS/2) N
N
W7
Y
APPEND
DRIVERQUERY
List installed drivers (Windows XP)
N
N
XP
N

DSADD

Add objects to (active) directory

DSGET
N
DSMOD

2K

Display (active) directory object properties

2K

Modify objects in (active) directory

2K

DSMOVE Move or rename objects in (active) directory


N
DSQUERY
Query (active) directory
N

2K

2K

DSRM

2K

Remove object from (active) directory

DVDBURN
Write ISO images to DVD (Windows Server
N
N
2K3RK N
Download Image Burn
ECHO
Display text on screen Y
Y
Y
EDIT
Text editor in MS-DOS 5+ (requires QBASIC)
N
EDLIN
EDLIN Line editor in MS-DOS 4Y
N
PY CON, many programmers' editors
ENDLOCAL
Terminate local environment
N

2003 Resource Kit tool)


Y
Y

EDIT, CO

EPAL
Elevated Priviliges Application Launcher (free Microsoft download)
N
N
Y
N
RUNAS, Download CPAU, Download PSEXEC, Download
RunAs Pro
ERASE Delete one or more files
Y
Y
Y
Y
EVENTCREATE
Write an event in one of the event logs
N
N
XP
N
EVENTQUERY.VBS List events and event properties
N
N
XP
N
EVENTTRIGGERS Display and configure "Event Triggers" that monitor and act upon
the occurrence of NT Log Events of given criteria
N
N
XP
N
EXIT

Das könnte Ihnen auch gefallen