Receive all updates via Facebook. Just Click the Like Button

Liked us?

Monday, October 14, 2013

DOS Commands



  DOS Commands (DOS Prompt)


Command-line reference A-Z
To find information about a command, on the A-Z button menu at the top of this page, click the letter that the command starts with, and then click the command name.In addition to the tools installed with Windows XP , there are over 40 support tools included on the Windows XP CD. You can use these tools to diagnose and resolve computer problems. For more information about these support tools, see Windows Support Tools
For information about installing support tools, see Install Windows Support Tools For more information about changes to the functionality of MS-DOS commands, new command-line tools, command shell functionality, configuring the command prompt, and automating commmand-line tasks, see Command-line reference Command-line tools must be run at the prompt of the Cmd.exe command interpreter. To open Command Prompt, click Start, click Run, type cmd, and then click OK . To view help at the command-line, at the command prompt, type the following:CommandName /?

[A]
Arp
Assoc
At
Atmadm
Attrib

[B]
Batch files
Bootcfg
Break   

[C]
Cacls
Call
Certreq
Certutil
Change
Chcp
Chdir
Chkdsk
Chkntfs
Cipher
Cls
Cluadmin
Cluster
Cmd
Cmstp
Color
Command shell overview
Comp
Compact
Convert
Convlog
Copy
Cprofile
CScript overview
CSVDE

[D]
Date
DCGPOFix
Defrag
Del
Dfscmd
Dir
Diskcomp
Diskcopy
DiskPart
Doskey
Driverquery
Ds (directory service)
Dsadd
Dsget
Dsmod
Dsmove
Dsquery
Dsrm

[E]
Echo
Endlocal
Eventcreate
Eventquery
Eventtriggers
Evntcmd
Exit
Expand

[F]
Fc
Filter commands
Find
Findstr
Finger
Flattemp
For
Format
Fsutil
Ftp
Ftp subcommands
Ftype

[G]
Getmac
Goto
Gpresult
Gpupdate
Graftabl

[H]
Help
Helpctr
Hostname

[I]
If
Iisapp
Iisback
Iiscnfg
Iisftp
Iisftpdr
Iisreset
Iisvdir
Iisweb
Ipconfig
Ipxroute
Irftp

[L]
Label
Ldifde
Lodctr
Logman
Lpq
Lpr

[M]
Macfile
Mkdir (md)
Mmc
Mode
More
Mountvol
Move
Mrinfo
MS-DOS subsystem configuration commands
Msiexec
Msinfo32

[N]
Nbtstat
Net services overview
Net services commands
Netsh
Netsh commands for AAAA
Netsh commands for DHCP
Netsh diagnostic (diag) commands
Netsh commands for IP
Netsh commands for RAS
Netsh commands for Routing
Netsh commands for WINS
Netstat
Nlb
Nslookup
Nslookup subcommands
Ntbackup
Ntcmdprompt
Ntdsutil
Ntsd

[O]
Openfiles

[P]
Pagefileconfig
Path
Pathping
Pause
Pbadmin
Pentnt
Perfmon
Ping
Popd
Print
Prncnfg
Prndrvr
Prnjobs
Prnmngr
Prnport
Prnqctl
Proccon
Prompt
Pushd

[Q]
Query

[R]
Rasdial
Rcp
Recover
Redirection operators
Reg
Regsvr32
Relog
Rem
Rename
Replace
Reset session
Rexec
Risetup
Rmdir
Route
Rsh
Rsm
Rss
Runas

[S]
Sc
Schtasks
Secedit
Set
Setlocal
Shift
Shutdown
Sort
Start
Subst
Systeminfo
System File Checker (sfc)

[T]
Tapicfg
Taskkill
Tasklist
Tcmsetup
TCP/IP utilities and services
Telnet commands
Terminal Services commands
Tftp
Time
Title
Tracerpt
Tracert
Tree
Tsecimp
Type
Typeperf

[U]
Unlodctr

[V]
Ver
Verify
Vol
Vssadmin

[W]
W32tm
Winnt
Winnt32
Wlbs
WMIC overview

[X]
Xcopy

Run Commands for Windows 7


Run
[A]  
Add/Remove Programs = appwiz.cpl
Administrative Tools = control admintools
Authorization Manager= azman.msc "New"
[C]
Calculator = calc
Certificate Manager = certmgr.msc
Character Map = charmap
Check Disk Utility = chkdsk
Control Panel = control "New"
Command Prompt = cmd.exe
Component Services = dcomcnfg
Computer Management = compmgmt.msc = CompMgmtLauncher "New"


[D]
Date and Time Properties = timedate.cpl
Downloads = Downloads "New"
Device Manager = devmgmt.msc
Direct X Troubleshooter = dxdiag
Disk Cleanup Utility = cleanmgr
Defragment User Interface = dfrgui "New"
Ditilizer Calibration Tool = tabcal "New"
Disk Management = diskmgmt.msc
Disk Parmelonion Manager = diskpart
Display Properties = control desktop or desk.cpl
DPI Scaling = dpiscaling "New"
Driver Package Installer = dpinst "New"
Driver Verifier Utility = verifier or /reset
DVD Player = dvdplay "New"
[E]
Encryption File System = rekeywiz "New"
Event Viewer = eventvwr.msc
[F]
Fax Cover Sheet Editor = fxscover "New"
File Signature Verification Tool = sigverif
Folders Properties = control folders
Fonts = control fonts
Free Cell Card Game = freecell
[G]
Game Controllers | joy.cpl
Group Policy Editor = gpedit.msc
[I]   
Internet Explorer = iexplore
Iexpress Wizard = iexpress
Internet Properties = inetcpl.cpl
IP Configuration = ipconfig.exe
iSCSI Initiator = iscsicpl "New"
[K]

Keyboard Properties = control keyboard
[L]   
Libraries = explorer or Windows key + E
Local Security Settings = secpol.msc
Local Users and Groups = lusrmgr.msc
Logs You Out Of Windows = logoff
[M]  

Microsoft Support Diagnostic Tool = msdt "New" 
Microsoft Paint = mspaint.exe
Mouse Properties = control mouse
Mouse Properties = main.cpl
Mobility Center (only on mobile) = mblctr
or Windows key + X
[N]  

Network Connections = control netconnections
Network Connections = ncpa.cpl
Notepad = notepad
[O]
ODBC Data Source Administrator = odbcad32 "New" 
Optional Features Manager = optionalfeatures "New"
On Screen Keyboard = osk or Windows key + U
[P]  
Package Installer = dpinst
Pen & Touch Options = tabletpc.cpl
People Near Me Identifier = collab.cpl
Performance Monitor = perfmon.msc
Phone and Modem Options = telephon.cpl
Power Configuration = powercfg.cpl
Printers and Faxes = control printers
Printer Migration = PrintBrmUi "New"
Private Character Editor = eudcedit
Problem Steps Recorder = psr.exe
Programs and Features = appwiz.cpl
[R]   
Regional Settings = intl.cpl
Registry Editor = regedit.exe
Remote Assistance = msra "New"
Remote Desktop = mstsc
Resultant Set of Policy = rsop.msc
[S]
   
Scheduled Tasks = control schedtasks
Screen Resolution = desk.cpl
Security Center = wscui.cpl
Services = services.msc
Shared Folders/MMC = fsmgmt.msc
Shuts Down Windows = shutdown
Snipping Tool = snippingtool "New"
Sounds and Audio = mmsys.cpl
Sound Recorder = soundrecorder "New"
Sound Volume = sndvol "New"
Spider Solitare Card Game = spider
SQL Client Configuration = cliconfg
Stored User Names and Passwords = credwiz "New"
Sticky Note = StikyNot "New"
System Configuration Editor = sysedit
System Configuration Utility = msconfig
System File Checker Utility = sfc
System Information = msinfo32
System Properties = sysdm.cpl or Windows key + Pause/Break
System Restore = rstrui.exe
[T]
   
Task Manager = taskmgr
Trusted Platform Module = TpmInit "New"
[U]  

Utility Manager = utilman
User Accounts = netplwiz or control userpasswords2
[W]    
Windows Activation = slui "New"
Windows Backup Utility = sdclt "New"
Windows Fax and Scan = wfs "New
Windows Firewall = firewall.cpl
Windows Firewall with Advanced Security = wf.msc "New
Windows Image Acquisition = wiaacmgr "New" 
Windows Media Player = wmplayer
Windows Magnifier = magnify
Windows Management Infrastructure = wmimgmt.msc
Windows Update App Manager = wuapp "New"
Windows Standalong Update Manager = wusa "New'
Windows System Security Tool = syskey
Windows Share Creation Wizard = shrpubw "New" 
Wordpad = write

"Note pad" එක විතරක් භාවිතා කරල, Folder එකකට Pass word එකක් දාල හංගන හැටි...

Download

          අපි හැමෝටම, අනිත් අයට නොපෙන්වා හංගල තියාගන්න ඕනෙ තරම් දේවල් තියනව නේද? විශේෂයෙන්ම තමන්ගෙ පරිඝණකය තුළ නම් ගොඩක් දේවල් හංගන්න තියනව නේද?? මොනවද කියලනම් මම කතා කරන්න යන්නෙ නෑ. :-)  ඉතින් මේ Files, Folders හංගන්න ගොඩක් දෙනා භාවිතා කරන්නෙ "Folder Lock" වගේ මොකක් හරි Software එකක්. ඔන්න ඉතින් මම දැන් කියන්න යන්නේ ඔය කිසිම Software එකක් Install නොකර Note pad එක විතරක් භාවිතා කරල, Folder එකකට Pass word එකක් දාල, ඒක කටවත්ම නොපෙනෙන විදියට හංගන හැටියි. මම මේක කරන විදිය පියවර වශයෙන්ම කියන්නම්. එතකොට කාටත් පැහැදිළියිනෙ..
 
 
1. Start -> All programms -> Accesories -> Note pad
යන මාර්ගයෙන් Note pad එක open කර ගන්න.
 
 
2.
ඊට පස්සෙ පහළින් තියෙන Code එක සම්පූර්ණයෙන්ම select කරල Copy කරගන්න. (Ctrl+c ඔබන්න) ලඟට copy කර ගත්ත code එක කලින් open කරපු note pad     එක තුළට Paste කරගන්න. (Ctrl+v ඔබන්න)
 
 
cls
:End
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==srimal goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
 
 
3.
මේ Code එකේ තියනව if NOT %pass%==srimal goto FAIL කියල පේළියක්. ඒකෙ "srimal" කියන්නෙ password එක. ඉතින් ඔයාලට පුළුවන් srimal    කියන එක වෙනුවට ඔයාල කැමති password එකක් දෙන්න.
 
 
4.
හරි නේද? දැන් තියෙන්නෙ ඒක Save කරගන්න එක. Note pad එකේ File ->Save යන්න තෝරන්න. File name එක Locker.bat ලෙස දෙන්න. Save as type කියන තැනට "all" යන්න     තෝරන්න. Encoding කියන තැනට "ANSI" යන්න තෝරන්න. අන්තිමට Save කරගන්න ඕනෙ තැන තෝරල ( උදා:- Desktop) Save කියන එක ඔබල Save කරගන්න.
 
 
5.
දැන් ඔයාලට පේනව ඇති මේ File එක Save කරගත්ත තැන Locker නමින් Icon එකක් තියන බව. ඒක Double click කරන්න. එතකොට කළු පාට පසුබිමක් සහිත window එකක් open වේවි.(ඒකට කියන්නෙ "Command prompt" කියල) ඒත් එක්කම Locker කියන icon ලඟ Locker කියල Folder එකකුත් හැදිල තියනව ඔයාලට පෙනේවි.
 
 
6.
ඉතින් අන්න Folder එකට තමන්ට හංගන්න ඕනෙ File එක හෝ කිහිපය ඇතුළත් කරන්න. ඊට පස්සෙ අර කළු පාට පසුබිමක් සහිත window එකට ගිහිල්ල "Are you sure u want to Lock the folder(Y/N)" කියන පේළියට පහළින් Y අකුර type කරල enter ඔබන්න.
 
 
7.
දැන් ඔයාලට පේනව ඇති අර කලින් Locker කියන නමින් තිබුන Folder එක නැති බව. ඇත්තම කියනවනම් Folder එක හැංගිලා තියෙන්නෙ. ඉතින් ඒක ආපහු පේන තත්වෙට පත් කරන්නෙ කොහොමද
 
 
8.
කරන්න තියෙන්නෙ Locker කියන Icon එක Double click කරන්න. ඊට පස්සෙ කලින් වගේම කළු පාට window එකක් open වේවි. ඒකෙ password එක ඉල්ලන තැනට  "srimal" කියන එක වෙනුවට ඔයාල දුන්න password එක type කරල enter කරන්න.

 
 
9.
දැන් ඔයලට පෙනේවි අර Locker කියන Folder එක කලින් තිබුන තැනම තියෙන බව. Folder එක open කලාම ඔයාල හංගපු හැම File එකක්ම විදියටම තියෙන බවත් ඔයාලට පෙනේවි.
 
 
ඉතින් දැන් ඔයාලට පුළුවන් ඕනෙම File එකක් password එකක් දාල Lock කරන්න. හොඳයි නේද? වැඩේ සරලයි. පහසුයි. හරිම Simple plan එකක්. හරියට Airtell වගේ. :-) වගේම ඉහත සඳහන් Code එක (ක්රමලේඛනය)  උපුටා ගත්තෙ විදේශීය වෙබ් අඩවියකින් බවත් කියන්නම ඕනෙ. මේ මගේ පළවෙනි ලිපිය. සමහරවිට අඩුපාඩු තියෙන්න පුළුවන්. පිළිබඳව මම ඔබෙන් සමාව ඉල්ලනව. වගේම පැය දෙක තුනක් මහන්සි වෙලා  දත්මිටි කාගෙන type කරල ලියපු මේ ලිපිය කියවල, පුළුවන්නම් බැනල හරි කමක් නෑ පුංචි comment එකක් දාල යන්න. ඒක මට ලඟ ලිපිය ලියන්න ලොකු ශක්තියක් වේවි. ස්තූතියි...

 

.