COMMAND PROMPT- AVOID ACCIDENTAL CLICKS ON LINKS AND URLS


In this Tutorial guide we will discuss about the problem of clicking URL or link accidentally & guide you with a step by step extraordinary solution to avoid it.




If you are a regular PC user online or offline then you must experienced the negative side of clicking an URL or link accidentally.




Here's is the trick to avoid such mishaps-

Copy and paste this code in Notepad (You can change firefox with iexplore):

@ECHO OFF
ECHO %1
ECHO.
ECHO Are you sure that you want to open this link? [y/n]
SET /P ANS=
IF /I "%ANS%"=="y" (START firefox %1) ELSE (EXIT)

Save the file as prompt.bat

Go to My Computer.

Select Tools in the Menu bar, then choose Folder Options.

Go to File Types tab.

Select URL:HyperText Transfer Protocol

Click on Advance.

Click on Edit then Browse.

Find and select prompt.bat

Done!




Next time you click a link on any Application, prompt.bat will open. If you want to set the default action again, simply repeat the steps above and choose your default browser instead of prompt.bat.

It's quite useful try it

No comments:

Post a Comment