|
Computers and Technology Discuss computer issues, topics, and technology. Ask your questions about computer related problems, software, gadgets, computer science & emerging technologies. |
Share Thread: Facebook Twitter Google+ |
|
LinkBack | Thread Tools | Search this Thread |
#11
|
||||
|
||||
@ Island,
All the words mentioned by you are the system or reserved words??? Not only "CON" but I have tried them too but in vain. Regards, |
#12
|
||||
|
||||
@ Muskan
All the names mentioned are reserved device names. This actually is a unix-like feature. DOS device drivers are accessible like normal files, i.e. the everything-is-a-file philosophy. CON is the equivalent of /dev/tty (In Win98 if you type "con/con" in Run it'll give you a bluescreen.) NUL of /dev/null COM# of /dev/ttyS# LPT# of /dev/lp# CLOCK$ corresponds to /dev/rtc (PRN is an alias to LPT1, AUX is COM1). Every character device can be opened this way, block devices (which are assumed to be FAT formatted...) are named A: to Z:, as you will know. Many pseudo character devices (drivers which had to be loaded as drivers but were no character devices, like EMM386, HIMEM.SYS, ..) had forbidden characters like '*' in their device names to be hidden from the user. We can do this by following method STEP1: goto command prompt STEP2: type in prompt e:\> "mkdir \\.\e:\con" STEP3: verify by typing "dir \\.\e:\con" STEP4: delete the file or folder "rmdir \\.\e:\con" Note::Not necessary to go only for E:,u can create in any Drive.
__________________
The Me you have always known, the Me that's a stranger still. Last edited by Princess Royal; Friday, May 30, 2008 at 01:24 PM. Reason: posts merged |
The Following User Says Thank You to Last Island For This Useful Post: | ||
Muskan Ghuman (Wednesday, June 27, 2007) |
#13
|
|||
|
|||
salam
con is a file where mostly dos commands are stored some folders are reserved so u can not make them same is with linux operating system |
#14
|
||||
|
||||
READ FROM HERE LOL
Start with the MSDN documentation on file naming (http://msdn.microsoft.com/library/de...ing_a_file.asp) . It provides the list of reserved file names. It also explains the "\\?\D:\foo" syntax, with focus on overcoming the MAX_PATH length limitations in the ANSI APIs. What it doesn't do is tie these ideas together. (It also doesn't mention the "\\.\" prefix, but it basically works like "\\?\".) In NT-based versions of Windows (NT 3.1-4.0, Win2K, WinXP, Vista, etc) Win32 is implemented as a subsystem on top of the NT OS. One function of this subsystem is to translate filenames and pathnames from the Win32 object namespace to the NT object namespace. It is in this translation layer that the reserved names are handled. (This is also where concepts like "current directory" and "relative paths" are implemented.) The "\\?\d:\foo" syntax provides a way to bypass the translation mechanism. This is why relative paths are not permitted using this syntax. This is also why you can create files with "Win32 reserved names" using this syntax. The reserved names "feature" is done for backwards compability with Win16 and DOS applications. Modern versions of Windows and still run 16-bit applications via the included Virtual DOS Machine (VDM). Also, the initial Win32 APIs were, whenever possible, a simple 32-bit "widening" of the 16-bit APIs. I suspect 32-bit support for these reserved names was included to ease the porting of 16-bit apps. The connection between reserved names and "\\?\d:\foo" may be subtle and not documented very clearly, but there's no magic, no conspiracy, no "MS FORGOT TO REMOVE SOME DOS CODE" mistakes. It may seem unnecessary now, but the industry was very different 16 years ago when Win32 was designed.
__________________
"some people only look good in war" |
#15
|
||||
|
||||
well i remember there was a small sentence about "Bush is loser" or something like taht... when you typed that in notepad and save and re-open the file it would display small boxes of unicode rather than text!!!
__________________
نہ تیرا پاکستان ہے , نہ میرا پاکستان ہے , یہ اس کاپاکستان ہے , جو صدرپاکستان ہے |
#16
|
||||
|
||||
@ Khushal,
Well, I have tried this text but on reopening it is same, no unicode boxes.
__________________
My ALLAH it is enough for my respect that I m "Your" person & it is enough for my pride that "You" are my GOD."You" are exactly the way I desire.Thus please mould me the way "You" desire. |
#17
|
||||
|
||||
Quote:
Ok, here is a Video link to that !!! http://www.metacafe.com/watch/300088..._secret_trick/ My Pooor dial-up is taking a bit time to buffer this video, once i see it i will post the details here so that you won't have to watch the video! Till now enjoy the VIDEO yourself! UPDATE:OK here is the procedure:! 1: Open Note pad 2: type in "Bush hid the facts" (excluding the double quotes) 3: Save the file(in .txt format) with any name and close it. Now re-open the file and see the changes@!
__________________
نہ تیرا پاکستان ہے , نہ میرا پاکستان ہے , یہ اس کاپاکستان ہے , جو صدرپاکستان ہے Last edited by Princess Royal; Friday, May 30, 2008 at 01:25 PM. Reason: posts merged |
#18
|
||||
|
||||
Quote:
Just happened to see your techy post, you rock!
__________________
||||||||||||||||||||50% Complete |
The Following User Says Thank You to Qurratulain For This Useful Post: | ||
Last Island (Wednesday, August 15, 2007) |
#19
|
|||
|
|||
you are right bro
you are right bro khushal
i tried "bush hid the fact" at reopening i found small boxes regards jk |
#20
|
||||
|
||||
!!!!!!!!!!!!!!!!
When u want to create a file in DOS (Disk Operating System ) , then CON is used... Eample : you want to create a text file named "Amjad" then you will write: c:\> copy con amjad then enter and what u want 2 write u can do it...... i think this is the cause... |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Remeo and Juliet (SHAKESPARE) Complete | Ahmad Bilal | English Literature | 1 | Saturday, July 14, 2012 09:50 AM |
Iq Tests | sibgakhan | General Knowledge, Quizzes, IQ Tests | 5 | Saturday, September 29, 2007 11:24 PM |
Shakespeare's Sonnets | Last Island | English Poetry | 0 | Thursday, December 21, 2006 05:05 AM |
HAMLET (SHAKESPEARE) Complete | Ahmad Bilal | English Literature | 0 | Wednesday, April 26, 2006 11:34 PM |