Archive for December, 2012

File/Folder named CON or LPT1 on WINDOWS

December 26th, 2012, posted in Windows
Share

File/Folder named CON or LPT1 on WINDOWS

G:>mkdir CON
The directory name is invalid.

G:>mkdir LPT1
The directory name is invalid.

G:>mkdir LPT2
The directory name is invalid.

G:>mkdir LPT9
The directory name is invalid.

Have you ever tried to make a folder or file named CON or LPT1 (in general LPTX X takes 1,2,3,…9)? If not try now and see that you cannot make a folder or file with those names. Have u already done? Read on …

Why is this so?

Inorder to find out why this doesn’t work we have to go back to the age of MS-DOS. Microsoft Disk Operating System (MS-DOS) is a command-line operating system that existed before the advent of GUI OS (Graphical User Interface). Everything from making ,renaming, deleting etc was done using commands. Some of the commands are

COPY     Copies one or more files to another location.
DEL      Deletes one or more files.
DIR      Displays a list of files and subdirectories in a directory.
FIND     Searches for a text string in a file or files.
.
.

Let us look more closely to the COPY command. The COPY command usage is as follows:

COPY [options] <source> [options] <destination>

In DOS everything is considered as files, even keyboard and printers. The filename for keyboard is given as “CON” and the printer names are given as “LPT1”, “LPT2” etc.. So inorder to copy something from keyboard (our input) the following command is used.

G:>COPY CON mydata.txt
These lines come in mydata.txt and inorder to stop input press Ctrl+Z
^Z

G:>COPY mydata.txt LPT1

So now you suppose that a folder or file named “con” could be created and you give a COPY CON command. What is DOS supposed to do? copy the CON file or use the keyboard console as input? Thus an ambiguity arises. So Microsoft has purposely disabled making of files or folders named CON / LPT1 / LPT2 etc. in order to remove this ambiguity.

Could you make a CON or LPT1 .. file on WINDOWS?

Found more invalid names? Let me know …..
Invalid Name List

+ CON
+ LPT1, LPT2, LPT3, LPT4 ... LPT9
+ PRN
+ NUL
+ COM1, COM2, COM3 .... COM9
Share

Something Which We Dont Know About Jinnah

December 25th, 2012, posted in PAKiSTAN, POEPLes
Share

Jinnah Quaid-e-Azam

The Jinnah we knew was very different from the one we see on our bank notes. The one on our bank notes is dull, monotonous and peculiarly lifeless.

Growing up in Pakistan, it feels like we’ve been robbed of what Jinnah’s legacy was. Nobody knows who he was, or how he thought. We never knew our Jinnah was immensely classy with 200+ Savile Row suits, someone dripping with the Brit culture, but turned around and gave them Brits a taste of their own medicine. Someone with the intellectuality of bringing a nation into being. Someone who Iqbal trusted with the responsibility of implementing his ideologies. Jinnah, with his great-danes and his Rolls-Royce was the pinnacle of wealth and status back in the days. We are never taught how someone from that position would go on to build a whole nation, unprecedented. How someone was build to challenge the status-quo, so radically.

Growing up in Pakistan, we haven’t read anything though we think we know everything about Jinnah because we use to start off our essays with ‘MAJ was born in Karachi to Jinnah Punja on 25th December’. We have been robbed off the intellectual conversations carried between Jinnah and Iqbal in letters. We’ve been robbed of knowing our leader in the truest essence. Heck we never even bothered to read his biography, which shamefully a gora wrote, instead of a Pakistani.

We, with our declining intellects and exaggerated patriotism, disappoint you Jinnah.

Quadi-e-azam(Click on the image for big view)

Share

Saying Of Quaid-e-Azam

December 25th, 2012, posted in MESSAGEs, PAKiSTAN
Share

Quaid-e-Azam saying

Share

Find Your Sun and Moon Astrology Horoscopes

December 24th, 2012, posted in AStROLOGY
Share

find moon and sun sign astrology horscope

First Check your Moon and Sun by this link :

http://www.elbertwade.com/atlas.html

Thank check you Moon and Sun detial from here :

http://astrobix.com/horoscope/sunmooncombo/

They aint that real..
They are just for fun… 😉

Share

Make an Undeletable Folder

December 23rd, 2012, posted in Windows
Share

undelateable folder
1. Open cmd ( Type in Run option, the command ‘cmd’ or navigate to All Programs->Accessories-> Command Prompt)


2. In cmd change to the directory that you want ( you can use the commands ” cd…” to exit the curent folder and “E:” for example to change from your current drive to E drive.

3. Type md lpt1\ and press enter, the folder now will be in your E:

4. If you try to delete or rename it, it will appear error message

5. If you want to delete it just go to ‘cmd’, navigate to the directory and type rd lpt1\ and press Enter.

Share