Showing posts with label command prompt password. Show all posts
Showing posts with label command prompt password. Show all posts

Tuesday, February 12, 2013

Unable to connect to your WiFi Router


Problem Statement

If you have Internet Broadband connection, whenever you are try to connect 192.168.1.1 it to configure you router settings it show your web browser can't connect to the 192.168.1.1. Here is the solution.



Step 01

Rest your Router

How to reset your router

Press the "rest" button on the router for a couple of second.
All the LED  Indicators will blink, release the reset button.


Step 02

Open Cmd Run as Administrator and type following commands
IPCONFIG  /FLUSHDNS-To Clear the DNS Cache
IPCONFIG  /RENEW- To renew the IP address

Step 03

Reset your web browser
Open internet Explorer > Advanced Tab>Click reset

   
Enjoy!!

Saturday, February 9, 2013

How to Lock a folder using a simple .Bat File


Most of the People are using third party application tools like "Folder Lock" to hide folders and files from unauthorized access. So today I'm going to show how to hide a folder or file using a .bat file . 
Solution:

Step 01

Create a Folder name call "Test".Open Notepad and Copy below code then save it with.bat extension .

cls
@ECHO OFF
title Folder Test 
if EXIST "HTG Locker" goto UNLOCK
if NOT EXIST test goto MDLOCKER
:CONFIRM
echo Are you sure you 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 Test "HTG Locker"
attrib +h +s "HTG Locker"
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p "pass=>"
if NOT %pass%== Test123 goto FAIL 
attrib -h -s "HTG Locker"
ren "HTG Locker" Your Folder Name
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Test  
echo Test created successfully
goto End
:End

Step 02

Open the .bat file that you create. once you open file you will see a window like below


To lock the folder press "Y" and Enter. Now you can't see the Test folder that created.

Step 03

To unlock the folder open the .bat > type the password. Now you can see the folder that you created on the desktop.



Enjoy!!!


  • Page Views

  • More Text