Saturday, April 27, 2024
03:02 AM (GMT +5)

Go Back   CSS Forums > Off Topic Section > Computers and Technology

Computers and Technology Discuss computer issues, topics, and technology. Ask your questions about computer related problems, software, gadgets, computer science & emerging technologies.

Reply Share Thread: Submit Thread to Facebook Facebook     Submit Thread to Twitter Twitter     Submit Thread to Google+ Google+    
 
LinkBack Thread Tools Search this Thread
  #11  
Old Tuesday, June 26, 2007
Muskan Ghuman's Avatar
Senior Member
Medal of Appreciation: Awarded to appreciate member's contribution on forum. (Academic and professional achievements do not make you eligible for this medal) - Issue reason: Medal of AppreciationQualifier: Awarded to those Members who cleared css written examination - Issue reason:
 
Join Date: Nov 2005
Location: Pakistan
Posts: 867
Thanks: 141
Thanked 204 Times in 109 Posts
Muskan Ghuman has a spectacular aura aboutMuskan Ghuman has a spectacular aura aboutMuskan Ghuman has a spectacular aura about
Default

@ 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,
__________________
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.
Reply With Quote
  #12  
Old Wednesday, June 27, 2007
Last Island's Avatar
Royal Queen of Literature
Medal of Appreciation: Awarded to appreciate member's contribution on forum. (Academic and professional achievements do not make you eligible for this medal) - Issue reason: AppreciationBest Moderator Award: Awarded for censoring all swearing and keeping posts in order. - Issue reason: Best ModGold Medal: Awarded to those members with  maximum number of  reputation points. - Issue reason: For the year 2007, 2008, 2009, 2010, 2011Member of the Year: Awarded to those community members who have made invaluable contributions to the Community in the particular year - Issue reason: 2008Diligent Service Medal: Awarded upon completion of 5 years of dedicated services and contribution to the community. - Issue reason: More than 5 years of dedicated servicesModerator: Ribbon awarded to moderators of the forum - Issue reason:
 
Join Date: May 2005
Location: Forest of Fallen Stars
Posts: 7,585
Thanks: 2,427
Thanked 15,848 Times in 5,006 Posts
Last Island is headed toward stardomLast Island is headed toward stardomLast Island is headed toward stardomLast Island is headed toward stardomLast Island is headed toward stardomLast Island is headed toward stardomLast Island is headed toward stardomLast Island is headed toward stardomLast Island is headed toward stardomLast Island is headed toward stardomLast Island is headed toward stardom
Default

@ 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
Reply With Quote
The Following User Says Thank You to Last Island For This Useful Post:
Muskan Ghuman (Wednesday, June 27, 2007)
  #13  
Old Wednesday, June 27, 2007
Member
 
Join Date: Sep 2006
Location: uddas maziii ki sochoan main aur future k khatroan main
Posts: 40
Thanks: 2
Thanked 0 Times in 0 Posts
simpleman is on a distinguished road
Default

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
Reply With Quote
  #14  
Old Sunday, August 12, 2007
dangerrule's Avatar
Junior Member
 
Join Date: Aug 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
dangerrule is on a distinguished road
Default

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"
Reply With Quote
  #15  
Old Monday, August 13, 2007
Khushal's Avatar
G R E N A D E
Moderator: Ribbon awarded to moderators of the forum - Issue reason: Khushal  moderates General ChatMedal of Appreciation: Awarded to appreciate member's contribution on forum. (Academic and professional achievements do not make you eligible for this medal) - Issue reason: Appreciation
 
Join Date: Mar 2005
Location: Edinburgh, Scotland
Posts: 363
Thanks: 30
Thanked 109 Times in 67 Posts
Khushal has a spectacular aura aboutKhushal has a spectacular aura about
Default

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!!!
__________________
نہ تیرا پاکستان ہے , نہ میرا پاکستان ہے , یہ اس کاپاکستان ہے , جو صدرپاکستان ہے
Reply With Quote
  #16  
Old Monday, August 13, 2007
Muskan Ghuman's Avatar
Senior Member
Medal of Appreciation: Awarded to appreciate member's contribution on forum. (Academic and professional achievements do not make you eligible for this medal) - Issue reason: Medal of AppreciationQualifier: Awarded to those Members who cleared css written examination - Issue reason:
 
Join Date: Nov 2005
Location: Pakistan
Posts: 867
Thanks: 141
Thanked 204 Times in 109 Posts
Muskan Ghuman has a spectacular aura aboutMuskan Ghuman has a spectacular aura aboutMuskan Ghuman has a spectacular aura about
Default

@ 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.
Reply With Quote
  #17  
Old Monday, August 13, 2007
Khushal's Avatar
G R E N A D E
Moderator: Ribbon awarded to moderators of the forum - Issue reason: Khushal  moderates General ChatMedal of Appreciation: Awarded to appreciate member's contribution on forum. (Academic and professional achievements do not make you eligible for this medal) - Issue reason: Appreciation
 
Join Date: Mar 2005
Location: Edinburgh, Scotland
Posts: 363
Thanks: 30
Thanked 109 Times in 67 Posts
Khushal has a spectacular aura aboutKhushal has a spectacular aura about
Default

Quote:
Originally Posted by Muskan Ghumman
Well, I have tried this text but on reopening it is same, no unicode boxes.
I actually said i can't really remember the exact text, but it was something realted to Bush and his being loser. I'll try to find the Exact text and post it!

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
Reply With Quote
  #18  
Old Wednesday, August 15, 2007
Qurratulain's Avatar
Economist In Equilibrium
Medal of Appreciation: Awarded to appreciate member's contribution on forum. (Academic and professional achievements do not make you eligible for this medal) - Issue reason: she won the Essay competitionBest Moderator Award: Awarded for censoring all swearing and keeping posts in order. - Issue reason: Best ModMember of the Year: Awarded to those community members who have made invaluable contributions to the Community in the particular year - Issue reason: For the year 2006
 
Join Date: Feb 2006
Location: The Devil's Paradise
Posts: 1,742
Thanks: 118
Thanked 406 Times in 145 Posts
Qurratulain has a spectacular aura aboutQurratulain has a spectacular aura aboutQurratulain has a spectacular aura about
Default

Quote:
Originally Posted by last island
Because CON is a reserved word originally used with the DOS Mode command

eg if you start up a DOS window via typing command in the START > RUN window

And click on the button to full screen you can then type:

mode con cols=40 to make the width of the screen only 40 characters instead of the normal 80

mode con lines=50 to make the screen display 50 lines of text instead of the normal 25

mode con cols=80 lines=25 will get it back to normal

The CON refers to console.

Just happened to see your techy post, you rock!
__________________
||||||||||||||||||||50% Complete
Reply With Quote
The Following User Says Thank You to Qurratulain For This Useful Post:
Last Island (Wednesday, August 15, 2007)
  #19  
Old Sunday, August 19, 2007
Member
 
Join Date: Aug 2007
Location: n feroze
Posts: 43
Thanks: 5
Thanked 6 Times in 5 Posts
jk_bohio is on a distinguished road
Default you are right bro

you are right bro khushal
i tried "bush hid the fact" at reopening i found small boxes



regards
jk
Reply With Quote
  #20  
Old Saturday, September 01, 2007
jalbani_kh's Avatar
Member
 
Join Date: Jan 2007
Location: Bank of Paradise
Posts: 89
Thanks: 0
Thanked 42 Times in 35 Posts
jalbani_kh is on a distinguished road
Default

!!!!!!!!!!!!!!!!


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...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


CSS Forum on Facebook Follow CSS Forum on Twitter

Disclaimer: All messages made available as part of this discussion group (including any bulletin boards and chat rooms) and any opinions, advice, statements or other information contained in any messages posted or transmitted by any third party are the responsibility of the author of that message and not of CSSForum.com.pk (unless CSSForum.com.pk is specifically identified as the author of the message). The fact that a particular message is posted on or transmitted using this web site does not mean that CSSForum has endorsed that message in any way or verified the accuracy, completeness or usefulness of any message. We encourage visitors to the forum to report any objectionable message in site feedback. This forum is not monitored 24/7.

Sponsors: ArgusVision   vBulletin, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.