Friday, January 28, 2011

How to create 'Con' named folder

Dear friends might be you have that there is some limitation in windows such as
you can't create folder with the following names: CON,AUX,PRN,COM1,COM2,
COM3,COM4,COM5,COM6,COM7,COM8,COM9,LPT1,LPT2,LPT3,LPT4,
LPT5,LPT6,LPT7,LPT8,LPT9

So for creating this follow this instructions.
Open your command prompt and now type this code
"MD \\.\\Path\CON"













it will create your folder
but remember this folder cannot be deleted
for deletion same trick is applied
"RD \\.\\Path\CON"


Thursday, January 27, 2011

Simple Trick to create log files using notepad

For this you only have to this is

On the top of any file type .LOG
and save the file with any name.
 

and whenever you open it will show you the openning time and date
like above.