@@turun_ambartanen not only colon, the only two symbols that can't be used in a file name are "/" and a null byte, anything else is fair game; and the only two file names forbidden are "." (which is used to denote current directory) and ".." (which denotes parent dir)
@@turun_ambartanen That is because Linux doesn't use a :\ to denote a drive name or a partition... these are just simply called sd(a[n],b[n],c[n],...) these are located within /dev/ and can be mounted via the mount command, which you then can point onto an already existing(and empty) folder on the main drive
also, | , also called pipe, is used in the command line/ powershell to pipe the output of a command/program into another program (which is the same in linux)
@@Juplay_FV yeah, but just because | is used for output and input redirection doesn't mean you can't use it in file name: you can and it works just fine
There are also reserved filenames, which dates back to the DOS days. For example, you can't have a file named CON, PRN, AUX, NUL, COM1 and LPT1 (and 2, 3...), as those were all DOS device files and MS still keeps them reserved for backwards compatibility.
It's always fun when you work on code with people that use Linux for example and attempt to check out files that have valid names on their systems, but invalid / reserved names on Windows. I remember when I was working on a big project and it was the time before the "vendor" directory was commonly used, we had "aux" as directory to denote helpers or third-party stuff. Good luck checking that out from VCS under Windows.
@@caseyriley1014 You can pipe the output of a cat command to a grep command. For example a recipe file, do a grep to find all the instances of pie in the file. cat recipes.txt | grep "pie"
python just wanted to be cool C++/C# : every instruction needs to end in a ";"; python : don't try to constrain my lines with a symbol man, don't put multiple things on one line, and I can use ; for whatever I want
linux does that, windows is a compromize to have compatability to old programs and windows is proprietary, and rely on selling you windows, so they don't like modification of root files
@@Mathias-bz2kr imo if linux catches up to windows in everything and not require wine and terminal shit, then everybody will switch to it, so stop thinking average joes will listen to your shit until linux is as easy to use as windows
For those interested in the symbols, here is a basic explanation of the 3 which were skipped '>' denotes "use this stream as the standard output for the process" e.g. the command line command 'echo Hello > text.txt' will write 'Hello' into a file called text.txt '
Also, the colon is used for "alternative data streams" within Windows. Those are special files that binds extra metadata to files. Google it for a full explaination :)
I use en dashes in place of colons in computer filenames. (Also, I use *_em dashes_* in computer filenames wherever a dash - either an en dash or an em dash - is normally used in naming conventions outside of computer filenames.)
Conceptually, every valid path on labeled disk is also an alternative data stream, since it's not really interesting to obtain read/write access to the bare disk data all the time.
Do you bet your life on it? I could not remove folder named 'CON' using usual means once I created it, but I definitely managed to create it. If you are dumb, it is your personal problem, and once you shared it in public do not be surprised you and your family got eliminated as dumb branch of evolution!
If you allowed colons in filenames, it could break relative path parsing. A program can ask to open "filename.ext" without the full path, and windows will look for it in the same path that the program is running in. Now imagine you named your file "C:". If that was allowed, Windows wouldn't know if you were asking to open the base drive directory, or a file in the current directory called "C:"
And if a program asks to open a specific file it should also mention where it expects for that file to be located in. A make sometimes python scripts that operates on files and usually print out the current directory since you can get the script to run in different locations based on how you run it.
Not related to cat ears or Linus, but I absolutely hate how windows is now trying to "help" me when I do a search. If I type in Linus??.png then I expect a list of files that start with the word Linus, has up to two numbers or letters after and ends with the file type .png. I certainly don't want to se "cat ear Linus.png" in the list generated. If I wanted to find that I'd search for *linus.png or possibly *linus*.png
oh and another thing, Mac doesn't have those restrictions, and when you move a file from a mac to windows, that has those marks... the file works fine.
Not true. It's not a ntfs limitation, it's a windows limitation. I can easily mount a ntfs partition on linux, and use those characters as much as I like. The problems start when I try to do something with those files inside of windows.
It sucks that you have 20 years experience and knew nothing about using DOS or navigating it. As if you can use DOS, you know why these symbols are reserved.
The colon isn't simply a drive letter marker - it's also used to identify alternate data streams. E.g. innocuous.txt:secret is how you would refer to the named stream "secret" of the file "innocuous.txt" (a way of hiding data in the file system).
@@basshead. Thank you, I'm enjoying it very much indeed. As I use my computer for more than gaming, it is a compromise that I am more than willing to make, that there are few games I can't play.
@@basshead. No, not really. Linux distributions are vastly superior to Windows in so many different ways, from the Kernel, filesystems, usability of graphical environments, privacy, stability and much more. Pretty much every use case would be improved by running on Linux rather than Windows. The only reason why in some cases you need Windows is application support and in special cases hardware support. Because neither of these apply to what I use my computer for or what I would want to use it for, the choice is pretty clear in my case and many others feel the same way, even if they have a different use case than those you mentioned.
I can't begin to describe how much the obscure info on vids from TechQuickie/LTT/etc. has benefited me in job interviews and in my career. Keep up the great work!
I like how windows has all these restrictions and clever reasoning like "oh yea we need to have this restriction because , there's no way around it", meanwhile all Unix based and Unix like OS' are perfectly fine with ALL of this. no problems at all.
@@АлексейГриднев-и7р technically, also a null character is disallowed, but that's because the APIs use C strings and those use null characters for string termination
Ofc, Windows was made for a larger audience. There's more retards than people that willingly install Linux. If you use Linux, you know you are good enough to or willing to troubleshoot if necessary. Most Windows and macOS users just want to use a working OS without messing around... As such, there's more less informed users.
@@CFWhitman Yeah i know, thats the sad thing about RUclips today. I also know channels today almost have to do it because its a ice cold battle for viewers and clickbait works the best. Still if i had a wish free, i would (at least on educational channels like LTT, Techquickie and so on, wish for Informative and not clickbaity Titles so you at least can find the video again if you want to rewatch it or see just from the title if it is interesting for you. Yeah that never will happen...
“; Seriously underrated punctuation” That's a question mark in Greek also are developers a joke to you? You have dissatisfied Balmer, congratulations James.
So... Why couldn't Microsoft simply rely on escape characters to fix these issues? Linux doesn't have an issue with any characters (safe for '/' and '\0' I believe), so why does Windows?
Windows won't let you: Have freedom Customize anything Even go NEAR the kernel Be happy ----- MacOS won't let you: Everything ------ Linux won't let you:
Linux won't let you: Use a lower case letter when the file has a capital letter. See your hardware. Let you ask questions about Linux without getting abuse from Linux users. Complete your Linux tasks in the university linux lab because 4 professors can't get it to do what it happily did last week while 20 students sit around. Just my personal experience, I've tried a few times to use Linux when I had a use-case but all it is is pain so far.
I change the name of the Age of Mythology shortcut by adding: xres=1920 yres=1080 bpp=32. That technique is quite famous in a variety of forums to make that particular game boot at a native resolution and bit depth (1080p render, 32 bit RGBA).
You're evil if you use anything but dashes, hyphens and underscores anymore.... We make exceptions for file extensions. ALSO BTW, file extensions don't matter! They're just a hint programs on how to read files! The reason why you can have multiple extensions is you can add more hints!
The $ is used to hide file shares in windows, and % is used to signify a system variable. If you type %appdata% you will be taken to the current user’s roaming appdata folder. In enterprise environments these variables are really helpful, like if I want to set a bunch of users up with personal network drives all I need to do is select all, select the drive letter, then assign the path \\fileserver\usersdata\%username% If you really want to get fancy you can create custom system variables.
@@jpaugh64 Yes! It is great. Only a few drawbacks like The Forest's ModAPI and GTA V mods not working. I heard about overriding generic dlls and making it work that way for GTA V but not sure how to approach it yet. Currently I am using Linux Mint with Gnome Desktop Environment. Originally went for Ubuntu but they removed 32 bit libraries. I am hating every second of windows now, it is so slow and feels fat. This is my 3rd day on Linux. My original reason was this: I copied a file from my phone to my pc and windows couldn't copy it back to my pc because it had invalid characters. I installed Ubuntu and transferred everything smoothly. I have never installed a Linux distro before. I only tested them with Live CD thingy. I saw how smooth and great it was, fell in love with it right away. I am dual booting Windows and Linux now. Having said that I only gave about 32 GB to Linux which was a mistake but I can always fix that. I'm not ready to fully make the switch for couple of games (namely the forest and sea of thieves). Eventually, I'm hoping to boot windows just to see what changed since the last time I booted it.
The | symbol is called a pipe and is used to direct output from one application to another. This example is from Linux but you get the idea "cat /etc/fstab | grep ext4" Which would show any lines that had the text ext4 in it, you don't need to do it this way, but it illustrates the application of a pipe fairly well. I know you can do "grep ext4 /etc/fstab" to achieve the same thing so don't complain :D The way that command works is that cat will read the file called fstab in the etc folder, and then pass the output to grep, which filters out any lines that don't include the text ext4 and then show the result in a terminal window, and the idea is the same in Windows. The less than and greater than symbols can be used to redirect program input/output to somewhere other than the screen/keyboard. eg. You can push the contents of a file directly to a printer rather than displaying it first, and is a holdout from when DOS had printers connected to the LPT1 port and you could do "type C:\file.txt > LPT1" and the file would be immediately printed, nowadays you almost never need this, but backwards compatibility is a powerful motivator to keep these kinds of feature in Windows.
Yeah this bugs me on occasion, but given the overall scheme of things and how well everything literally 'just works' on Win10, I can overlook this minor annoyance!
Don't tell that the Linux crowd. They gonna tell you windows is shit and carry on crashing their entire system with their self compiled Nvidia drivers :3
It gets even better when some applications barf on names that Windows is OK with. Excel, for example, uses the filename for internal links in certain circumstances, so filenames containing any of "[", "=", "]" can just fail to open.
@@dogedev1337 Most popular use it tho and for those which don't use it, their compiler is probably written in C so ~ But if you use the argument of Assembly language, then I declare forfeit ! ^^
@@dogedev1337 a list I found about the most used programming languages. Python (no semicolons) JS (you don't need to write them BUT you can and JS will fill them automatically if you don't) Java (has semicolons) C# (has semicolons) C (has semicolons) C++ (has semicolons) PhP (has semicolons) Are you sure you know what languages are used today besides python?!
@@rayaneh5230 u right tho and he/she has no plan what he/she's talking bout ^^ or we 3 have vastly different ideas what an popular programming language means
@@verzocktes I am tired of turning off my useless "antivirus" every time I want to open 80% of my programs. You can get an error trying to open a program and waste 20 minutes figuring out how to open it then release windows "defender" was the problem the sole issue.
@@moustaphadiallo600 TBF since I can not asses your situation I can not relate. I use Windows 10 since day one (actually day 8 or so who cares) and never had such a problem. the worst things were that I needed to tell SmartScreen to let me start my Programm anyways even if it doesnÄt know it, but that was a matter of 2 Mouse clicks. And sometimes at work WindowsDefender WILL block or slow down my connection to our SQL server, but that's also done with a quick fix.
: is also used for alternate file streams in NTFS file system, which is why Windoed won't let you use it in a file name. Alternate file streams basically contain metadata about the file.
Back in the 1990s we used to scan random ip ranges for open windows ftp servers, and we used crazy invisible ascii characters to create folders and put pirated games and movies inside. Noone could delete those, even the admin.
@@fuseteam you can't name a file . or .., as . is always used to refer to the current folder, and .. to refer to the parent folder. Should apply to most unix filesystems actually.
@@niduroki yes but you can call a file "test, 1, 2, 3........." :p . and .. already exists in every folder so that error will make a tiny bit more sense
List of things windows 10 won't let you do: 1: Stop updates permanently. If you are a small business relying on older software you are f'ked if the update breaks it. 2: Change Start menu icons for applications and games. (PinMore) 3: Let you set number of core or core affinity permanently for any exe 4: Let you have an animated desktop (Wallpaper Engine) 5: Let you have custom widgets (Rainmeter) 6: Kill frozen processes with Alt F4. If its frozen and refuses to crash you have to shut down your pc 7: Let you uninstall Edge or IE. 8: Let you have a translucent or pure black taskbar (TranslucentTB)
Every one of the special characters, including even "\" or [' "] could have been "escaped". Technically there is really NO reason to forbid any characters in the file name at all. Except for convenience and to avoid confusion. But you could leave that decision to the user -- to avoid confusion whenever he thinks appropriate. It's the artifact from the times when you had rules convenient for programers and machines, not for end users.
@@MaxOakland Well, although situation in, say, linux is better, you still can't use "/" in the filename for example. (Actually we should speak about file systems, not operating systems, but, you know,...) Anyway it's really unreasonable in how many pretty regular punctuation marks are forbidden in filenames in Windows.
Please drop the background music. One of my favorite things about this channel is that you didn't have any. Now you are going through the trouble of adding something that is both annoying and distracting. Please stop it.
Such a non complaint but I get it. I jave long since been able to ignore it as music to me holds such a special place in my heart but you have a point. Though I personally think you're making too big a problem out of this for yourself.
@@dragon67849 Think what you want. I have trouble paying attention when there's background noise. We're all expected to be the same when it comes to hearing, weight, and sleep. Everything else can be different and people are okay with it. Well, this is obviously not true (consider sleep apnea, for one thing). And as a result, I will watch less techquickie, or as fast as possible, or WTFIC unless it's a topic of great interest to me, in which case I'll struggle with mute and CC. I don't choose to make it a problem. It doesn't work that way. I ask that there be no background soundtrack, be it drums or music, soft or loud. That's all.
@@betaneptune buddy, trouble sleeping I cannot understand personally as I never had that problem. But don't tou come at me with "trouble paying attention". I have had that for years. That's something you csn teach yourself. But it will be hard, that I can understand. But where there's a will there's a way. Don't tell me there isn't because I DID IT. I thought you were unwilling in which case I make it no problem. But unable does not exist. You can teach your body and mind so much and you just spat in the face of my progress by saying what you said. So sorry if this was rude but you need to have more faith in that body of yours. It's capable of so much more than you give it credit. I hope you understand this and use it to make next year YOUR year. Have a nice new year buddy if you didn't have it already (idk, different timezones and whatnot). ^^
Windows 10 is slash-agnostic. It's also support forward slash in paths - c:/folder. You can even use Unix style /folder to get to a folder on the root of the current drive, so c:\Windows> cd /folder is same as c:\Windows> cd c:/folder.
@@StevenVillman Spaces really aren't essential. Widows filenames don't support capitalization either. All names are ALLCAPS to the system. You just don't see it.
; is a path separator for use in environment variables (: is the Linux equivalent)
And yet Linux somehow manages to allow a colon in a filename.
@@turun_ambartanen not only colon, the only two symbols that can't be used in a file name are "/" and a null byte, anything else is fair game; and the only two file names forbidden are "." (which is used to denote current directory) and ".." (which denotes parent dir)
@@turun_ambartanen That is because Linux doesn't use a :\ to denote a drive name or a partition... these are just simply called sd(a[n],b[n],c[n],...) these are located within /dev/ and can be mounted via the mount command, which you then can point onto an already existing(and empty) folder on the main drive
also, | , also called pipe, is used in the command line/ powershell to pipe the output of a command/program into another program (which is the same in linux)
@@Juplay_FV yeah, but just because | is used for output and input redirection doesn't mean you can't use it in file name: you can and it works just fine
There are also reserved filenames, which dates back to the DOS days. For example, you can't have a file named CON, PRN, AUX, NUL, COM1 and LPT1 (and 2, 3...), as those were all DOS device files and MS still keeps them reserved for backwards compatibility.
Windows = 10/10 Backwards compatibility
I SEE you a man of culture , i got that from a tom scot vid
It's always fun when you work on code with people that use Linux for example and attempt to check out files that have valid names on their systems, but invalid / reserved names on Windows. I remember when I was working on a big project and it was the time before the "vendor" directory was commonly used, we had "aux" as directory to denote helpers or third-party stuff. Good luck checking that out from VCS under Windows.
I was looking for this comment
I go back far enough in my career to have actually used most of those destination names in some context or another...
“; Seriously underrated punctuation”
*C compilers rejoice*
C#, Java
I prefer to put random Greek question marks in place of semi-colons to frustrate my co-workers.
;
@@TeraPixel definitely didn’t steal this from a meme 👀
C#/.net is better
The biggest character that Windows has a problem with ..... The one sitting behind the keyboard.
Sadly, that one is always allowed.
That's why you use Linux instead
ok morgan
If this is an intelligent joke than I think your text is missing _is_
@@dnoodspodu1159 r/woooooosh
The ‘|’ is a command operator for “piping” which is for using the output of a command as the input for the next command. “A | B”
I think that no Linux user who used the terminal even once has not used "xyz | grep xyz"
Same holds for "", they are used for redirecting input and output
Came to the comments wondering what it was for, thank you... Can you give an example of how this is used?
@@caseyriley1014 You can pipe the output of a cat command to a grep command. For example a recipe file, do a grep to find all the instances of pie in the file.
cat recipes.txt | grep "pie"
Windows be like "You can't give me the finger, Only I can give you the finger"
Oh Mr. Anderson
3:15 seriously underestimated punctuation
programmers : let us introduce ourselves
you forgot the ;
Programmers other than Python kids*
Python enters the chat
@@adityaagarwal130 you can use ; in python if you want to put 2 commands on the same line
python just wanted to be cool
C++/C# : every instruction needs to end in a ";";
python : don't try to constrain my lines with a symbol man, don't put multiple things on one line, and I can use ; for whatever I want
1:28 we need to see "cat ear linus.jpg"
it is from this video ruclips.net/video/JI2vcvhhVb4/видео.html
@@katech6020
I wasn't prepared for that...
Thank you, anyway.
@@katech6020 Linuspunk 2077
Also emo linus
what about "linus with waifu.jpg"
Give me the freedom to break everything, Microsoft
linux does that, windows is a compromize to have compatability to old programs
and windows is proprietary, and rely on selling you windows, so they don't like modification of root files
Here come the linux cultists...
@@Mathias-bz2kr Yes, we know you like linux. Move on please.
Linus is now a dog
@@Mathias-bz2kr imo if linux catches up to windows in everything and not require wine and terminal shit, then everybody will switch to it, so stop thinking average joes will listen to your shit until linux is as easy to use as windows
I'm really loving how much more polish has gone into Techquickie videos lately
LTT editors, know that your work has not gone unnoticed!!
For those interested in the symbols, here is a basic explanation of the 3 which were skipped
'>' denotes "use this stream as the standard output for the process"
e.g.
the command line command 'echo Hello > text.txt' will write 'Hello' into a file called text.txt
'
Also, the colon is used for "alternative data streams" within Windows. Those are special files that binds extra metadata to files. Google it for a full explaination :)
Flytech has an Video on that
I use en dashes in place of colons in computer filenames. (Also, I use *_em dashes_* in computer filenames wherever a dash - either an en dash or an em dash - is normally used in naming conventions outside of computer filenames.)
I love the Linus Windows 10 background lmao. Can anyone from LTT share with us?
Please
Please x2
It's on their twitter
pretty easy to replicate you noobs.
Here is one that someone on reddit made looks the same. imgur.com/a/tPX5ERW
Dr: Linus Windows logo can’t hurt. He doesn’t exist
Linus Windows logo:
: colons are used for Alternative Data Streams for example C:\some text.txt:alt_stream.mp3
They should be called spooky streams...
Conceptually, every valid path on labeled disk is also an alternative data stream, since it's not really interesting to obtain read/write access to the bare disk data all the time.
Flytech did a very good video about that
This is the actual reason why you cant use them in normal file names
This video should be called "MS-DOS for people who never heard of it."
Windows won't let me name my folder "CON", which is a huge con of using Windows.
Windows dosent like being called a dumbass in French
Do you bet your life on it? I could not remove folder named 'CON' using usual means once I created it, but I definitely managed to create it. If you are dumb, it is your personal problem, and once you shared it in public do not be surprised you and your family got eliminated as dumb branch of evolution!
badum *tss*
@@yaroslavpanych2067 Who hurt you?
Yes, I tried doing it and it says invalid name.
i miss when Techquickie told you explicitly what it was about in the title
You won't believe these 5 quick secrets!
I can see what you did back there with the Windows 10 wallpaper
Dang I didn't even notice until I looked back at it
l.m.a.o.
you know, I missed that one, and I usually spot 'em.
That's one hell of a keen eye.
There's the MacOs version too
If you allowed colons in filenames, it could break relative path parsing. A program can ask to open "filename.ext" without the full path, and windows will look for it in the same path that the program is running in. Now imagine you named your file "C:". If that was allowed, Windows wouldn't know if you were asking to open the base drive directory, or a file in the current directory called "C:"
A relative path should start with "./" to eliminate confusion. Then your relative file path would be "./C:"
And if a program asks to open a specific file it should also mention where it expects for that file to be located in. A make sometimes python scripts that operates on files and usually print out the current directory since you can get the script to run in different locations based on how you run it.
Files I created in Linux: inevitably, windows does not like some of them.
HAHA YES WSL GO BRRR
I find the inverse of that myself. Linux does not seem to like spaces very much.
I once created a file with a backslash in it in linux, tried to read it on windows and it really didn't like it
Mac OS too
@@JohnyKnox well just need to use the escape character \ before the the whitespace in the name. It's pretty easy once you know that.
Wait a second - in the Explorer window of "Linus??.jpg", there was a jpg named "cat ear Linus"? I think we need to see that photo...
it is from this video ruclips.net/video/JI2vcvhhVb4/видео.html
@@katech6020 Thanks - that was hilarious!
Not related to cat ears or Linus, but I absolutely hate how windows is now trying to "help" me when I do a search. If I type in Linus??.png then I expect a list of files that start with the word Linus, has up to two numbers or letters after and ends with the file type .png. I certainly don't want to se "cat ear Linus.png" in the list generated. If I wanted to find that I'd search for *linus.png or possibly *linus*.png
Fun fact... these filename restrictions go all the way back to the CP/M days in the 1970s.
...which is *_precisely_* why they need to be done away with *_as soon as possible_* there! 😑😑😑
oh and another thing, Mac doesn't have those restrictions, and when you move a file from a mac to windows, that has those marks... the file works fine.
I think it usually changes the forbidden character to an underscore to make it work on Windows
Make an episode about ( what are the things that are running in windows background ? ) and do they make a difference?
0:49 You know you're talking business when your dumping ground is 780 TB.
tl;dr: Windows devs don't know how to escape strings.
Underrated.
Or implement length prefixed strings.
linux/unix \ go brrrrr
Gonna need to see that 'Linus with Waifu.jpg' on the insta.
Nice title
"Windows won't let you do this,Microsoft hates it,find out how!"
Hey! It’s been 4 years, where is the Mechanical Keyboard Switch’s part 3
fun fact: you can edit those files name in linux and brake linux
The rescrition for those file names are only on ntfs and not in unix os systems
yep windows somehow doesn't understand the \ character
Not true. It's not a ntfs limitation, it's a windows limitation. I can easily mount a ntfs partition on linux, and use those characters as much as I like. The problems start when I try to do something with those files inside of windows.
@@Wreighn i think its a limitation built in the windows kernel thats what i meant
Happy new year to the whole LTT and Techquickie team!
Finally after 20 years, I finally know. Seriously, thanks.
It sucks that you have 20 years experience and knew nothing about using DOS or navigating it. As if you can use DOS, you know why these symbols are reserved.
The colon isn't simply a drive letter marker - it's also used to identify alternate data streams. E.g. innocuous.txt:secret is how you would refer to the named stream "secret" of the file "innocuous.txt" (a way of hiding data in the file system).
Laughs in Linux
Enjoy your mediocre gaming experience.
@@basshead. enjoys your mediocre operating system
@@basshead. Thank you, I'm enjoying it very much indeed. As I use my computer for more than gaming, it is a compromise that I am more than willing to make, that there are few games I can't play.
@@gobbel2000 Linux is only better at coding and running servers. Windows is like a Swiss Army knife.
@@basshead. No, not really. Linux distributions are vastly superior to Windows in so many different ways, from the Kernel, filesystems, usability of graphical environments, privacy, stability and much more. Pretty much every use case would be improved by running on Linux rather than Windows. The only reason why in some cases you need Windows is application support and in special cases hardware support. Because neither of these apply to what I use my computer for or what I would want to use it for, the choice is pretty clear in my case and many others feel the same way, even if they have a different use case than those you mentioned.
I can't begin to describe how much the obscure info on vids from TechQuickie/LTT/etc. has benefited me in job interviews and in my career. Keep up the great work!
I like how windows has all these restrictions and clever reasoning like "oh yea we need to have this restriction because , there's no way around it", meanwhile all Unix based and Unix like OS' are perfectly fine with ALL of this. no problems at all.
Yeah; basically, the only character which is really forbidden in a Linux filename is / .
. and .. are also reserved, for similar reasons.
@@АлексейГриднев-и7р technically, also a null character is disallowed, but that's because the APIs use C strings and those use null characters for string termination
@@666Tomato666 That's right! Linux forbids characters that *nobody* has even heard of, rather than the ones you can see.:-)
Ofc, Windows was made for a larger audience. There's more retards than people that willingly install Linux. If you use Linux, you know you are good enough to or willing to troubleshoot if necessary. Most Windows and macOS users just want to use a working OS without messing around... As such, there's more less informed users.
The Title of the Video is a little missleading, i would call it "Why Windows Won´t Let You Do This..."
They were aiming at clickbaity, not informative.
@@CFWhitman Yeah i know, thats the sad thing about RUclips today. I also know channels today almost have to do it because its a ice cold battle for viewers and clickbait works the best. Still if i had a wish free, i would (at least on educational channels like LTT, Techquickie and so on, wish for Informative and not clickbaity Titles so you at least can find the video again if you want to rewatch it or see just from the title if it is interesting for you. Yeah that never will happen...
it is now! What was it before?
“; Seriously underrated punctuation”
That's a question mark in Greek
also are developers a joke to you? You have dissatisfied Balmer, congratulations James.
Gosh, things I haven't thought about since Dos ver. 2.2! Thanks for the trip down memory lane.
I work with network storage, so going to share this to my users when they ask wtf is going on.
So... Why couldn't Microsoft simply rely on escape characters to fix these issues? Linux doesn't have an issue with any characters (safe for '/' and '\0' I believe), so why does Windows?
Bad engineering?
Side note 📝
James blackmail folder is full of pictures of Linus in the LTT underwear and his tiny hands
Look at the computer monitor at the back the windows background 😂😂😂
You should do a Tech Quickie on the Limitations of Linux / EXT4 file names. There's a few, but not as many as Windows.
Use something else, there are many alternatives file systems in linux
@Deon Denis I don't think that has to do with ext4, but rather the file manager.
Only limitation I'm aware of is that you cannot use a NULL-Byte in the file path.
If you're DOS veteran, this is "Understandable. Have a nice day" thing.
Windows won't let you:
Have freedom
Customize anything
Even go NEAR the kernel
Be happy
-----
MacOS won't let you:
Everything
------
Linux won't let you:
Linux won't let you:
Use a lower case letter when the file has a capital letter.
See your hardware.
Let you ask questions about Linux without getting abuse from Linux users.
Complete your Linux tasks in the university linux lab because 4 professors can't get it to do what it happily did last week while 20 students sit around.
Just my personal experience, I've tried a few times to use Linux when I had a use-case but all it is is pain so far.
i dont want to rewrite my kernal every time i wanna set up my computer, and imagine living without windows domain services and active directory
@@miff227 For me, i can do all these things. I mainly use linux, so that stuff is easy for me. Idk, it's personal preference though
@@TheMasonkerr I have absolutely no idea what you are talking about.
@@dexah4842 and I get that it may be the distros I was trying to use etc (MythTV, Centos)
I change the name of the Age of Mythology shortcut by adding: xres=1920 yres=1080 bpp=32. That technique is quite famous in a variety of forums to make that particular game boot at a native resolution and bit depth (1080p render, 32 bit RGBA).
I only use windows to get fresh air...
You're evil if you use anything but dashes, hyphens and underscores anymore....
We make exceptions for file extensions.
ALSO BTW, file extensions don't matter!
They're just a hint programs on how to read files!
The reason why you can have multiple extensions is you can add more hints!
Ask a programmer the importance of a semi colon.
"what semi colon?" - a Python programmer
Meanwhile macOS and Linux lets you get away with using most of those characters in filenames, thanks to how UNIX-like operating systems work.
Wasn't macOS certified Unix?
@@wilhelmo360 Yes, at least since OS X Leopard. (10.5)
the music makes this feels like a meme
I grew up in an age where file names could only be 8 characters long with no spaces.
BE HAPPY you can name anything almost any way you want now. 😂
1:28 now i really want to see linus with waifu.
It has to be the one with Yoko Littner pillow. Try searching for it.
Same
The $ is used to hide file shares in windows, and % is used to signify a system variable. If you type %appdata% you will be taken to the current user’s roaming appdata folder. In enterprise environments these variables are really helpful, like if I want to set a bunch of users up with personal network drives all I need to do is select all, select the drive letter, then assign the path \\fileserver\usersdata\%username%
If you really want to get fancy you can create custom system variables.
This is exactly why I am slowly moving to Linux.
Steam now lets you play Windows games on Linux! Check out their ProtonDB.
@@jpaugh64 Yes! It is great. Only a few drawbacks like The Forest's ModAPI and GTA V mods not working. I heard about overriding generic dlls and making it work that way for GTA V but not sure how to approach it yet.
Currently I am using Linux Mint with Gnome Desktop Environment. Originally went for Ubuntu but they removed 32 bit libraries. I am hating every second of windows now, it is so slow and feels fat. This is my 3rd day on Linux.
My original reason was this: I copied a file from my phone to my pc and windows couldn't copy it back to my pc because it had invalid characters. I installed Ubuntu and transferred everything smoothly. I have never installed a Linux distro before. I only tested them with Live CD thingy. I saw how smooth and great it was, fell in love with it right away. I am dual booting Windows and Linux now. Having said that I only gave about 32 GB to Linux which was a mistake but I can always fix that. I'm not ready to fully make the switch for couple of games (namely the forest and sea of thieves). Eventually, I'm hoping to boot windows just to see what changed since the last time I booted it.
Because a few characters can't be used in file and folder names ?
I mean Linux has similar things in regards to file naming
@@inkoalawetrust exactly.
The | symbol is called a pipe and is used to direct output from one application to another. This example is from Linux but you get the idea "cat /etc/fstab | grep ext4" Which would show any lines that had the text ext4 in it, you don't need to do it this way, but it illustrates the application of a pipe fairly well.
I know you can do "grep ext4 /etc/fstab" to achieve the same thing so don't complain :D
The way that command works is that cat will read the file called fstab in the etc folder, and then pass the output to grep, which filters out any lines that don't include the text ext4 and then show the result in a terminal window, and the idea is the same in Windows.
The less than and greater than symbols can be used to redirect program input/output to somewhere other than the screen/keyboard. eg. You can push the contents of a file directly to a printer rather than displaying it first, and is a holdout from when DOS had printers connected to the LPT1 port and you could do "type C:\file.txt > LPT1" and the file would be immediately printed, nowadays you almost never need this, but backwards compatibility is a powerful motivator to keep these kinds of feature in Windows.
Yeah this bugs me on occasion, but given the overall scheme of things and how well everything literally 'just works' on Win10, I can overlook this minor annoyance!
Don't tell that the Linux crowd. They gonna tell you windows is shit and carry on crashing their entire system with their self compiled Nvidia drivers :3
Please make a video explaining the different parts of a cpu and which part is the 14nm or 7nm measurement actually taken from?
I wish people stopped with bait click titles, I'm not even subscribed and I got this in my recommended because I watched one or two TQ videos.
It gets even better when some applications barf on names that Windows is OK with.
Excel, for example, uses the filename for internal links in certain circumstances, so filenames containing any of "[", "=", "]" can just fail to open.
FBC fund and their algorithm is the best, there is no point in arguing with this
I think a review of PowerToys for Windows would be fun content.
I think a lot of users unaware of this tool, will benefit from it.
+1 I can't use Windows without PowerToys.
Tom Scott made a quality view about this
The part where you can't use certain characters in the naming of files, they could use a similar tactic in mysql and php to prevent injections
Asterisk??? You mean Kleene Star!
00:30 Linus Windows logo at the desktop background got me dead 🤣
Don't worry James
We, programmers, make good use of your ;
(except Python programmers, they got lost along the way)
most modern programming languages dont use semicolons, not only python smh
@@dogedev1337 Most popular use it tho and for those which don't use it, their compiler is probably written in C so ~
But if you use the argument of Assembly language, then I declare forfeit ! ^^
@@rayaneh5230 uh, no, ur wrong, most popular languages dont use semicolons, r u sure u know any other langauge than c/++ or java?
@@dogedev1337 a list I found about the most used programming languages.
Python (no semicolons)
JS (you don't need to write them BUT you can and JS will fill them automatically if you don't)
Java (has semicolons)
C# (has semicolons)
C (has semicolons)
C++ (has semicolons)
PhP (has semicolons)
Are you sure you know what languages are used today besides python?!
@@rayaneh5230 u right tho and he/she has no plan what he/she's talking bout ^^ or we 3 have vastly different ideas what an popular programming language means
Huh this video was actually pretty helpful. Cool. Nice tips about tech.
How about windows lets me permanently disable the useless "antivirus" that has done zero for me but stop me from opening programs?
I am pretty sure you can deactivate it just the "requires admin privileges" prompt will show up everytime since this is how windows works
But that is not strictly part of the windows anti-virus but more of the overall "security" concept
@@verzocktes I am tired of turning off my useless "antivirus" every time I want to open 80% of my programs. You can get an error trying to open a program and waste 20 minutes figuring out how to open it then release windows "defender" was the problem the sole issue.
@@moustaphadiallo600 TBF since I can not asses your situation I can not relate. I use Windows 10 since day one (actually day 8 or so who cares) and never had such a problem. the worst things were that I needed to tell SmartScreen to let me start my Programm anyways even if it doesnÄt know it, but that was a matter of 2 Mouse clicks. And sometimes at work WindowsDefender WILL block or slow down my connection to our SQL server, but that's also done with a quick fix.
@@moustaphadiallo600 iirc you can disable it forever with editing the security policy, that's how I did it.
we need to show love for the interrobang across all operating systems ... it is a forgotten symbol lost through time.
Hey everyone! I hope you stay safe and have a nice day! God bless you! :D
You know James is a writer when he said the semicolon is a seriously underrated punctuation; I felt that too.
I was a wee lad in windows 98 se when I learned this.
Still dumb.
Very informative thank. I had literally no idea about any of these for more than a decade.
TL:DR - Windows has many things held over from previous versions and even DOS and it's not likely to change anytime soon.
That background wallpaper on that monitor is perfect for this video !
whats up techquickie
NO! SHUT THE FUCK UP! IM GAY! LOOOOKK AT MEEEEE
: is also used for alternate file streams in NTFS file system, which is why Windoed won't let you use it in a file name. Alternate file streams basically contain metadata about the file.
Gosh, those titles... please stop this for a tl;dr format like this.
Back in the 1990s we used to scan random ip ranges for open windows ftp servers, and we used crazy invisible ascii characters to create folders and put pirated games and movies inside. Noone could delete those, even the admin.
linux doee not have these limitations xD
Ext4 has very few, . and .. are reserved, and some 'files' aren't actually files, like the ones in the /dev folder.
@@WyvernDotRed pretty sure you can use dots and comma's in filenames
@@fuseteam you can't name a file . or .., as . is always used to refer to the current folder, and .. to refer to the parent folder. Should apply to most unix filesystems actually.
@@niduroki it's the same on Windows, and yeah, all Unix like
@@niduroki yes but you can call a file "test, 1, 2, 3........." :p
. and .. already exists in every folder so that error will make a tiny bit more sense
This has been a very surprisingly interesting video better than my expectation
List of things windows 10 won't let you do:
1: Stop updates permanently. If you are a small business relying on older software you are f'ked if the update breaks it.
2: Change Start menu icons for applications and games. (PinMore)
3: Let you set number of core or core affinity permanently for any exe
4: Let you have an animated desktop (Wallpaper Engine)
5: Let you have custom widgets (Rainmeter)
6: Kill frozen processes with Alt F4. If its frozen and refuses to crash you have to shut down your pc
7: Let you uninstall Edge or IE.
8: Let you have a translucent or pure black taskbar (TranslucentTB)
tabs for the file explorer like linux :(
1: you can, just kinda difficult
6: Task manager is a thing
7: you can
8: if you activated windows, you should be able (but not translucent)
I love not being able to tell a single thing about a video by reading its title or looking at its thumbnail.
TLDR: Windows File Explorer sucks. You need to use commandline to fix brokenly named files, or connect the drive to other OS like Mac or Linux
Colon is for file streams (alternate data streams). You can actually write to somefile.txt:mystream which will then be hidden. It's used for metadata.
That, and for hiding viruses, probably.
Alternate title: *BILL GATES wouldn't appreciate like you to do these things...*
TIL: Windows hasn't learned to escape special characters yet!?
Error 404: comment not found
WHAT‽‽‽ Certainly the most underrated punctuation has to be the interrobang!
I hate that they started using background music. Takes away their uniqueness.
"homework" folder of 3 terabytes.
I really enjoy LTT videos and the new channels. But this kind of clickbait title doesn't suit you guys.
Please avoid it.
Cheers
Every one of the special characters, including even "\" or [' "] could have been "escaped". Technically there is really NO reason to forbid any characters in the file name at all. Except for convenience and to avoid confusion. But you could leave that decision to the user -- to avoid confusion whenever he thinks appropriate.
It's the artifact from the times when you had rules convenient for programers and machines, not for end users.
And for some reason it’s still like that in Windows! Every other operating system has figured it out decades ago
@@MaxOakland Well, although situation in, say, linux is better, you still can't use "/" in the filename for example. (Actually we should speak about file systems, not operating systems, but, you know,...) Anyway it's really unreasonable in how many pretty regular punctuation marks are forbidden in filenames in Windows.
Please drop the background music. One of my favorite things about this channel is that you didn't have any. Now you are going through the trouble of adding something that is both annoying and distracting. Please stop it.
I didn't notice they had background music, which means I liked it. Maybe they'll turn it down in their audio mix, just for you.
Such a non complaint but I get it. I jave long since been able to ignore it as music to me holds such a special place in my heart but you have a point. Though I personally think you're making too big a problem out of this for yourself.
@@jpaugh64 It'd be fine with me.
@@dragon67849 Think what you want. I have trouble paying attention when there's background noise. We're all expected to be the same when it comes to hearing, weight, and sleep. Everything else can be different and people are okay with it. Well, this is obviously not true (consider sleep apnea, for one thing). And as a result, I will watch less techquickie, or as fast as possible, or WTFIC unless it's a topic of great interest to me, in which case I'll struggle with mute and CC. I don't choose to make it a problem. It doesn't work that way. I ask that there be no background soundtrack, be it drums or music, soft or loud. That's all.
@@betaneptune buddy, trouble sleeping I cannot understand personally as I never had that problem. But don't tou come at me with "trouble paying attention". I have had that for years. That's something you csn teach yourself. But it will be hard, that I can understand. But where there's a will there's a way. Don't tell me there isn't because I DID IT. I thought you were unwilling in which case I make it no problem. But unable does not exist. You can teach your body and mind so much and you just spat in the face of my progress by saying what you said. So sorry if this was rude but you need to have more faith in that body of yours. It's capable of so much more than you give it credit. I hope you understand this and use it to make next year YOUR year. Have a nice new year buddy if you didn't have it already (idk, different timezones and whatnot). ^^
Windows 10 is slash-agnostic. It's also support forward slash in paths - c:/folder. You can even use Unix style /folder to get to a folder on the root of the current drive, so c:\Windows> cd /folder is same as c:\Windows> cd c:/folder.
They should've never allowed spaces in file names.
*_DUDE_* - spaces are *_*ESSENTIAL*_* in computer filenames much of the time!!!
@@StevenVillman
Spaces really aren't essential.
Widows filenames don't support capitalization either.
All names are ALLCAPS to the system.
You just don't see it.
How to tell someone isn't a developer: they call '-' a 'hyphen' instead of a 'dash'