On this page you'll find a shorthand list of common tasks in batch files, and the command(s) that can be used to perform those tasks.
Notes: Many, if not most, of the commands listed here require Windows 2000 and later, some require Windows XP or later, some require Active Directory.
Read more detailed information by following the links provided.Depending on the Windows version, some commands (e.g. SETX and NETSVC) may require installation of a Resource Kit. Task Available command(s) or variable(s) Add/remove computer to/from domain NETDOM (1) Counters FOR /L or SET /A counter += 1 Delays PING Current date DATE /T or %Date% or DEBUG Current directory CD or %CD% Current drive %CD:~0,2% Current time TIME /T or %Time% or DEBUG Directory of current batch file %~dp0 Drive of current batch file %~d0 Environment, permanent changes SETX (2) Firewall configuration NETSH Harddisk & volume management DISKPART, FDISK, FORMAT, CONVERT, MOUNTVOL, VOL, CHKDSK, CHKNTFS, DEFRAG Hardware inventory WMIC IP address (local) PING %ComputerName%, NSLOOKUP %ComputerName% or IPCONFIG /ALL IP address (remote) PING, NSLOOKUP or WMIC IP address (WAN) to file WGET -O output_filename -q http://www.whatismyip.com/automation/n09230945.asp (3) IP address (WAN) to screen WGET -q -O- http://www.whatismyip.com/automation/n09230945.asp (3) Logoff Multiple commands available Open a file, folder or web page START Permissions CACLS, XCACLS (2), MMC & SECEDIT, SUBINACL (3) or SETACL (3) Popup dialogs NET Send %ComputerName% Print text NOTEPAD /P Print anything ASSOC, FTYPE & REGEDIT or REG Printer management RUNDLL32 PRINTUI.DLL,PrintUIEntry Process management Multiple commands available Prompt for user input SET /P & more Read text files FOR /F or occasionaly <> Reboot Multiple commands available Registry REGEDIT or REG Service management NET Stop, NET Start, SC or NETSVC (2) Shutdown Multiple commands available Unicode to ASCII conversion TYPE User/group management NET, DSADD, DSGET, DSMOD, DSMOVE, DSQUERY & DSRM (1) or CSVDE & LDIFDE (1) Write text files Redirected ECHO Notes: (1) Requires Windows XP with Windows Server 2003 Administration Tools Pack, or Windows Server 2003 or later. (2) Resource Kit tool (3) Third party tool
Categories
- All Posts
- android
- AntiVirus
- apps
- AWS
- Backup
- Batch
- Blogger
- Books
- CISCO
- Cloud
- Cluster
- Coin Master
- commands
- Commvault
- Configurations
- CSS
- Data Protector
- Data Recovery
- DB Backup
- Desktop Sharing
- Disabling
- domain
- Downloads
- Dumps
- ESX
- exam questions
- Excel
- Exchange
- FOLDER LOCK
- free Books
- games
- Guide
- Hacks
- HP - UX
- HP0-A113
- HP0-A113 HP ATP - Data Protector v9 (Exam 1 Questions) - Question 9
- HTML
- Hyper-V
- information
- Internet
- interview questions
- inventory
- jQuery
- key
- Links
- Linux or Unix
- Mcafee
- microsoft
- Migrations
- mobile tips
- NetBackup
- Networker
- Networking
- Online Database
- Operating system
- Outlook
- Password reset
- PHP
- Ports
- RAID
- regedit-tips
- Registry
- SAN
- SBS 2008
- Simulator
- software
- SQL
- Storage
- Study Meterial
- tech support
- Tools
- Top List
- Troble Shooting
- Useful commands
- vbscript
- Veeam
- Videos
- Virtual Machine
- VirtualBox
- VMWare
- VSphere
- webinar
- windows
- windows 10
- Windows 2003
- Windows 2008
- Windows 7
- Windows 8
- Windows Tips
- windows XP
- YouTube
Contact
Thursday, May 21, 2009
Subscribe to:
Post Comments (Atom)
Upcoming Topics
Search This Blog
Subscribe via email
Visitor
Weekly
-
Being a NetBackup backup administrator we should know minimum commands to manage our regular tasks with a simple CLI commands, here...
-
NetBackup 7.x Backup Process Flow 1. When a PolicyClient task has its timer expire (indicating that it is due to run) an i...
-
Based on my experience in the daily issues level I have shorted few must know backup failure issues status codes which I have mentioned here...
-
AWS Interview Questions And Answers The AWS Solution Architect Role: With regards to AWS, a Solution Architect would design and defin...
-
Today i'm going to explain how to configure your VMware integration or backup policy in Veritas Netbackup in a simple and straight way...
-
NetBackup Tutorial: Steps to verify device configuration using "robtest" The process to absolutely verify that the drive pa...
-
#NetBackup interview Questions and Answers. I just described the answers as per my knowledge in a short term, if you need more details info...
-
Below are some of the frequently asked Storage (SAN) basic interview question and answers. Check the Storage Area Networks (SAN) basic ...
-
Sample Error Log : [Critical] From: BSM@cellsrv01.in.com "backup_spec_01” Time: 8/16/2014 [61:12500] cannot connect to ...
-
QUESTION NO: 14 Which statements are true about Synthetic Full Backups? (Select two) A. The incremental backups must be written to t...
0 Comment to "Help for Batch file configuration"
Post a Comment