Thursday, February 7, 2013

Useful Commands for Windows Administrators:-


DIR                       ---  List of files and directory.
DIR /aa     
           ---  List of files and directories
tree           
            ---  List folder path.
cd             
            ---  Change directories
mkdir       
            ---  Make/Create directories
md            
           ---  Make/Create directories
ASSIGN   
          ---  Create a file or link directory
rmdir         
          ---  Remove an existing directory
rd              
            ---  Remove an existing directory
chdir         
           ---  Present working directory.
del            
           ---  Delete the directory or file.
erase         
           ---  Delete the directory or file.
copy         
            ---  Copy the contents from directory.
type          
            ---  Displays contents of a file on the screen  
cls           
             ---  Clears the terminal screen.
rename     
           ---  Rename directory or file.
REN         
            ---  Rename a file
date         
             ---  Shows current date and time of system.
move      
              ---  Move to directory or file from one location to other.
comp     
               ---  Compare two files and show differences.
set variable 
          ---  Set environmental variables
echo           
         ---  Print the same output which we gave in input
print          
           ---  Give a print for a file
reboot    
              ---  Reboot the system.
hostname
             ---  It display a hostname of computer
ping     
                ---  ping is intended for use in network testing, measurement, and management.
tracert                  ---  The tracert command is used to show details about the path that a packet takes to a specified destination.
ipconfig               ---  Displays information about network interface.
route print   
         ---  It print routing table
net share              ---  shows mounted partition of OS.
systeminfo  
         ---  show system information(OS type, arch, mem info)
ver          
             ---  shows version of Operating System.
taskkill   
             ---  Kills the specified processes
format   
              ---  Formats a disk to accept DOS files(Pen drives or HDD)
doskey /h     
       ---  Display the history of commands.
help or commands /? -- Displays information about a command.

No comments:

Post a Comment