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
-
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...
-
Here I'm sharing frequently asked most top rated Interview Questions for EMC Networker Interview. I will share the Answer sheet soon wh...
-
Windows admin interview questions (includes Vista) The global catalog is a distributed data repository that contains a searchable, partial...
-
Today i'm going to explain how to configure your VMware integration or backup policy in Veritas Netbackup in a simple and straight way...
-
Data Recovery Wizard is the professional level, most cost-effective and ease-to-use software available for data recovery. -- Folder/File St...
-
Being a NetBackup backup administrator we should know minimum commands to manage our regular tasks with a simple CLI commands, here...
-
In some Scenarios restore files when you use with default backed up device if it has been changed after the backup, such cases you need...
-
Windows 7 Step by Step Book Publisher: MICROSOFT PRESS 2009 | 544 Pages | ISBN: 0735626677 | PDF | 20 MB Experience learning made ...
-
AWS Interview Questions And Answers The AWS Solution Architect Role: With regards to AWS, a Solution Architect would design and defin...
-
DB2 UDB integration Below details are captured as per Data Protector backup tool: Data Protector integrates with IBM D...
0 Comment to "Help for Batch file configuration"
Post a Comment