0% found this document useful (0 votes)
4 views

commands

The document provides a comprehensive list of command line commands for managing directories, files, tasks, services, user accounts, and system information in CMD. It includes commands for creating, copying, deleting, and moving files, as well as managing disk partitions and user accounts. Additionally, it covers file encryption, hiding files, and exporting data to files.

Uploaded by

adu g
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

commands

The document provides a comprehensive list of command line commands for managing directories, files, tasks, services, user accounts, and system information in CMD. It includes commands for creating, copying, deleting, and moving files, as well as managing disk partitions and user accounts. Additionally, it covers file encryption, hiding files, and exporting data to files.

Uploaded by

adu g
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

CMD

1. cd .. :- to one step back dir


2. dir:- to show the contents in the dir
3. cd dirname:- to get into that dir
4. cd\:- to get into c
5. mkdir name:- to make dir into another dir
6. ren oldername newname:- to rename the dir name
7. type nul> file name:- to crate a file in the dir
how to copy a file:-
8. copy filename dirname
how to delete a file:-
9. del filename
how to move a file:-
10. move filename die name
how to remove dir:-
11. rmdir dirname

Manageing tasks and services


12. tasklist:- to show tasks going on
13. taskill /pid numberid:- to terminate a task
14. net start servicename:- to start the service
15. net stop servicename:- to stop the service
16. deriverquery:- to see the drivers

Mange program and system information


17. wmic:-
18. /output:c:\filename with .txt extension product get name,version:- creating
a .txt file in c that contains system information
19. diskpart:- to see the disks in the system
20. list disk:- listing disks on the system
21. select disk 0:- disk0 is selected
22. detail disk:- to know the details of the disk
After exiting diskpart
23. chkdsk:- to check th disk
24. getmac:- to know the computers mac address
25. systeminfo:- to know the whole system information

Manage user accounts


26. net user:- to show the users on your computer
27. net user usernname /add password:- to add users on your computer
28. net user /del username:- to delete user from your computer
29. net user administrator /active :yes:- to enable the default administrator
30. net user administrator /active :no:- to disable the default administrator
31. net user "administrator" *:- to delete the password of the administrator
account
(lusrmgr.msc:- microsoft common consol document{GUI not cmd})
Hide your files
32. attrib +h +r +s:- to hide your files
33. attrib -h -r -s:- to show your files

Encrypting and Deycripting files


34. cipher /e:- for encrypting files
35. cipher /d:- for decrypting files
36. cipher /rekey:- to upgrade keys
37. assoc specificfileextention:- to know the types of file extentions

Creating and Exporting files


38. tasklist > thefilename with extension:- to export tasklist files
39. echo sometxt > filename:- to export text to the file
40. copy con filename.extension:- to export multiple txt to the file
41. type filename.extension:- to see the contents of that file
42. type nul> filename.extension:- to create a file
43. the filename.extension:- to excute the file in an application

Format, Boot & Label USB or CD through CMD


44. diskpart:- took you to the diskmanagement enviroment
45. list disk:- show the number of disk you have
46. select disk 0:- selects the sepecific disk you want
47. create partition primary:- to create a primary partition of that disk
48. clean:- checking the disk
49. select partition 1:- to select the specific partition you want
50. format fs=ntfs quick:- to format
51. active:-- active the specific drive
52. assign:- to attach
after exiting the diskpart
53. label thedrivename: to name the drive you want
54. then you give the name you want.

Best utility commands in CMD


55.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy