Showing posts with label BATCH PROGRAMMING. Show all posts
Showing posts with label BATCH PROGRAMMING. Show all posts

Create Fake Virus Using Notepad to Scare Your Friends

Most of you get bored or annoyed due ads playing before youtube videos - See more at: http://www.coolhackingtrick.com/2013/06/how-to-block-youtube-ads.html#sthash.t9YNh8dQ.dpuf

Today i will show you a trick to make a Virus Using Notepad to Scare Your Friends.When your friends will run this fake virus, they will get scared. Actually this fake virus will not harm their computer. But it will initiate such commands on the screen of computer, that they will think that this is a real virus and its now effecting their computer. At last when their computer will shutdown, their heart will come to their mouth. They will abuse you a lot for this. But you will get all the fun you need by seeing their faces. So lets not waste more time and get started.

How To Create E-Bomb

Here is a simple trick to make E Bomb .Use it to play prank on your friends or enemy.

How To Do This

1.open Note pad and type the following 

Password Protect Any Folder Without Any Software



Today i will show you an awesum trick to password protect folder without using any software using batch file programming.This trick will work on all windows platform (Win XP, Win 7).You would have to follow this copy-paste method which is given below.

How to do this.

1. Open Notepad and Copy code given below into it.

cls
@ECHO OFF
title trickcent.blogspot.com
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
:CONFIRM
echo Are you sure to lock this 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 MyFolder "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 Your Secure Folder
set/p "pass=>"
if NOT %pass%== trickcents goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDMyFolder
md MyFolder
echo MyFolder created successfully
goto End
:End

2. Save the notepad file as lock.bat (.bat is RECOMMENDED)

3. Now double click on lock.bat and a new folder will be created with name MyFolder

4. Copy all your data you want to protect in that New folder

5. Now double click on lock.bat and when command promp appears Type Y and press enter.

6. Now MyFolder will be hidden from you view, to access that folde double click on lock.bat

7. It will ask for password enter your password and done. (Default password is trickcents)
To change the password replace trickcents with  new password in the above code

Create Your Own Calculator Using Batch Programming


   




Today I am sharing the Batch Code to create your own calculator.

@echo off
title Your title goes here
color 1f
:top
echo ---
echo Print Welcome Msg Here
echo ---
echo.
set /p udefine=
set /a udefine=%udefine%
echo.
echo = %udefine%
echo ---
pause
cls
echo Previous Answer: %udefine%
goto top
pause
exit  

Copy above code in notepad and save with .bat extension.

that's itt!!! 

Game In "C" Language


This is a small guessing game written in C. In this guessing game you have to guess a number between 0 & 100. You have 8 chances to do that. Every time you guess wrongly the program will give you a hint that your guess is too high or your guess is too low. Based on this hint you have to guess the number in the remaining attempts. Here’s the code

#include<stdio.h>
#include<stdlib.h>
#include<time.h>
void main()
{
int num,guess=-1,tries=0,pass=0;
time_t t;
srand((unsigned)time(&t));
num=rand()%100;
while((guess!=num)&&tries<8)
{
printf(“Enter the guess num b/w 0 & 100 (you have %d tries left out)\n”,(8-tries)); scanf(“%d”,&guess);
tries++;
if(guess==num)
{
printf(“Hurray you guessed it correctly!!!\n”);
pass=1;
}
else if(num< guess)
printf(“Your guess is too high\n”);
else
printf(“Your guess is too low\n”);
}
if(pass==0)
printf(“Sorry you lost! The correct number is %d\n”,num);
}

Disable Right Click On Your Blog or Website




Today I will show you a trick to disable right click on ur particular blog or website.If you own a blog or a website then you always want to prevent other malicious bloggers from copying the content from your blog. You might have written an article with great efforts and lots of research and other just copy/paste it on their blog. To prevent such users from copying content from your blog i will show you Javascript Trick to disable right click on your blog. So lets get started.

1. Got to your blogger Dashboard and then Click on Layout.


 2. Now Click on Add Gadget and select Html/Javascript.




3. Now paste code given below.

<script language='JavaScript1.2'>
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>

4. Save it and done. Now users will not be able to right click on your website.

That's it!Hope this little tutorial will help you guys protect your dear blogs and the time you spend building it up. 

Open Multiple Sites With One Click



If you want to open multiple websites with just one click.Then this trick will help you to do so.
For it you would have to make a batch file which will open number of websites with just one click. You can also use this method to open different computer programmes like internet explorer,notepad,firefox etc.


How to do this.

1.Open Notepad and copy below codes

@echo off
start www.trickcent.blogspot.com/
start www.google.com
start www.worldfloat.com 

2.Save this file as batch.bat

3.Now open your save file and it will open three websites wilth just one click.

4.You can also add more sites by writting Start followed by websites.

Do it & make fun.it's Awesum

LinkWithin

Related Posts Plugin for WordPress, Blogger...