Both these are very important commands used by the Windows Hosting experts. DIR and DEVCON commands are used to accomplish a number of functions. Find below the illustrations of the commands.
DIR : Display a list of files and subfolders
Syntax : DIR [pathname(s)] [display_format] [file_attributes] [sorted] [time] [options]
Ex. DIR c:\temp\*.* | FIND “/”
DEVCON : Device Manager
Syntax: devcon.exe [-r] [-m:\\machine] command [arg...]

