Command prompt windows Basic Commands

full-width command prompt windows Basic Commands
Hide Folder using Command Prompt (CMD)

This code is used to hide the folder in using this code.This code is used in cmd.you can hide folder without Installing Software.Remember the path of Folder is Necessary. C:\Users\Dell\Downloads> choose using cd Command.


attrib +h +s +r Foldername         // For Hide Folder
attrib -h -s -r Foldername        // For Unhide Folder

Check List of All Driver in Pc

You can check the all Driver list in cmd using blow Code

driverquery 
Display the Ip Address in Pc

Displays all current TCP/IP network configuration values and refreshes Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) settings. Used without parameters, ipconfig displays Internet Protocol version 4 (IPv4) and IPv6 addresses, subnet mask, and default gateway for all adapters.

ipconfig

Create and Dalete Folder using Cmd

To create a directory in MS-DOS or the Windows command line, use the md or mkdir MS-DOS command. For example, below we are creating a new directory called "hope" in the current directory. You can also create multiple new directories in the current directory with the md command.
The rd and rmdir commands remove empty directories in MS-DOS. To delete directories with files or directories within them, you must use the deltree command. If you are running Microsoft Windows 2000 or Windows XP, use the /S option.

md foldername         // use for creating Folder
rd fodername          // Erase Folder


List of All Commands
Basic Commands
cd            use for directory
cls              Use For Clear Screen in Cmd
driverquery      List of All Driver Install on Pc
ipconfig | clip  Send output to clipboard
cmd              start command prompt
color            change console color
date             show/set date
time             display/edit the system time
timeout          wait any time
dir              list directory content
echo             text output
exit             exits the command prompt or a batch file
find             find files
hostname         display host name
pause            pauses the execution of a batch file and shows a message
runas            start a program as another user
shutdown         shutdown the computer
sort             sort the screen output
start            start an own window to execute a program or command
taskkill         terminate a process or a application 
tasklist         display applications and related tasks
title            set title for Prompt
prompt           change the name of Prompt
ver              display operating system version
w32tm            setting time synchronisation/time server/time zone
    
    
Network Commands
ftp	        transfer files to a FTP server
ftype	    display file type and mapping
getmac	    display MAC address
ipconfig    display IP network settings
netsh	    configure/control/display network components
netstat	    display TCP/IP connections and status
nslookup    query the DNS
pathping    test the connection to a specific IP address
ping	    pings the network
route	    display network routing table, add static routes
systeminfo	displays computer-specific properties and configurations
telnet	    establish Telnet connection
tftp	    transfer files to a TFTP server
tracert	    trace routes similar to patchping
Network Commands :
attrib	      display file attributes
arp           Displays and edits entries in the Address Resolution Protocol cache
getmac        Displays the MAC address of all network adapters. The format of the output (Table, List, CSV) is set with /FO. With /S you can use the command on remote systems as well.
comp	      compare file contents
compact	      display/change file compression
copy / xcopy  copy files
diskcomp	  compare content of two floppy disks
diskcopy	  copy floppy disc to another one
erase / del	  delete one or more files
expand	      extract files
fc	          copare files and display the differences
mkdir	      create a new directory
move	      move/rename files
rename	      rename files
replace	      replace files
rmdir / rd	  delete directory
tree	      display folder structure graphically
type	      display content of text files 
Media Commands :
chkdsk	     check volumes
chkntfs      display/change volume check at startup
defrag	     defragment media
diskpart	 volume management
driverquery	 display installed devices and their properties
format	     format volumes
label	     change volume name
mode	     configure interfaces/devices
mountvol	 assign/delete drive mountpoints
verify	     monitoring whether volumes are written correctly
vol	         show volume description and serial numbers of the HDDs

Miscellaneous Commands
for	         for loop
gpresult	 display group policies
gpupdate	 update group policies
perfmon	     start performance monitor
prompt	     change command prompt
reg	         add/read/import/export registry entries

How to Find the Product Key Using CMD

Open cmd run as Adminsitator then paste the blow code you can see the product key.

 wmic path softwarelicensingservice get OA3xOriginalProductKey

إرسال تعليق

Post a Comment (0)

أحدث أقدم