Search This Blog

Saturday, May 15, 2010

Why folders with the name CON can’t be created in Windows??

Hey Guys
Some people don’t know why they can’t create it?
Very few know that they can still create it someway. But don’t know why are they supposed to do exactly like that.
Now, After reading this tutorial, you will become one of the rest
__________________________________________________ _________________________

Type 1:
Not only CON, we cannot create any of these
CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9 and more

The reason is that con, prn, lpt1..lpt9, etc are underlying devices from the time dos was written. so if u r allowed to create such folders, there will be an ambiguity in where to write data when the data is supposed to go to the specified ugydevices. In other words, if i want to print something, internally what windows does is — it will write the data to the folder prn (virtually u can call it a folder, i mean prn, con, etc are virtual folders in device level). So if we are able to create con folder, windows will get confused where to write the data, to virtual con folder or real one.
So Now, Try this…
Open the Command prompt by Start -> Run and type cmd
Code:
C:\> md \\.\c:\con
Now, Open My Computer and browse through the path where you created CON folder… Surprising?? Yeah, you have created it successfully
Now, try to delete the folder from My computer
OOPS!!! You can’t delete it…
Now, try this in command prompt console
Code:
C:\> rd \\.\c:\con
Yeah!! You did it…
__________________________________________________ __________________________
Type 2:
Well, let us now have a glance at how we were able to create it…
It is just because of the UNC Path (Universal Naming Convention). The Universal Naming Convention, or UNC, specifies a common syntax to describe the location of a network resource, such as a shared file, directory, or printer. Since, these conventions didn’t exist under pure DOS, they are not backward compatible. The UNC syntax for Windows systems is as follows.

\\RemoteHost\sharedfolder\resource


Where RemoteHost is the computer name / IP address of the computer that you wish to connect through remotely for accessing shared folder. The rest is the path.
(Here \\remotehost\drive:\con doesn’t make sense anyway, because without having a process on the remote host, there is no current ‘console’). It would be a security hazard as well, having the serial and parallel ports accessible for everyone who is allowed to read or write in any single directory.
The ” .” in the command \\.\c:\con suggest the local server. Now, you are pointing to your own computer. Since, you have all privileges on every folder of your computer, you can easily create it.

Display Legal Notice on Startup of your Windows !!



If your PC has multiple users then you can now display legal notice to every user before they login to your PC. This legal notice will be displayed at every startup just before the Desktop is loaded. Using this you can tell your friends about the do’s and dont’s in your computer when they login in your absence. Well you can do this pretty easily. For this there is one small registry hack. Here is the step-by-step instruction to do this.

1. Go to Start->Run, type regedit and hit ENTER

2. Navigate to the following key in the registry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
\policies\system
On the right side pane look for “legalnoticecaption“, double click on it and enter the desired Legal Notice Caption.

3. Next below this look for “legalnoticetext” and enter the desired Legal Notice Text. The legal notice text can be up to a page in it’s size so that it can include a set of do’s and dont’s for your computer.

4. After you do this just restart your computer and upon the next startup you can see the legal notice information for your computer. This trick works on both XP and Vista. You can also try it on Windows 7 and should work with no problems.
Hope you like this post. Pass your comments.

Multiple Gmail Id's for Same Account !!!



Hello Friends,
This is a method of How to Use Multiple Gmail ids for Same Account
You can have multiple email address of your existing gmail account just add “+” symbol after your user name then add anything followed by @gmail.com. Read the example below for better understanding.
My gmail id is shijinmrx@gmail.com This email address is being protected from spam bots, you need Javascript enabled to view it , Suppose I have three friends unais, rashid, imtiaz and if they ask for my email address then I tell them its
shijinmrx+ unais@gmail.com This email address is being protected from spam bots, you need Javascript enabled to view it ,
shijinmrx+ rashid@gmail.com This email address is being protected from spam bots, you need Javascript enabled to view it and shijinmrx+ imtiaz@gmail.com This email address is being protected from spam bots, you need Javascript enabled to view it .
When they send me at this address it first goes to gmail server where it recognize it as shijinmrx@gmail.com This email address is being protected from spam bots, you need Javascript enabled to view it and avoids “+” sign and anything after it. So any mail send to shijinmrx+ anything@gmail.com This email address is being protected from spam bots, you need Javascript enabled to view it come in my inbox.
So If you have Boyfriend/Girlfriend tell him/her email your email id as yourmail+ yourmate@gmail.com This email address is being protected from spam bots, you need Javascript enabled to view it

Note: TO check your mail you have to login as yourmail@gmail.com This email address is being protected from spam bots, you need Javascript enabled to view it that is in my case shijinmrx@gmail.com This email address is being protected from spam bots, you need Javascript enabled to view it without “+” sign.

Tips To Recover Scratched CD's


1. Spread a cloth on a flat surface and place the CD on it.

2. Then, hold the disc with one hand, use the other to wipe the polish into the affected area with a soft cloth.

3. Wait for it to dry and buff using short, brisk strokes along the scratch, not across it.

4. A cloth sold to wipe spectacles or camera lenses will work super m8’s.

5. When you can no longersee the scratch,, wash the disc with water and let it dry before playing. Intersting isnt it? Try it right now

NOTE--

I have used toothpaste with good effects before Ive also used car paint cutting compound on deeper scratches. It does leave lots of smaller scratches (as it is a cutting compound after all) but it will remove the worst scratches in most cases.

Use Kaspersky For a LifeTime !!!

After a lot of searching and using a lot of patches I found this and I tried it on my Windows XP and it works for me 100% without any blacklisting problem.Actually this is a simple trick of playing with 
Registry settings.


Generally Kaspersky provide us 30 days trial period on its Anti-virus Product. So there are the few steps that you have to perform when your trial license going to expire after 30 days for getting a new trial license :


1. Delete old key and turn off self defense (Settings-Options in kaspersky and turn off Enable self-defense, and click OK).


2. Open Registry editor (click start in windows menu then goto run and write regedit and click Ok) and go through these :


For 32bit OS: HKEY_LOCAL_MACHINE \ SOFTWARE \ KasperskyLab \ protected \ AVP9 \ environment


For 64bit OS: HKEY_LOCAL_MACHINE \ SOFTWARE \ Wow6432Node \ KasperskyLab \ protected \ AVP9 \ environment


3. Right look for PCID and right click and modify three or four last numbers or letters example : (8F10C22F-6EF6-4378-BAB1-34722F6D454)
and enter any other three-letter four-number and close the Registry Editor.

Contact

4. Right click on Kaspersky icon in the task bar and choose exit.


5. Go to Start-Programs menu, open the Kaspersky and when you activate searching trial license and you have new license of a peaceful month.


6. Go to Kaspersky settings and turn on self-defense.
This is hardly a 2 minute job and you got again a trial period of 30 days, and there is no rush for more keys.
Note : Most of the patches that you will found on the net are basically work on that trick, they simply make the changes in the registry and change identification of your computer to the Kaspersky server, thus Kaspersky log server recognizes you as a new user and assigns you new trial license.