CMD ( ( (X) ) )
CMD ( ( (X) ) )
Cmd is a default powerfull and basic prompt text editor and executable command
interpreter used for perfoming all functions which are done using graphical
interface,
helping in many purposes like coding,application development,hacking etc
It is based on C programing language
c:\users\XYZ>
(Depending on cmd's location)
CMD has a lot of commands with different functions and different requierments.
Type help for more information.
IT will show some commands and their functions.
>assoc
Displays or modifies file extension associations
ASSOC [.ext[=[fileType]]]
.ext Specifies the file extension to associate the file type with
fileType Specifies the file type to associate with the file extension
.386=vxdfile
.3g2=WMP11.AssocFile.3G2
.3gp=WMP11.AssocFile.3GP
.3gp2=WMP11.AssocFile.3G2
.3gpp=WMP11.AssocFile.3GP
.aac=WMP11.AssocFile.ADTS
.accountpicture-ms=accountpicturefile
.adt=WMP11.AssocFile.ADTS
.adts=WMP11.AssocFile.ADTS
.aif=WMP11.AssocFile.AIFF
.aifc=WMP11.AssocFile.AIFF
.aiff=WMP11.AssocFile.AIFF
.ani=anifile
.appcontent-ms=ApplicationContent
.application=Application.Manifest
.appref-ms=Application.Reference
.asa=aspfile
.asf=WMP11.AssocFile.ASF
.asp=aspfile
.asx=WMP11.AssocFile.ASX
.au=WMP11.AssocFile.AU
.avi=WMP11.AssocFile.AVI
.bat=batfile
.blg=Diagnostic.Perfmon.Document
.bmp=Paint.Picture
.cab=CABFolder
.camp=campfile
.cat=CATFile
.cda=WMP11.AssocFile.CDA
.cdmp=cdmpfile
.cdx=aspfile
.cdxml=Microsoft.PowerShellCmdletDefinitionXML.1
.cer=CERFile
.chk=chkfile
.chm=chm.file
.cmd=cmdfile
.com=comfile
.compositefont=Windows.CompositeFont
.cpl=cplfile
.crl=CRLFile
.crt=CERFile
.css=CSSfile
.cur=curfile
.db=dbfile
.dctx=IMEDictionaryCompiler
.dctxc=IMEDictionaryCompiler
.dds=ddsfile
.der=CERFile
.desklink=CLSID\{9E56BE61-C50F-11CF-9A2C-00A0C90A90CE}
.deskthemepack=desktopthemepackfile
.diagcab=Diagnostic.Cabinet
.diagcfg=Diagnostic.Config
.diagpkg=Diagnostic.Document
.dib=Paint.Picture
.dll=dllfile
.docx=docxfile
.drv=drvfile
.dsn=MSDASQL
.emf=emffile
.eml=Microsoft Email Message
.evt=evtfile
.evtx=evtxfile
.exe=exefile
.flac=WMP11.AssocFile.FLAC
.fon=fonfile
.gif=giffile
.gmmp=gmmpfile
.grp=MSProgramGroup
.hdd=progId_VirtualBox.Shell.hdd
.hlp=hlpfile
.hta=htafile
.htm=htmlfile
.html=htmlfile
.icc=icmfile
.icl=IconLibraryFile
.icm=icmfile
.ico=icofile
.igp=Intel.GraphicsControlPanel.igp.1
.imesx=imesxfile
.img=Windows.IsoFile
.inf=inffile
.ini=inifile
.iso=Windows.IsoFile
.jar=jarfile
.jfif=pjpegfile
.jnlp=JNLPFile
.Job=JobObject
.jod=Microsoft.Jet.OLEDB.4.0
.jpe=jpegfile
.jpeg=jpegfile
.jpg=jpegfile
.js=JSFile
.JSE=JSEFile
.jxr=wdpfile
.label=Label
.library-ms=LibraryFolder
.lnk=lnkfile
.log=txtfile
.m1v=WMP11.AssocFile.MPEG
.m2t=WMP11.AssocFile.M2TS
.m2ts=WMP11.AssocFile.M2TS
.m2v=WMP11.AssocFile.MPEG
.m3u=WMP11.AssocFile.m3u
.m4a=WMP11.AssocFile.M4A
.m4v=WMP11.AssocFile.MP4
.mapimail=CLSID\{9E56BE60-C50F-11CF-9A2C-00A0C90A90CE}
.mht=mhtmlfile
.mhtml=mhtmlfile
.mid=WMP11.AssocFile.MIDI
.midi=WMP11.AssocFile.MIDI
.mk3d=WMP11.AssocFile.MK3D
.mka=WMP11.AssocFile.MKA
.mkv=WMP11.AssocFile.MKV
.mlc=LpkSetup.1
.mod=WMP11.AssocFile.MPEG
.mov=WMP11.AssocFile.MOV
.mp2=WMP11.AssocFile.MP3
.mp2v=WMP11.AssocFile.MPEG
.mp3=WMP11.AssocFile.MP3
.mp4=WMP11.AssocFile.MP4
.mp4v=WMP11.AssocFile.MP4
.mpa=WMP11.AssocFile.MPEG
.mpe=WMP11.AssocFile.MPEG
.mpeg=WMP11.AssocFile.MPEG
.mpg=WMP11.AssocFile.MPEG
.mpv2=WMP11.AssocFile.MPEG
.ms-windows-store-license=WindowsStore.License
.msc=MSCFile
.msi=Msi.Package
.msp=Msi.Patch
.msrcincident=RemoteAssistance.1
.msstyles=msstylesfile
.msu=Microsoft.System.Update.1
.mts=WMP11.AssocFile.M2TS
.mydocs=CLSID\{ECF03A32-103D-11d2-854D-006008059367}
.nfo=MSInfoFile
.ocx=ocxfile
.odt=odtfile
.osdx=opensearchdescription
.otf=otffile
.ova=progId_VirtualBox.Shell.ova
.ovf=progId_VirtualBox.Shell.ovf
.p10=P10File
.p12=PFXFile
.p7b=SPCFile
.p7c=certificate_wab_auto_file
.p7m=P7MFile
.p7r=P7RFile
.p7s=P7SFile
.partial=IE.AssocFile.PARTIAL
.pbk=pbkfile
.perfmoncfg=Diagnostic.Perfmon.Config
.pfm=pfmfile
.pfx=PFXFile
.pif=piffile
.pko=PKOFile
.pnf=pnffile
.png=pngfile
.ppkg=Microsoft.ProvTool.Provisioning.1
.prf=prffile
.ps1=Microsoft.PowerShellScript.1
.ps1xml=Microsoft.PowerShellXMLData.1
.psc1=Microsoft.PowerShellConsole.1
.psd1=Microsoft.PowerShellData.1
.psm1=Microsoft.PowerShellModule.1
.pssc=Microsoft.PowerShellSessionConfiguration.1
.py=Python.File
.pyc=Python.CompiledFile
.pyd=Python.Extension
.pyo=Python.CompiledFile
.pyw=Python.NoConFile
.pyz=Python.ArchiveFile
.pyzw=Python.NoConArchiveFile
.qds=SavedDsQuery
.rat=ratfile
.RDP=RDP.File
.reg=regfile
.resmoncfg=Diagnostic.Resmon.Config
.rle=rlefile
.rll=dllfile
.rmi=WMP11.AssocFile.MIDI
.rtf=rtffile
.scf=SHCmdFile
.scp=txtfile
.scr=scrfile
.sct=scriptletfile
.search-ms=SearchFolder
.searchConnector-ms=SearchConnectorFolder
.settingcontent-ms=SettingContent
.sfcache=RDBFileProperties.1
.snd=WMP11.AssocFile.AU
.spc=SPCFile
.sst=CertificateStoreFile
.svg=svgfile
.symlink=.symlink
.sys=sysfile
.theme=themefile
.themepack=themepackfile
.tif=TIFImage.Document
.tiff=TIFImage.Document
.ts=WMP11.AssocFile.TTS
.ttc=ttcfile
.ttf=ttffile
.tts=WMP11.AssocFile.TTS
.txt=txtfile
.UDL=MSDASC
.URL=InternetShortcut
.VBE=VBEFile
.vbox=progId_VirtualBox.Shell.vbox
.vbox-extpack=progId_VirtualBox.Shell.vbox-extpack
.vbs=VBSFile
.vdi=progId_VirtualBox.Shell.vdi
.vhd=progId_VirtualBox.Shell.vhd
.vhdpmem=Windows.VhdPmemFile
.vhdx=Windows.VhdFile
.vmdk=progId_VirtualBox.Shell.vmdk
.vxd=vxdfile
.wab=wab_auto_file
.wav=WMP11.AssocFile.WAV
.wax=WMP11.AssocFile.WAX
.wbcat=wbcatfile
.wcx=wcxfile
.wdp=wdpfile
.webpnp=webpnpFile
.website=Microsoft.Website
.wm=WMP11.AssocFile.ASF
.wma=WMP11.AssocFile.WMA
.WMD=WMP11.AssocFile.WMD
.wmdb=WMP.WMDBFile
.wmf=wmffile
.WMS=WMP11.AssocFile.WMS
.wmv=WMP11.AssocFile.WMV
.wmx=WMP11.AssocFile.ASX
.wmz=WMP11.AssocFile.WMZ
.wpl=WMP11.AssocFile.WPL
.wsc=scriptletfile
.WSF=WSFFile
.WSH=WSHFile
.wtx=txtfile
.wvx=WMP11.AssocFile.WVX
.xaml=Windows.XamlDocument
.xbap=Windows.Xbap
.xht=xhtmlfile
.xhtml=xhtmlfile
.xml=xmlfile
.xrm-ms=MSSppLicenseFile
.xsl=xslfile
.ZFSendToTarget=CLSID\{888DCA60-FC0A-11CF-8F0F-00C04FD7D062}
.zip=CompressedFolder
>attrib
Displays or changes file attributes.
ATTRIB [+R | -R] [+A | -A] [+S | -S] [+H | -H] [+O | -O] [+I | -I] [+X | -X] [+P |
-P] [+U | -U]
[drive:][path][filename] [/S [/D]] [/L]
+ Sets an attribute.
- Clears an attribute.
R Read-only file attribute.
A Archive file attribute.
S System file attribute.
H Hidden file attribute.
O Offline attribute.
I Not content indexed file attribute.
X No scrub file attribute.
V Integrity attribute.
P Pinned attribute.
U Unpinned attribute.
B SMR Blob attribute.
[drive:][path][filename]
Specifies a file or files for attrib to process.
/S Processes matching files in the current folder
and all subfolders.
/D Processes folders as well.
/L Work on the attributes of the Symbolic Link versus
the target of the Symbolic Link
>cd
Displays the name of or changes the current directory.
CD [/D] [drive:][path]
CD [..]
cd \winnt\profiles\username\programs\start menu
cd "\winnt\profiles\username\programs\start menu"
>cls
cleans the screen erasing all output data
>cmd
starts a new instance of command interpreter
>start <object>
starts selected object or program
If location of selected app is given in environment variables
>color
Sets the default console foreground and background colors.
COLOR [attr]
0 = Black 8 = Gray
1 = Blue 9 = Light Blue
2 = Green A = Light Green
3 = Aqua B = Light Aqua
4 = Red C = Light Red
5 = Purple D = Light Purple
6 = Yellow E = Light Yellow
7 = White F = Bright White
If no argument is given, this command restores the color to what it was
when CMD.EXE started. This value either comes from the current console
window, the /T command line switch or from the DefaultColor registry
value.
>date
Displays or sets the date.
DATE [/T | date]
Type DATE without parameters to display the current date setting and
a prompt for a new one. Press ENTER to keep the same date.
>DEL or erase
Deletes one or more files.
>DIR
Displays a list of files and subdirectories in a directory.
DIR [drive:][path][filename] [/A[[:]attributes]] [/B] [/C] [/D] [/L] [/N]
[/O[[:]sortorder]] [/P] [/Q] [/R] [/S] [/T[[:]timefield]] [/W] [/X] [/4]
[drive:][path][filename]
Specifies drive, directory, and/or files to list.
>DISKPART
Displays or configures Disk Partition properties.
Microsoft DiskPart version 10.0.19041.964
Parameter List:
/S system Specifies the remote system to connect to.
Examples:
DRIVERQUERY
DRIVERQUERY /FO CSV /SI
DRIVERQUERY /NH
DRIVERQUERY /S ipaddress /U user /V
DRIVERQUERY /S system /U domain\user /P password /FO LIST