SYSTEM&WEB HACKING: Unknown MS-Dos Commands

Thursday, August 11, 2011

Unknown MS-Dos Commands

ATTRIB ,    Used for changing the attributes of a file. ATTRIB -a -h -r – s *.* (used to remove all attributes of a file).
BACKUP /HP
 

DIR ,    Lists all files including hidden files, does not work in Windows older than Windows NT 2000.

DIR …    Lists all directories that do not have any extensions.
 

DOSKEY /APPEDIT    Uses  functions and utilities such as edlin and debug.
 

DOSKEY /COMMAND    DosKey Additional command.
 

DOSKEY /PERMANENT    DosKey Additional command.
 

DOSKEY /SCRSIZE    DosKey Additional command.
 

DOSKEY /XHISTORY    DosKey Additional command.
 

FDISK /MBR    Recreates Master Boot Record.
 

FDISK /PRI    FDisk Additional Command.
 

FDISK /EXT    FDisk Additional Command.
 

FDISK /LOG   FDisk Additional Command.
 

FDISK /Q    Prevents fdisk from booting the system automatically after exiting fdisk.
 

FDISK /STATUS    Shows the status of your hard drives.
 

FORMAT /AUTOTEST    Formats the hard drive without any prompting.
 

FORMAT /BACKUP     Used to format or backup.
 

FORMAT /Z:n    Command used with FDISK supporting 

FAT32, used to specify the cluster size in bytes where n is multiplied by 512.
 

MEM /A or /ALL    Adds a line into the MEM command tells the available space in HMA.
 

RESTORE /Y
 

RESTORE /Z
 

SET DIRCMD=0    makes the directories hidden but still accessible, to get them back SET DIRCMD=SHARE /NC
 

TRUENAME    When placed before a file, will display the whole directory that it exists.
 

VER /R    Tells you the Revision and if DOS is in HMA.

No comments: