Win Tips used in CMD


attrib +h +s +r "Folder Path" /S /D ===== For Hide Everything inside the path

attrib -h -s -r "Folder Path" /S /D  ===== For UnHide Everything inside the path
dir /p                                            ===== Page wise Listing
dir /ah                                          ===== Only Hidden File Listing

dir /ahD                                        ===== Only Hidden Folder Listing

type                                              ===== To read a text file

getmac                                         ===== Get the MAC address

To find a file in System(Eg; To Find Location of Boot.ini file)
------------------------------------------------------------------------------ 
dir c:\ /s /a /b | find "boot.ini"     

To copy files which has long names
------------------------------------------------
XCOPY "Source file/Dir" "Destination Path" /s /n