A Challange. Will you accept

randika100100

Member
Nov 19, 2006
112
0
0
Hey i wanna do a little challange to all of you.

My challange is


If you can make a folder in windows call "CON" middle letter is not Zero its O for Ocean.

Try it. :D :D :D
 

anurudda

Member
Aug 24, 2007
2,463
2
0
Lankawe
RESERVE WORD! eg: u cannot create a variable named using a keyword in java or wots so ever programming language,

So in this case Several special file names are reserved by the system and cannot be used for files or folders; Eg: not only CON.. there're others like..
AUX, COM1, COM2, COM3, COM4, LPT1, LPT2, LPT3, PRN, NUL .
 

chamathrc

Member
Mar 15, 2007
1,574
1
0
43
Melbourne, Australia
here is an amazing trick.

you know that we cant create a folder named CON, NUL, COM1, COM2, COM3, LPT1, LPT2, LPT3,COM1 to COM9 and LPT1 to LPT9....

in any of the windows operating system.

try with this.

but here is the master mind....................

i found one method to create the folders with these reserverd system names.

here is the solution to create the folder named con and other system variables.

1) go to run dialog.
2) type cmd/command (command prompt gets opened)
3) go to root directory like C:\ or D:\ etc
4) type md\\.\\c:\\con ....(here is done)
5) check the folder on the respected drive.

try

& reply if not working.

with warm regards.

Chamath
 

randika100100

Member
Nov 19, 2006
112
0
0
anurudda said:
RESERVE WORD! eg: u cannot create a variable named using a keyword in java or wots so ever programming language,

So in this case Several special file names are reserved by the system and cannot be used for files or folders; Eg: not only CON.. there're others like..
AUX, COM1, COM2, COM3, COM4, LPT1, LPT2, LPT3, PRN, NUL .

ThankX for your information. I tried them now . MaXXa they are also like that.
 

anurudda

Member
Aug 24, 2007
2,463
2
0
Lankawe
chamathrc said:
here is an amazing trick.

you know that we cant create a folder named CON, NUL, COM1, COM2, COM3, LPT1, LPT2, LPT3,COM1 to COM9 and LPT1 to LPT9....

in any of the windows operating system.

try with this.

but here is the master mind....................

i found one method to create the folders with these reserverd system names.

here is the solution to create the folder named con and other system variables.

1) go to run dialog.
2) type cmd/command (command prompt gets opened)
3) go to root directory like C:\ or D:\ etc
4) type md\\.\\c:\\con ....(here is done)
5) check the folder on the respected drive.

try

& reply if not working.

with warm regards.

Chamath

ela kiri machan it worked... U won the challenge:yes: :yes: :yes: :yes: :yes:
 

anurudda

Member
Aug 24, 2007
2,463
2
0
Lankawe
chamathrc said:
here is an amazing trick.

you know that we cant create a folder named CON, NUL, COM1, COM2, COM3, LPT1, LPT2, LPT3,COM1 to COM9 and LPT1 to LPT9....

in any of the windows operating system.

try with this.

but here is the master mind....................

i found one method to create the folders with these reserverd system names.

here is the solution to create the folder named con and other system variables.

1) go to run dialog.
2) type cmd/command (command prompt gets opened)
3) go to root directory like C:\ or D:\ etc
4) type md\\.\\c:\\con ....(here is done)
5) check the folder on the respected drive.

try

& reply if not working.

with warm regards.

Chamath

it's a some kind of netwrk associated folder scene ekaklu... I dnt knw wot it means though

btw

Similarly to delete such folder:
DELETION
Syntax:rd/s \\.\\$path
Example:prompt>rd/s \\.\\C:\con
Explanation: This would remove the folder named "con"!
Note: rd(Remove Directory) command is used with "/s" switch as otherwise it
would give error that "folder is not empty"!

~got it frm a site~ :D