Showing posts with label Command Prompt. Show all posts
Showing posts with label Command Prompt. Show all posts

Create a folder with invalid file name in Windows

Have you ever tried to make a folder named ‘CON’ ? Its impossible, because it’s an invalid folder name for windows. There is many such names like: CON, AUX, PRN, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8 and LPT9. But you can now create such folder with a simple trick.









Step 1: Open Command Prompt, then Type

mkdir \\.\E:\CON
The red coloured text is the folder name here and the Blue Colour, Drive alphabet. Then Verify that folder by

dir \\.\E:\CON
Now that folder is Created. In this way you can create all the file names mentioned above. To delete that folder, type,

rmdir \\.\E:\CON
Enjoy.
Continue Reading

How to change the color of Command Prompt

Open cmd, type color then number of the color, here's some codes and their colors.

 0 = Black       8 = Gray

   1 = Blue        9 = Light Blue

   2 = Green       A = Light Green

   3 = Aqua        B = Light Aqua

   4 = Red         C = Light Red

   5 = Purple      D = Light Purple

   6 = Yellow      E = Light Yellow

   7 = White       F = Bright White 

 for example, i want color aqua, then type like this and press enter 'color 3' (without quotes)
Continue Reading

How to create a Wi-Fi from PC to Android.

Open Cmd with administrator privilage.


1. Check wheather your PC supports Wi-Fi or not by typing this command in cmd. 

netsh wlan show drivers


3. Configure Hosted Network now.

netsh wlan set hostednetwork mode=allow ssid=yourname key=yourpassword
4. Change ssid, key as you desired.
5. You've succesfully established your connection now.
Now to start your hosted network.
6. Type this command and press enter.

netsh wlan start hostednetwork
8. Go to control panel and open network and sharing setting, Click on Change adaptor settings on you left hand side.
9. Right click on your default internet connection and select Properties. And take the Sharing tab.
10. Select Allow other network computers to use this connection. And mention Microsoft virtual Wi-Fi Miniport adaptor in that.

13. You're ready to enjoy Wi-Fi on Android.


Continue Reading