🔒 Closed Cmd tricks

Status
Not open for further replies.

lightsword

Honorary Poster
Command Prompt Tricks, häçks, and Secrets in Windows 10, 8, 7, Vista, and XP
command-prompts-57ed85a03df78c690fdd85eb.png

dejanj01/iStock


The Windows You do not have permission to view the full content of this post. Log in or register now. tool, and many of its You do not have permission to view the full content of this post. Log in or register now., might seem boring or even relatively useless at first glance, but as anyone who has ever used the Command Prompt very often can tell you, there's much to love!





I guarantee that these several Command Prompt tricks and other Command Prompt häçks will get you excited about many of the mundane sounding You do not have permission to view the full content of this post. Log in or register now. like telnet, tree, or robocopy... okay, robocopy sounds pretty cool.





Some of these Command Prompt tricks and häçks are special features or fun uses for the Command Prompt itself, while others are just neat or relatively unknown things you can do with certain CMD commands.





Let's get started! You do not have permission to view the full content of this post. Log in or register now. and then browse through these 21 super-cool Command Prompt häçks.





Whatever you do, don't miss the crazy trick where you can watch the entire Star Wars Episode IV movie, for free, from right inside the Command Prompt. Yes, I'm serious.





Enjoy!



02
of 22
Use Ctrl-C to Abort a Command
185274230-56a6f9d85f9b58b7d0e5cc42.jpg

© David Lentz / E+ / Getty Images


Just about any command can be stopped in its tracks with the abort command: You do not have permission to view the full content of this post. Log in or register now..





If you haven't actually executed a command, you can just backspace and erase what you've typed, but if you've already executed it then you can do a Ctrl-C to stop it.





Ctrl-C isn't a magic wand and it can't undo things that aren't undoable, like a partially complete You do not have permission to view the full content of this post. Log in or register now..





However, for things like the You do not have permission to view the full content of this post. Log in or register now. that seem to go on forever or questions you're asked at the prompt that you don't know the answer to, the abort command is an excellent Command Prompt trick to know.



03
of 22
View a Command's Results One Page (or Line) at a Time
more-command-58112ae45f9b58564c9c5be8.PNG



Ever run a command, like the dir command, that produces so much information on the screen that it's almost useless? You're not alone.





One way around this is to execute the command in a special way so whatever information is generated is shown to you one page, or one line, at a time.





To do this, just type the command, the dir command for example, and then follow it with the pipe character and then the You do not have permission to view the full content of this post. Log in or register now..





For example, executing dir /s | more will generate the thousands of lines of results that you expect from the dir command, but the more command will pause each page of results with -- More -- at the bottom of the page, indicating that the command is not done running.





Just press the spacebar to advance by page or press the Enter key to advance one line at a time.





Tip: One of my other CMD häçks (which you'll see below) provides a different solution to this problem using something called a redirection operator, so stay tuned...
 
Status
Not open for further replies.

About this Thread

  • 0
    Replies
  • 200
    Views
  • 1
    Participants
Last reply from:
lightsword

Trending Topics

Online now

Members online
426
Guests online
1,320
Total visitors
1,746

Forum statistics

Threads
2,292,338
Posts
29,076,129
Members
1,210,295
Latest member
Hans Landa
Back
Top