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
-
Here I'm sharing frequently asked most top rated Interview Questions for EMC Networker Interview. I will share the Answer sheet soon wh...
-
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...
-
Being a NetBackup backup administrator we should know minimum commands to manage our regular tasks with a simple CLI commands, here...
-
AWS Interview Questions And Answers The AWS Solution Architect Role: With regards to AWS, a Solution Architect would design and defin...
-
Windows Server 2008 R2 Evaluation Virtual Hard Drive Images for Hyper-V (180 Days) Files in this download The links in this section co...
-
Users of Packet Tracer 3.2, 4.0 and 5.0 will note a variety of new features in Packet Tracer 5.2. Protocol Improvements Packet Tracer...
-
Today i'm going to explain how to configure your VMware integration or backup policy in Veritas Netbackup in a simple and straight way...
-
If you're looking for CommVault Interview Questions & Answers for Experienced or Freshers, you are at right place. There are lot o...
-
MicroFocus Data Protector (HPDP) - Most asked interview questions Hi Friends, hope you are enjoying with my other posts that I shared s...
-
We all the know the typical way of uninstalling a software in Windows XP, Vista, and Windows 7 . One needs to go to Control Panel, then Pro...
0 Comment to "Help for Batch file configuration"
Post a Comment