← Back to Community
How to name a file CON in WINDOWS
Profile icon
HahaYes

If you haven't already checked Tom Scott's youtube channel about why you can't name a file CON in window, go check it out.

How to name a file CON in Windows.
Make a new folder
Rename it
use ALT code
ALT + 255
Then write CON

Remember Upvoting is...... (I'm not bookie)

Voters
Profile icon
WilliamWu13
Profile icon
Kookiez
Profile icon
Muffinlavania
Profile icon
Port8080
Profile icon
lightningrock
Profile icon
HahaYes
Comments
hotnewtop
Profile icon
CodeLongAndPros

Linux users are just laughing their heads off how.

Profile icon
HahaYes

@CodeLongAndPros I did say windows.....

Profile icon
CodeLongAndPros

@HahaYes I know, but reserved names...

Profile icon
HahaYes

@CodeLongAndPros oh yeah......

Profile icon
HahaYes

@CodeLongAndPros btw C++ is better than C because of Classes

Profile icon
CodeLongAndPros

@HahaYes Let me demonstrate:

C

(int) a;

C++

std::dynamic_cast<Derived*>(a);
Profile icon
HahaYes

@CodeLongAndPros using namespace std;

Profile icon
CodeLongAndPros

@HahaYes Removes 5 chars.

Profile icon
HahaYes

@CodeLongAndPros brb why do we start flame wars everytime we see each other... or is that what you just do?

Profile icon
CodeLongAndPros

@HahaYes I have some strong opinions concerning computing:

  • Linux
  • C
  • Vim
Profile icon
HahaYes

@CodeLongAndPros but macOS is better?

Profile icon
CodeLongAndPros

@HahaYes
NO.

APPLE STOLE FOSS IDEAS+BSD CODE AND LOCKED THEM IN THEIR OS!

Profile icon
HahaYes

@CodeLongAndPros but stealing is buisness..... I guess you haven't read Rich dad poor dad

Profile icon
CodeLongAndPros

@HahaYes

stealing is buisness

You can't steal what is free

Profile icon
HahaYes

@CodeLongAndPros free real estate?

Profile icon
HahaYes

@CodeLongAndPros actually stealing what's free is even better. You profit more

Profile icon
AmazingMech2418

@CodeLongAndPros Yes, Linux is the best when it comes to operating systems (Windows is second, then everything else follows with iOS in last place in that section, then MacOS). (the only reason I use Windows as my main is because a lot of things still don't run on Linux fully...) Also, yes C is better than C++, but C++ is required for some things such as Arduino and boards that are programmed with Energia (pretty much a complete remake of Arduino for other boards). However, with Vim, I must disagree... Nano is better than Vim in my opinion...

Profile icon
HahaYes

@AmazingMech2418 Vim is my kinda thing because I like not using the mouse at all

Profile icon
AmazingMech2418

@HahaYes You don't need the mouse for Nano either.

Profile icon
HahaYes

@AmazingMech2418 Nano sucks though

Profile icon
AmazingMech2418

@HahaYes No, it doesn't...

Profile icon
HahaYes

@AmazingMech2418 but Nano < VIM

Profile icon
AmazingMech2418

@HahaYes But Nano > Vim

Profile icon
HahaYes

@AmazingMech2418 But Cybertruck > Vim > Nano

Profile icon
AmazingMech2418

@HahaYes I don't think you can compare a truck with two text editors...

Profile icon
HahaYes

@AmazingMech2418 but SpaceX > Cybertruck > Vim > Nano

Profile icon
AmazingMech2418

@HahaYes Well, you have two switched around: Vim and Nano...

Profile icon
HahaYes

@AmazingMech2418 Nano < Vim

Profile icon
AmazingMech2418

@HahaYes Nano > Vim. Wait, how about we compromise? Nano == Vim (not === since they aren't the same)

Profile icon
HahaYes

@AmazingMech2418 um sure.....

Profile icon
HahaYes

@AmazingMech2418 I have always found interesting about how humans solve the question, "How do we make big things move" is always put a bunch of explosives and light it on fire

Profile icon
CodeLongAndPros

@HahaYes How do you search in Vim? /
Nano? C-w

Profile icon
HahaYes

@CodeLongAndPros THE NEEEEEEEEEEEEEEEEEEEEEEEEEEEEED FOR SPEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

Profile icon
CodeLongAndPros

@HahaYes I don't like chords, I prefer melodies

Profile icon
HahaYes

@CodeLongAndPros INDEEEEEEEEEEEEEEEEEEEEEED

Profile icon
HahaYes

@CodeLongAndPros oh crap, have to do a 200 cycle special, will be right back.

Profile icon
CodeLongAndPros

@HahaYes Don't. Those are overrated. Do a project and at the end, say:

Whoops, this accidentally became a cycle special

Profile icon
HahaYes

@CodeLongAndPros oh huh, thanks for the tip

Profile icon
Highwayman

@CodeLongAndPros

@HahaYes Let me demonstrate:

C

(int) a;

C++

std::dynamic_cast<Derived*>(a);

Ridiculous. That’s like say “adding in calculus is harder than adding in algebra” and then proceeding to find the absolute hardest way to do it in calculus. Just because you can do the complicated version doesn’t mean you have to. You can still do a c cast in C++, it’s just that we have far more mechanisms for casting in much better, safer, more understandable, fancier, interesting, revealing ways than anything in C. Also neither can be better than the other. They’re basically the same f’ing language with like one thing extra. Pointless argument. ;)

Just thought I’d say.

Profile icon
CodeLongAndPros

@Highwayman I just find that C++ has different ways that are not as efficient as C. C headers for example. Since C has no standard library, there is no “magic header” to include all GLibC headers. You have to be explicit in what you want.

Plus, to do anything more than output, cout falls before printf, a function, I may add, that was designed for C.

Profile icon
HahaYes

@CodeLongAndPros hmmmmm C++ > C

Profile icon
CodeLongAndPros

@Highwayman To extend the Calc/Alg argument, you don’t have to even use Algebra. You can just compute it using paper. But Algebra is more powerful, and has some very simple rules. You can understand how Algebra works, with less effort than Calculus. Calculus has a place as well, but it sure seems that, for general math, Algebra is better.

Profile icon
CodeLongAndPros

@Highwayman And also, G++ rejected my C cast.

Profile icon
CodeLongAndPros

@HahaYes But they still have the same return value.
C==C++ returns true.

Profile icon
Highwayman

@CodeLongAndPros eh I’d argue that if you know how to use cout right you can get a bit of a boost also that still doesn’t make C better than C++. We are talking about the ability of each lang, yes? This is why one cannot compare C and C++. C++ can do everything C can do.

Profile icon
HahaYes

@CodeLongAndPros hmmmm algebra > calc but calc > algebra for flex

Profile icon
HahaYes

@Highwayman C++ is just as good as C but with constraints

Profile icon
Highwayman

@CodeLongAndPros heh yeah the algebra was a trap I climbed into quite too readily.
Hm. How do I say this. Ehhh. Oh no. Um. Will think of something in next comment lol.

Profile icon
Highwayman

@CodeLongAndPros hm... try

int(XXX); // i forget what you were casting lol.
Profile icon
Highwayman

@HahaYes do explain.

Profile icon
CodeLongAndPros

@Highwayman You should compare C++ with C, not using a stdlib.

Profile icon
Highwayman

@CodeLongAndPros hum true enough I guess, but the stdlib bespeaks the power of each language, shows what it can achieve, so in that sense comparing the stdlib is quite appropriate I’d think..

Profile icon
CodeLongAndPros

@Highwayman But C, as made by K&R, has no stdlib.

Profile icon
Highwayman

@CodeLongAndPros K&R is no longer entirely what C is though, wouldn’t you say? Besides, I’m not talking about comparing the stdlib as a feature of the language, but as a demonstration of the Lang. It doesn’t matter whether or not it is a part of c then, simply that it is made in c.

Profile icon
focin

“Welcome to We Buy Houses Albuquerque, the Official Cash Home Buyer of Albuquerque, New Mexico, and surrounding areas.

We provide home sellers with a cash option to purchase their property quickly—with NO Repairs, and NO Fees or Commissions.

Simply go to our website or call us at (505) 600-2280 to get a no-obligation cash home offer sent to you. It’s free and confidential.

Avoiding foreclosure? Facing divorce? Moving? Upside down in your mortgage? Liens? It doesn’t matter whether you live in it, you’re renting it out, it’s vacant, or not even habitable. We help owners who have inherited an unwanted property, own a vacant house, are behind on payments, owe liens, downsized, and can’t sell… even if the house needs repairs that you can’t pay for… and yes, even if the house is fire damaged or has bad rental tenants.

Basically, if you have a property and need to sell it… we’d like to make you a fair cash offer and close on it when you’re ready to sell.

Just contact us today to get started!