can you give me cool cmd tricks?

give me cool cmd tricks and your email and I send you $50

sort by: active | newest | oldest
lemonie7 years ago
Gadget kid12 hours ago

open cmd as administrator and type :

attrib +s +h D:/folder name

Note: ( D:/ is my disk in my pc you can use yours wat u have in ur pc)

This command helps to hide a folder or file which makes you can't see the folder even though you change the settings to show hidden files or folder

If you want to see the folder which you have hidden just type the command

attrib -s -h D:/foldername

Note: the folder name shouldn't have any space in between

NicolasS1013 months ago

and save it as a .Bat file

NicolasS1013 months ago

If you relly want to get cmd in school with windows 10 type this in notepad:

@ECHO off

START %SystemRoot%\system32\cmd.exe

it's the only thing that still works at my school so much success and you're welcome

AdrianT241 year ago

cool tricks that will make any noob think you are a hacker;

1. Tree; this command will map your computer's... Everything, it just makes a bunch of text appear

2. Ping WEBSITE; Website is replaced with any website you want this will give you the website's IP address

3. Help; shows a list of commands

4. Ipconfig; gives info on your computer's IP and Internet stuff

5. Net; it gives information about your network, try "net send*" after the asterisk write a message you would like to broadcast to all computers on your network, type share, file, or start and more info code will appear

7. DDOS; type in ping -n 10000 -l 10000 this is just an example ip, not much will happen but if you run it like crazy u will rip the IP

8. Shutdown; self explanatory

siikskill4 years ago
telnet towel.blinkenlights.nl
type that in CMD and you can Watch Star Wars
prao64 years ago
1. Use Ctrl-C to Abort a Command

Just about any command can be stopped in its tracks with the abort command: Ctrl-C.

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.

Warning: Ctrl-C isn't a magic wand and it can't undo things that aren't undoable, like a partially complete format command. However, for things like the dir command 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.

2. View a Command's Results One Page (or Line) at a Time

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 redirection operator and then the more command.

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 space bar to advance by page or press the Enter key to advance one line at a time.

See Command Prompt Trick #7 below for a different solution to this problem.

3. Run Command Prompt as an Administrator Automatically

Many commands require that you execute them from an elevated Command Prompt in Windows - in other words, execute them from a Command Prompt that's run as an administrator.

You can always right-click on any Command Prompt shortcut and choose Run as administrator but creating a shortcut to do the same thing can be a huge time saver if you're a frequent Command Prompt power user.

To complete this Command Prompt trick, just create a Command Prompt shortcut on the desktop, enter the shortcut's properties and then select the Run as administrator box located in the Advanced button on the Shortcut tab.

4. Become a Command Prompt Power User with Function Keys

The fact that the function keys actually do something in the Command Prompt is maybe one of the best kept secrets about the tool:

F1: Pastes the last executed command (character by character)
F2: Pastes the last executed command (up to the entered character)
F3: Pastes the last executed command
F4: Deletes current prompt text up to the entered character
F5: Pastes recently executed commands (does not cycle)
F6: Pastes ^Z to the prompt
F7: Displays a selectable list of previously executed commands
F8: Pastes recently executed commands (cycles)
F9: Asks for the number of the command from the F7 list to paste

Command Prompt Trick #17 is full of arrow key shortcuts, a few of which are similar to these function key tricks.

5. Hack the Prompt Text

Did you know that the prompt itself in the Command Prompt is completely customizable thanks to the prompt command? It is, and when I say customizable, I mean really customizable.

Instead of C:\>, you can set the prompt to any text you want, have it include the time, the current drive, the Windows version number, you name it.

One useful example is prompt $m$p$g which will show the full path of a mapped drive in the prompt, alongside the drive letter.

You can always execute prompt alone, without options, to return it to its sometimes boring default.

6. Get Help for Any Command

Believe it or not, the help command does not provide help for every Command Prompt command. However, any command can be suffixed with the /? option, usually called the help switch, to display detailed information about the command's syntax and often times even some examples.

I doubt that the help switch is the coolest Command Prompt trick you've ever heard of, but it's hard to disagree that it's one of the more useful.

Unfortunately, neither the help command nor the help switch offer much in the way of explaining how to interpret the syntax. See How To Read Command Syntax if you need help with that.

7. Save a Command's Output to a File

An incredibly useful Command Prompt trick is the use of redirection operators, specifically the > and >> operators.

These little characters let you redirect the output of a command to a file, giving you a saved version of whatever data the command produced in the Command Prompt window.

Let's say you're about to post a computer problem to an online forum, like my computer support forum for example, and you want to provide really accurate information about your computer. An easy way to do that would be to use the systeminfo command with a redirection operator.

For example, you might execute systeminfo > c:\mycomputerinfo.txt to save the information provided by the systeminfo command to a file. You could then attach the file to your forum post.

See How To Redirect Command Output to a File for more examples and a better explanation of how to use redirection operators.

8. View Your Hard Drive's Entire Directory Structure

I think one of the neatest little commands is the tree command. With tree, you can create a kind of map of your computer's directories.

Execute tree from any directory to see the folder structure under that directory.

Tip: With so much information, it's probably a good idea to export the results of the tree command to a file. For example, tree /a > c:\treeresults.txt, just as explained in Command Prompt Trick #7.

9. Customize the Command Prompt Title Bar Text

Tired of that Command Prompt title bar text? No problem, just use the title command to change it to whatever you like.

For example, let's say your name is Maria Smith, and you want to express your ownership of the Command Prompt: execute title Property of Maria Smith and the Command Prompt's title bar will change immediately.

The change won't stick, so the next time you open Command Prompt the title bar will be back to normal.

The title command is usually used to help give a custom appearance in script files and batch files... not that I'm saying titling it with your name isn't a good idea!

10. Copy From the Command Prompt

As you may or may not know, copying from the Command Prompt is not as easy as copying from other programs, which is part of the reason why saving a command's output to a file, Command Prompt Trick #7, is so handy.

But what if you do just want to copy a short section of text to the clipboard? It's not too hard but it's not very intuitive either.

Right-click anywhere in the Command Prompt window and choose Mark. Now, highlight with your left mouse button whatever you'd like to copy. Once your selection is made, press Enter.
hookian4 years ago
to get cmd in school

1) open notepad

2) type

@echo off

3) save as cmd.bat

4) click it and you have cmd
1. To crash a website, type in:
Ping (website you dont like)

After it pings the website, you will find the ip address of the site after "ping statistics for..."

After that, type in this:

Ping (the website's ip address) -t -l 65500

NOTE: this will only work on some computers.

2. to find the ip address of a computer, type this in:

3. to change a password of a user on the same computer, type in:
net user (username here) *

it will say type in password here. after that, type it in. it will not show up for security. It will then say confirm, and type in the same password.
NOTE: this will only work if you are an administrator

4. to change the title, type this in:
title (whatever you want the title to be)
and after you press enter, it will change the title

5. to change the color to the matrix, type this in:
color 0a
after you press enter, it will be green with a black backround.

6. to find all connections happening on your computer, type this in:
netstat -n



7. to add a user, type this in:
net user (the username you want) /add

8. to delete a user, type this in:
net user (the username you want deleted) /delete

9. to make it echo something, type this in:
echo (your message here)

10. to clear the cmd, type this in:

11. to shutdown a computer on the same network as you, or your own, type this in:
shutdown -i

NOTE: a page will appear. in the space that says computer name, type in the ip address of the computer you want to shutdown. you can change the settings, but I think you can figure them out.

12. to create a cmd, open notepad, and type this in notepad:

save it as this exactly: "cmd.bat"

open it and you have cmd.

13. to create the matrix coding, type this into notepad:
@echo off
title matrix
color 0a
echo %random% %random% %random% %random%
echo %random% %random%
echo %random% %random% %random% %random% %random%
goto h

save it as this exactly: "matrix.bat"

NOTE: press Ctrl+c to stop it, and press Alt+Enter to make it full screen.

NOTE NOTE NOTE NOTE: this post is for educational purposes only and is not to be used illegally in any way. If you choose to do so, I am not responsible for any of your actions.

I'm not taking your money
miiwii37 years ago
Ok if you are at school and feel evil you can shutdown all computers or just a selective computer my typeing shutdown -s -t  60(time till shutdown) -m \\(computer name/ip to get cmd type cmd in run. search telnet on here and you should find a cool star wars movie in symbols! it mustve taken for ever to make. uhm oh, say a website is blocked on school computers all you have to do is type in command prompt ping (website name) and the first numbers that appear are the ip address. all you do then is put the ip address in the address bar in your browser. uhm if you can get enough computers you can crash a site(i do not take ANY responsibility). to do that search ddos(or dos) attack on youtube.com uhm there is a way to send a message to other computers but i forgot the code. and if you ever forget the shutdown code for cmd just type shutdown and it will better explain it.

My Website miithewii.webs.com check it out.

ill message you my email. if i find more ill message you but if you ever need some remember this AMAZING site it explains everything! HERE
ojones2 miiwii35 years ago
hey can you explain this a little better... this is tempting >:D
i actually did that yesterday LOL
marlish6 years ago
If you want an administrator account and you have a limited one then you cannot do most of the things like downloads and stuff so heres a way to make your limited account to a administrator one. Just open cmd and type the following.

If cmd is blocked at school or wherever the place then open notepad and type command.com. Then save it as batch.bat.

Open the bat thingie and you have command prompt.
Then type the following.

net user /add useraccountname mypassword

net localgroup administrators useraccountname /add

net share concfg*C:\/grant:useraccountname,full

net user useraccountname *

changing it follow from the 2nd to last line

to change the admin password for your own use type the following in CMD

net user (administrators account name) * then hit enter and it will ask for a new password

heres what it would look like if the admin account name is Frank and assuming im changing the password from firefighter to admin

net user Home *
Type in new password: admin
Retype new password: admin

Hope this is useful.I didnt check it.

Well do u really need a cooooool command then check this out
But not on your computer.
iam warning you

here it is
This will pop on endless notepads until your computer freezes and crashes.

@ECHO off
START %SystemRoot%\system32\notepad.exe
GOTO top

Type this in notepad
This command will make the backespace key being pressed so that nothing could be typed

MsgBox "Let's go back a few steps"
Set wshShell =wscript.CreateObject("WScript.Shell")
wscript.sleep 100
wshshell.sendkeys "{bs}"

This is for fun only
IF u want better codes then go to this site


dont use wwwon the site above

Foogie6 years ago
any thing you know about the command promt is can be a cmd trick. Anything that an average person does not know.
allenmt7 years ago
 if you type start then control panel or example.doc it will open email greenguyaus3@gmail.com
revelae7 years ago
type "prompt", a space, and then something creepy over and over. hit enter, then type "cls" and hold enter down until it fills the screen.
Re-design7 years ago
Do you realize that offering $50 for cool cmd tricks is a legally binding offer and you could be sued for fraud if you don't pay every trick sent in.  You need to be more careful what you say on the internet.
acidbass7 years ago
what exactly are cdm trix