- Cool command prompt commands how to#
- Cool command prompt commands full#
- Cool command prompt commands software#
Want to repeat a previous command? Press the up and down arrow keys to scroll through your previous commands – No need to retype everything. If you want to remove the folder entirely (all the files and folders contained within), add a /S option at the end.ġ5) FILE COMPARE D:\http>comp doge.txt cate.txt /Aįinally, this is a not-so-useful command that compares 2 files and shows you the differences between them. To remove a folder, we have to use the rmdir command instead. Please take note that the previous del command will only delete files, but not remove the folder itself. This can get irritating when moving a large number of files, so use replace SOURCE TARGET if you just want to replace everything.ġ1) RENAMING FILES AND FOLDERS D:\http>ren README.txt READLATER.txtġ2) CREATING A NEW FOLDER D:\http>mkdir myNewFolderġ3) DELETING FILES D:\http>del READLATER.txtġ4) REMOVING FOLDERS D:\http>rmdir myNewFolder /S So if you want to copy everything, including the folders within, use the slightly more advanced xcopy *.* DESTINATION /e instead.ĩ) MOVING FILES D:\http\test>move README.txt d:\http\tempĭon’t think this one needs explanation, move is the cousin of copy and the usage is the same – move SOURCE DESTINATION.ġ0) REPLACING FILES AND FOLDERS D:\http\test>replace READLATER.txt d:\http\tempīy default, copy and move will prompt if you want to replace existing files. Now, the problem with copy is that it only copies files, but not the folders within. To copy all the files in the current directory, use copy *.* DESTINATION.Ĩ) X-COPY D:\http\test>xcopy *.* d:\http\temp /e To copy a file, simply specify the source file and destination – copy SOURCE DESTINATION. Hit exit when done, and this will close the current session.įILE ACTIONS 7) COPYING FILES D:\http>copy README.txt d:\http\temp When the screen gets too messy, use cls to clear the screen.įrom the command prompt, we can also launch various apps.Ĭaptain Obvious to the rescue again. to go up one level, or cd/ to go all the way back to the root of the current drive.
Cool command prompt commands full#
For the above example, we can just type out cd h and press tab to cycle through the list of folders starting with “h”.Īnother way to use the cd command is to enter a full file path. There is one trick here – We don’t actually need to type out the full folder name. Next, we have the cd command... Should be Captain Obvious, changes the current directory. To list the contents of the current folder, use the dir command. If you want to change the current directory to another drive, simply enter the drive letter – For example d: or e.Ģ) LIST CONTENTS OF CURRENT DIRECTORY D:\>dir That is, the current location is at the C:\ drive, inside the default Users\NAME folder.
![cool command prompt commands cool command prompt commands](https://i.ytimg.com/vi/kElAE62-AHs/maxresdefault.jpg)
This should pretty self-explanatory, it is your “current directory”. When the command prompt is launched, all that is staring back is a C:\Users\NAME.
Cool command prompt commands how to#
You can read our detailed article on how to set up WSL on your Windows 10 PC.Now that you have launched the command line, here are some of the basic commands to know.īASIC NAVIGATION 1) CHANGING THE CURRENT DRIVE Microsoft Windows It combines the likes of Command Prompt, Powershell, and the Windows Subsystem for Linux. You can use it because the commands meant for CMD also work on Powershell.įurthermore, Microsoft has developed an entirely new command-line experience in the form of a new app called Windows Terminal. For example, in the Start button context menu. If you might have realized, the places where you could see CMD earlier now show Powershell as the option because it’s the default shell in Windows 10. Over the years, Microsoft has started switching from the good old Command Prompt to its modern successor Powershell. CMD Alternative: Powershell and Windows Terminal
Cool command prompt commands software#
Afterall, many software we use in our daily lives run commands in the background to finish their work.
![cool command prompt commands cool command prompt commands](https://helpdeskgeek.com/wp-content/pictures/2019/02/netstat-command.png)
If you can deal with batch files easily, there is a lot of stuff that you can automate using CMD. It does away with the UI and gives you the power to access system resources at a deeper level. Command Prompt predates the Windows UI you see on your computer and it has found a home in other operating systems as well. New Windows 10 Keyboard Shortcuts in Command Prompt Is Windows CMD a helpful tool?ĭefinitely a yes!.
![cool command prompt commands cool command prompt commands](https://fossbytes.com/wp-content/uploads/2016/09/command-prompt-function-keys.jpg)
Perform Ping of Death Attack: CMD TrickĢ7. Use Netstat Commands To Monitor NetworkĢ5. Use Netstat Commands To Monitor Network On Windows Using CMDĢ4. Fix “Do you want to scan and fix Removable Disk” Error In WindowsĢ3. Find And Kill A Remote Connecting Malware On Windows 10Ģ2. Check Battery Capacity And Battery Health Report In Windows Using CMDĢ1.