FORBIDDEN Windows Filenames

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ธ.ค. 2024

ความคิดเห็น • 616

  • @mallaraj
    @mallaraj 3 ปีที่แล้ว +68

    Your voice, pronunciation and clarity of language is really appreciated.

    • @SharonMessage
      @SharonMessage 3 ปีที่แล้ว +3

      Agreed good speaker although sends large amounts or volumes rather of data to foreign ears is complexed and too fast. I might try a slower playback speed, good day.

    • @spvillano
      @spvillano 2 ปีที่แล้ว

      True, I joke that I'm deaf in one ear and can't hear with the other, which really isn't far from the truth, as I have service connected hearing loss.

  • @jerelull9629
    @jerelull9629 2 ปีที่แล้ว +98

    Note: Those device names go back a lot further than dos. I recall them being reserved in the Whatfor FORTRAN compiler back in about 1970 -- my first programming language, FORTRAN 66.

    • @x8jason8x
      @x8jason8x 2 ปีที่แล้ว +9

      Damn OG, you've got some years over me in the game, my first exotic language was Lotus round about 1983. 😂

    • @kumomo_yosei
      @kumomo_yosei ปีที่แล้ว +5

      u still alive, sir?

    • @ravenID429
      @ravenID429 ปีที่แล้ว +1

      Whoa, that’s awesome

    • @Desktop-Machines
      @Desktop-Machines ปีที่แล้ว

      @@kumomo_yosei 🤣

    • @enalynmanaol5960
      @enalynmanaol5960 ปีที่แล้ว +1

      geez, you're probably the oldest person i've met in youtube.

  • @alexgrant6958
    @alexgrant6958 3 ปีที่แล้ว +278

    I'm old enough to remember when just making the file "c:\program" would end any windows computer

    • @danieleremin1924
      @danieleremin1924 3 ปีที่แล้ว +28

      Actually I got a warning on windows 10 that this path may conflict with something

    • @andreibalasa745
      @andreibalasa745 3 ปีที่แล้ว +5

      i think lpt stands for Long Parallel Things

    • @xxxwolfxxx5024
      @xxxwolfxxx5024 3 ปีที่แล้ว +9

      I remember deleting the file itself and instantly regret it

    • @eduardosantabaya5348
      @eduardosantabaya5348 3 ปีที่แล้ว +31

      i remember a w98 bug, you were into IRC chatrooms, and someone typed mp3! /con/con/con.wav, and everyone in that room got a bsod and computer stops responding. You had no chance to continue using your computer.
      mp3! in IRC was an order to play instantly a sound remotely, if you got the same sound in your computer it played remotely, so, if you put a forbidden name into the file to play, it crashed remote computer instantly. There was a fix in 2000 for it. Windows Me had the bug corrected. Other names were exactly the same and CLOCK$ IFS$HLP$ too.

    • @crossover5606
      @crossover5606 2 ปีที่แล้ว +7

      @@eduardosantabaya5348 You could do it in AOL chat rooms too using a similar sound playing code

  • @avi8aviate
    @avi8aviate 3 ปีที่แล้ว +32

    Fun fact: If there's two files or folders with the same name with one followed by < and the other followed by >, Windows will mark whatever directory it's in as corrupted. If you were to do this in Drive C, Windows would throw the bug check NTFS_FILE_SYSTEM on boot for a few times, and then Startup Repair would remove the invalid files.

  • @frzdytheconsumer8094
    @frzdytheconsumer8094 3 ปีที่แล้ว +297

    *"You know it's real FORBIDDEN When Thio uses a different font"*

    • @Roeclean
      @Roeclean 3 ปีที่แล้ว

      Woah

    • @sabrinabeecher3138
      @sabrinabeecher3138 3 ปีที่แล้ว +1

      Yeah use the different font

    • @AX_-
      @AX_- 3 ปีที่แล้ว

      But. How?

    • @Korn-176
      @Korn-176 3 ปีที่แล้ว

      Well there is this site that makes different fonts that you could enter into the *TITLE* box

    • @india9896
      @india9896 3 ปีที่แล้ว

      I am not a detective but it makes no sense

  • @scotts918
    @scotts918 3 ปีที่แล้ว +303

    Windows: "I must protect you from yourself"
    Linux: "Do it, I fucking dare you"

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 3 ปีที่แล้ว +17

      Linux: “This is not actually a problem for us.”

    • @bluesillybeard
      @bluesillybeard 3 ปีที่แล้ว +4

      @@lawrencedoliveiro9104 me: well actually, if you accidentally mess up a system text file. or uninstall every single program at the same time (including the GUI). or corrupt the kernel. or-

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 3 ปีที่แล้ว +9

      @@bluesillybeard None of which has anything to do with “reserved” filenames, which do not exist in Linux.

    • @bluesillybeard
      @bluesillybeard 3 ปีที่แล้ว +2

      @@lawrencedoliveiro9104 very good point

    • @FlowerBearTTV
      @FlowerBearTTV 3 ปีที่แล้ว

      on the Linux installer i nearly deleted my secondary drive, but the changes weren't written THANKGOD

  • @cuteswan
    @cuteswan 3 ปีที่แล้ว +63

    If you get stuck with a path length limit you can open a command prompt and use the SUBST command to map a drive letter to somewhere deep enough in the path tree. Then you can use Explorer to move (or shorten the names of) files and folders until the items are within the limit for the actual drive/volume. This will help get you out of a jam, but I *strongly* recommend against using SUBST as a permanent solution. IIRC you can also share one of the folders in the tree and it will pretty much work the same.

    • @grn1
      @grn1 3 ปีที่แล้ว +3

      I could've used this advice many years ago. I don't even think it was caused by Linux but rather that Windows had allowed me to copy the files/folders in the first place.

    • @spvillano
      @spvillano 2 ปีที่แล้ว

      I've used that quite a few times to get out of a jam.
      I've also caught malware using metafiles, even volume shadow copy functions.
      I've also did a net use UNC path to drive mount to get around an obscenely long path.
      I've also been known to do things like copy con > com1 ath0 ^Z the carat denoting control... Useful for things like label printer initialization strings, when nothing else works to reset and reinitialize the damnable temperamental things.
      There's a reason we old, experienced BOFH types command a higher salary! :)

    • @prakhars962
      @prakhars962 2 ปีที่แล้ว +2

      an easier way is to switch to Linux.

    • @gamermapper
      @gamermapper ปีที่แล้ว

      Isn't there already an option to get rid of path lengths?

  • @xenorac
    @xenorac 3 ปีที่แล้ว +10

    Path Length Limits, this has been pissing me off for a while and never understood what was going on. Thanks dude, appreciated :)

    • @georgezaidan829
      @georgezaidan829 3 ปีที่แล้ว

      I spend hours shortening folder and file names just to copy files 🤦‍♂️

  • @chriss3154
    @chriss3154 3 ปีที่แล้ว +121

    According to the secretary the computer says "No" but to this video I say yes! More of this!

    • @dudaydevera5933
      @dudaydevera5933 3 ปีที่แล้ว

      niw

    • @antongromek4180
      @antongromek4180 3 ปีที่แล้ว +1

      😂😉

    • @WolfyRed
      @WolfyRed 3 ปีที่แล้ว +1

      ??

    • @chriss3154
      @chriss3154 3 ปีที่แล้ว

      @@WolfyRed As all other people that have a keyboard google "the computer says no" and you should be enlightened

    • @LouisDuToit-r8v
      @LouisDuToit-r8v หลายเดือนก่อน

      Carol Beer😂

  • @user-vn7ce5ig1z
    @user-vn7ce5ig1z 3 ปีที่แล้ว +7

    1:00 - The reason that some Unicode characters don't work either is because Windows treats filenames with "special" (read non-ASCII) characters as long-filenames even if they're not literally "long", and when it tries to create a short-filename (8.3) entry for it, it tries to use the closest substitutes for them that it can, so when you try to create a file called LPT¹, it tries to create a SFN called LPT1 which isn't allowed, so it fails. The LFN-SFN substitution mapping has limits, so some do work.
    3:00 - It's not just empty files that are stored directly in the MFT instead of in clusters, even small (

    • @spvillano
      @spvillano 2 ปีที่แล้ว

      And you could cheat on the old days, wanna go to Program Files? cd \progra~1
      Then, they started implementing the variables making life ever so much easier to admin the boxen. :)

  • @PixelByteSquad
    @PixelByteSquad 3 ปีที่แล้ว +26

    I remember when I did a script for school related to a cone, and wanted to name it 'con' (Cone is romanian) but windows wouldn't let me
    so I had to choose a different name
    It's good to learn why you're not allowed to name your files like this

    • @Terminated632
      @Terminated632 2 ปีที่แล้ว

      You could name it c0n or C0N instead of con and CON

  • @Anrg42069
    @Anrg42069 3 ปีที่แล้ว +44

    12:00 : People who followed him without listening to what he had to say must have been like *Bruh*

  • @faenethlorhalien
    @faenethlorhalien 2 ปีที่แล้ว +52

    Ah, that feel when you're old enough to actually have used device names in MSDOS.

    • @faenethlorhalien
      @faenethlorhalien 2 ปีที่แล้ว +2

      As in "old enough that you woudln't even have EDLIN to create text or batch files, but you had to use COPY CON

    • @Theunicorn2012
      @Theunicorn2012 2 ปีที่แล้ว

      Ah, that feel when you're old enough to actually have used device names in MSDOS.

    • @Very.Nice.
      @Very.Nice. ปีที่แล้ว

      Ah, that feel when you're old enough to actually have used device names in MSDOS.

    • @jerelull9629
      @jerelull9629 ปีที่แล้ว

      *And* the feeling that computers we used to think were pretty cutting-edge are now mostly-forgotten relics of a bygone era.

  • @abdullahseba4375
    @abdullahseba4375 3 ปีที่แล้ว +7

    This is great! As COM1 is just a file, you can read and write to a serial port from CMD! Very handy for Arduino stuff!

  • @mdmackint
    @mdmackint 2 ปีที่แล้ว +9

    Fun fact, if you create one of these files in a synced to OneDrive folder it will allow you - but give a notification telling you the file/folder can't be synced.
    Try it out!

  • @DragoniteSpam
    @DragoniteSpam 3 ปีที่แล้ว +2

    4:00 more on this, I guess: in (as far as I know) all modern filesystems, folders and files are basically the same thing - folders are just files that contain references to other files. this lets the computer treat them more or less the same, and also that all of the usual naming restrictions on files also applies to folders.

  • @velbyYT
    @velbyYT 3 ปีที่แล้ว +34

    1:09 Now we finally know ThioJoe's actual name

  • @electricspider2267
    @electricspider2267 3 ปีที่แล้ว +1

    3:57 i use this to keep programs from doing certain things. Ie stop a program from filling up a cache for ads (i assume to show when offline); I delete the ad folder and replace it with ad file and it can no longer save to that folder.

  • @comradepeter87
    @comradepeter87 3 ปีที่แล้ว +11

    To get around the deep path filename restriction while copying a deep folder to another, just leave a pointer from folder 1 to folder 2, a.k.a a shortcut..

  • @PushyPawn
    @PushyPawn 2 ปีที่แล้ว +6

    I remember DOS, where you had 8 characters max for the file name and 3 for extension. That's it.

  • @nicholashoi3155
    @nicholashoi3155 3 ปีที่แล้ว +12

    TomScott made this video too, but you explain it in deeper details :)

  • @QueenJeremy
    @QueenJeremy 3 ปีที่แล้ว +49

    Tom Scott: Why you can't name a file "Con" in Windows

    • @hamzaabdur-rahman221
      @hamzaabdur-rahman221 3 ปีที่แล้ว +5

      I watched that one too. It’s similar (because of the same topic) but not an exact copy.

    • @saidtaliby
      @saidtaliby 3 ปีที่แล้ว +2

      Because it can break some critical spreadsheet somewhere in the world?

    • @andyp5899
      @andyp5899 3 ปีที่แล้ว +1

      And there's me thinking Con was just the real name of Windows :)

  • @zayeddd
    @zayeddd 3 ปีที่แล้ว +6

    Love Your Videos! Love From Dubai! ❤️🇦🇪❤️

    • @romoney
      @romoney 3 ปีที่แล้ว

      there is no ae in dubai

  • @jackn2519
    @jackn2519 3 ปีที่แล้ว +3

    You can also use wsl to create one by running touch con. rm con also works just fine.

  • @michaelmedlinger6399
    @michaelmedlinger6399 3 ปีที่แล้ว

    I doubt that anything here will ever be really pertinent for my work at my computer, but it’s interesting enough, and when you have gone to the trouble of making a video like this, the least I can do is honor what you have done by watching to the end.

  • @dhulme
    @dhulme 3 ปีที่แล้ว +3

    I'm enjoying these more technical videos! Keep doing more of these!

  • @DarkGamerA
    @DarkGamerA 3 ปีที่แล้ว +33

    49 seconds ago...😂 What am I doing with my life

    • @SharonMessage
      @SharonMessage 3 ปีที่แล้ว +3

      Nobody cares

    • @DarkGamerA
      @DarkGamerA 3 ปีที่แล้ว +2

      @@SharonMessage ya ik 😂

    • @NikiWinProd
      @NikiWinProd 3 ปีที่แล้ว

      @@DarkGamerA xD

    • @toku30
      @toku30 3 ปีที่แล้ว +1

      Boutta take a dump & learn.

    • @DarkGamerA
      @DarkGamerA 3 ปีที่แล้ว +1

      @@toku30 😂

  • @johngerken4263
    @johngerken4263 3 ปีที่แล้ว +5

    I am super meticulous with my file orginization and I use a ton of folder levels. I run into that file path length limit probably at least 2 or 3 times a month.

    • @spvillano
      @spvillano 2 ปีที่แล้ว

      Laughably, at work, I'm beyond meticulous in file organization. At home, I'm a syslob.

    • @kikixchannel
      @kikixchannel ปีที่แล้ว

      Possible to work around by using a tree of shortcuts instead of an actual folder, with the files and folders themselves just being in limited few directories (few because having just one folder with 'everything' is a technical issue in and off itself).
      Though it's just a workaround for a very sloppily written file system.

  • @jakeyounglol
    @jakeyounglol 2 ปีที่แล้ว +4

    in macOS the only forbidden characters in file names are ":" and "/". ":" was used as a path seperator in really ancient versions of mac os before they switched to /. i guess they still have the ":" forbidden for backwards compatibility even though they literally removed all x86 app support from macOS for no reason.
    edit: macOS also has device files but they are all in /dev so you can create files/folders with those names in other folders

  • @_SJ
    @_SJ 3 ปีที่แล้ว +10

    Everytime ThioJoe has a new upload I auto drop everything I'm doing.

  • @EvilDaveCanada
    @EvilDaveCanada 3 ปีที่แล้ว +1

    You can also create one of these 'Unkillable' files in the Android OS. I found this out the hard way. I'm not sure if Linux would be able to delete them but BSD UNIX could using Hex notation for the file name. I'm not sure if you can use hex notation for file naming in either the CMD she'll or the PowerShell.

  • @IamNerfDart
    @IamNerfDart 3 ปีที่แล้ว +2

    At 8:35 the connector he shows is a VGA display connector, technically not a 9 pin serial connector.

  • @OttoWerse
    @OttoWerse 3 ปีที่แล้ว +1

    Fun fact: Some versions of the default Android Camera App used "aux.jpg" as the name for low-resolution previews of some images, so if you had set up automatic backups in Google Drive/Google Photos on a device with that version installed, it would create lots of undeletable files on any Windows PC that was set up to sync your Google Drive folder.

    • @spvillano
      @spvillano 2 ปีที่แล้ว

      Well, the last time I saw aux used as a device it was for screen printers.

  • @Exsanguine
    @Exsanguine 3 ปีที่แล้ว +1

    "Consider liking the video because not everyone does" really hit me hard

  • @MarceloCutin
    @MarceloCutin 3 ปีที่แล้ว +20

    Hey, Thio... the connector shown at 08’36” is not a serial connector, but a VGA one. 🙂
    The serial one appears at 08’22” (a DB9).

    • @dudaydevera5933
      @dudaydevera5933 3 ปีที่แล้ว

      ...

    • @Andy-jz1zw
      @Andy-jz1zw 3 ปีที่แล้ว +2

      I'm sure they're still serial cables. Just different connector types

    • @spvillano
      @spvillano 2 ปีที่แล้ว +1

      Serial uses both DB9 and DB25. DB25 allowed one to have two serial connections on one cable and a few other tricks from the old serial terminal days.
      After all, the only way for the longest time to use a mainframe was via a serial terminal. So, buildings were festooned internally with 25 pin cables and occasionally even connectors in the walls, leading to a mux (multiplexer) room, which connected to the mainframe.
      Later came ethernet or broken ring with fat cabling, ethernet using coax mostly, with vampire taps. Boy, was that ugly at times!
      Break the tap and unbalance the line, dealing with broken, broken, who stole the token... Very fragile if someone moved furniture without telling IT.

    • @taznz1
      @taznz1 ปีที่แล้ว

      @@Andy-jz1zw DB15 VGA port is primarily an analogue not a digital port, but pin 12 & 15 are i2c pins for monitor I.D. so technically it's a serial connector, but only for a secondary fixed function.

  • @tcdcubing4900
    @tcdcubing4900 3 ปีที่แล้ว +1

    3:17 You Could use 7-Zip as well. The directory for files: :\[SYSTEM]\...

    • @tcdcubing4900
      @tcdcubing4900 3 ปีที่แล้ว

      Oh by the way, A few weeks ago, I took apart an old Windows Vista laptop, and I found that one of the processor chips says "AUX". does this have any relation to device drivers?

  • @abloogywoogywoo
    @abloogywoogywoo 3 ปีที่แล้ว +3

    Think of the meme potential with this:
    Cave of Wonders: INFIDELS! YOU HAVE CREATED A FORBIDDEN FILENAME!
    Belle: What's in the developer's directory?
    Beast: _Its forbidden!_

  • @nullderef
    @nullderef 3 ปีที่แล้ว +1

    8:33 "ha, serial ports..." *shows VGA port which has a DB-15 connector instead of a DB-9 like the common serial standard of RS232*

  • @UltimatePerfection
    @UltimatePerfection 3 ปีที่แล้ว

    0:09 Funnily enough, you can create them with software written to create files with those names. The blacklist seems to be at shell level (Explorer, standard save dialogs, etc.), not on the WinAPI level. I know, because I once wrote such program in Delphi 7 that created (unremovable by any normal means) files named con in any directory I chose just to mess with the IT teacher in my high school who didn't know a thing about computers and should work elsewhere. That was on WinXP though, but I feel like it would still work.
    You could also create files with completely empty names (no funny unicode hijinks like a 0 width space needed) using the same method or with forbidden characters.

    • @spvillano
      @spvillano 2 ปีที่แล้ว +1

      Dealt with many of that sort. A quick way to find out was to set attribute +s +h on a file and see if they can find and remove it. If they can, it's time to see if they're wearing the big kids shorts. ;)

  • @TheCandoRailfan
    @TheCandoRailfan 2 ปีที่แล้ว

    On Windows 11, I was able to use the command prompt to rename an existing text file to LPT1.txt. Windows 11 also had no issues opening, deleting, copying, etc. the file. Out of curiosity I decided to copy it onto a USB, and plug it into a Windows XP laptop. There, it had the issues with copying it and deleting, etc. Windows XP's command prompt also did not allow renaming a file to LPT1.txt.
    TL;DR, on Windows 11, using these file names works better than on older versions of Windows.

  • @NeoTechTips
    @NeoTechTips 3 ปีที่แล้ว +1

    ThioJoe: Forbidden Windows Filenames
    Everyone: *tries to make the forbidden files*

  • @untr3gg3rd
    @untr3gg3rd 3 ปีที่แล้ว +4

    ahh yes. I remember the times when I manually fought against worms and malware that uses these forbidden names as their filenames for their payload and stuff. Battle was really tough.

    • @spvillano
      @spvillano 2 ปีที่แล้ว

      And some malware embedding under restricted permissions in the registry to try to hide from the SA, with multiple processes watching each other for termination.
      I used to kill that crap manually, usually via a quick and dirty script, just as a hobby. Never trust the infected computer again, but it's nice to know what the miscreants were doing or trying to do.

  • @Dicer328
    @Dicer328 3 ปีที่แล้ว +17

    long file name (255 chars) error is something that I run into frequently at work. Civil engineering projects get to be very complex and the project names are large to begin with.

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 3 ปีที่แล้ว +1

      Tip: mount the Windows volume under Linux and use Linux file tools (e.g. cp, rsync) to copy those. Works faster, too!

    • @Mr8lacklp
      @Mr8lacklp 3 ปีที่แล้ว

      I think you might need a versioning system like git

    • @KanawhaCountyWX
      @KanawhaCountyWX 3 ปีที่แล้ว

      Things could be worse, you could still be forced to conform with the 8.3 character limit DOS/early WIN9X had. .

    • @gamermapper
      @gamermapper 2 ปีที่แล้ว

      I think you can change it in the registry

    • @x8jason8x
      @x8jason8x 2 ปีที่แล้ว

      Use acronyms and v.0

  • @claudiodiaz9752
    @claudiodiaz9752 3 ปีที่แล้ว +2

    The good old serial port is still widely used in industrial environments. It is still the main form of communication between maritime safety and navigation equipment. The NMEA protocol is very simple and easy to work with.

    • @stephensnell5707
      @stephensnell5707 ปีที่แล้ว

      Well that no longer exists on modern day Laptops as the Serial Port would have quite bad quality

    • @claudiodiaz9752
      @claudiodiaz9752 ปีที่แล้ว

      @@stephensnell5707 Yes, we have to use USB to serial adapters.

  • @justrusty
    @justrusty 2 ปีที่แล้ว +3

    I remember when the RSTS/E operating system on PDP-11s had similar mechanism for naming devices as files.

  • @Blaineworld
    @Blaineworld 3 ปีที่แล้ว +4

    I used to write Bash scripts for fun, and I used NUL a lot. This video is pretty informative about the other device files. I tried PRN just now and found out it didn’t work for me.

    • @grn1
      @grn1 3 ปีที่แล้ว

      Probably because it still tries to use a parallel port. I wonder if Windows 11 will finally get rid of some of these since it's breaking compatibility with old computers anyway.

    • @spvillano
      @spvillano 2 ปีที่แล้ว +2

      @@grn1 you originally had to set what PRN was, LPT1, LPT2, COMx... I think PRN is largely depreciated in every other OS now.

    • @ВладимирДимов-л6р
      @ВладимирДимов-л6р ปีที่แล้ว +1

      @@spvillano I think there's actually one of these illegal names that should be excluded ASAP from the "denied" status for Windows' filenames list now: AUX! While the others old MS-DOS names: PRN, COM(1-9), LPT(1-9), NUL and CON really has no any other real use, this isn't the case with AUX! Actually there's some other uses of this word - for example, technicians / machine engineers might want to use "AUX" for a folder that contains schemes / draws for an auxiliary parts of machines, including ones fixing a broken machines / electronics, for example. There might be other non-computer instances of use of the word "AUX" as well.

    • @spvillano
      @spvillano ปีที่แล้ว

      @@ВладимирДимов-л6р and RND, aka RANDOM.
      There are a bunch still reserved.

  • @andreaslam
    @andreaslam 3 ปีที่แล้ว +1

    Flashbacks to me a few years ago making random (long and forbidden) variable names when I was learning how to code

    • @johngerken4263
      @johngerken4263 3 ปีที่แล้ว

      For a game I was making recently, I made a script named ForcePlayerToGetSavagelyEatenAliveByTillionsOfNanites.cs just for sh*ts and giggles.

    • @johngerken4263
      @johngerken4263 3 ปีที่แล้ว

      And that name is what the script actually did. It was for controlling the particle effect that played when the player died by walking into a nanorobot swarm trap and it caused the nanites particles to swarm around the player, block the cameras view, then despawned the player, spawned in some fake dead player body parts, and then dispersed the nanites. The result was that it really did look like the player was being eaten by nanites.

  • @fram1111
    @fram1111 2 ปีที่แล้ว

    I love to drop in and refresh things I know and learn new stuff. Thanks

  • @smelta
    @smelta 3 ปีที่แล้ว +1

    Joe. I have a question. If i buy a new computer will most of all the setting reset? if so i would like to know which settings!

  • @DaveSouthPhoto
    @DaveSouthPhoto 3 ปีที่แล้ว +1

    Thank you for introducing me to F.Lux!

  • @AliceErishech
    @AliceErishech 4 หลายเดือนก่อน

    I'm not sure how related it is to these forbidden names but there's one other filename limitation I know of in Windows. I don't know if it's related to "." and ".." being treated as actual files but you can't start a file or folder name with a period. There's an exception to this, however, if you end it with a period as well (after the file extension for files), then it will create it with the period at the beginning. An oddity with files in particular is that Windows will ask if you want to change the file extension but it actually doesn't do so. It also has another oddity in that if you then try to rename it, it only has the beginning period so you have to add the one at the end again. I actually have no idea why this happens but it's interesting.

  • @FuerstBerg
    @FuerstBerg ปีที่แล้ว

    The maximum file name size means NOT the actual absolute path. You can navigate with Windows Explorer to a directory that exceeds the 254 characters and create a new folder, and a new folder within, then a file. It is even possible to copy those long paths via Explorer using two windows and copy file by file if neccessary.
    To copy those folders Windows has the on-board tool ROBOCOPY. It is only text-mode based but has several other features like copying from unreliable devices or network connections.

  • @pcsproshop8972
    @pcsproshop8972 3 ปีที่แล้ว

    TJ, 8:40ish ~ IMG of "Serial port" was 15 pin "VGA Port".

  • @likebot.
    @likebot. 3 ปีที่แล้ว

    Dude, >PRN sounds like it's a spooler for the parallel port. I'd like to know if there's any way you're aware of to move a spool file for a printer file into another printer file, ie from _LexMark614_ to _LexMark614-2._ Is it possible to move spool files between printers or is there a way to make output queues for them instead. I hate not being able to just grab an output and gift it to another printer. I'm not worried about formatting - I grew up in a time when the device driver was the connecting rod between the keyboard and the chair.

  • @stevenjlovelace
    @stevenjlovelace 4 หลายเดือนก่อน

    I remember hearing about these filenames years ago and forgot all about it. Then, just a couple of months ago, I was doing some work for a charity auxiliary, wrote some hasty notes during a meeting and tried to name the file "aux.txt". That's when I remembered that "aux" was forbidden.

  • @condofare6156
    @condofare6156 3 ปีที่แล้ว

    Some app: *hiding the name*
    System: “is this crusty crabs?”
    File: “No, this is Patrick”

  • @TheMack
    @TheMack 3 ปีที่แล้ว +1

    Is this for folders as well? Then I might have to name my important folders PR0N instead of PRN...

  • @edgiestnickel89
    @edgiestnickel89 ปีที่แล้ว +1

    I was able to make some files names that shouldn't be able to be named the way they were, Like I made a folder on my phone called "..." and used adb pull The file couldn't be deleted because windows didnt know its extension, I used 7-Zip to create an archive of it and checked "Delete file after compression"

  • @guerrerosaurio
    @guerrerosaurio ปีที่แล้ว +1

    Let's admit it, we all were thinking of PRN as something other than the printer

  • @mchenrynick
    @mchenrynick 3 ปีที่แล้ว

    @16:12 Nothing is going to work in that other computer if you smash it with a hammer LOL!

  • @marquesred
    @marquesred 3 ปีที่แล้ว +1

    Can you do a video about the Desktop Window Manager and Antimalware consuming so much ram/gpu

  • @georgezaidan829
    @georgezaidan829 3 ปีที่แล้ว

    I started using computers in 1982 with the Tandy TRS-80 this brings back memories. Thanks

  • @lextacy2008
    @lextacy2008 3 ปีที่แล้ว

    Hey Thio, where did you get that hott wallpaper in your background desktops?

  • @AdityaKantKushwaha
    @AdityaKantKushwaha 2 ปีที่แล้ว +1

    What if I dual boot and make a AUX.txt file in Windows Partition?

  • @FFVison
    @FFVison 2 ปีที่แล้ว +6

    Ah, file path length limitations. I have encountered those as well with people who had incredibly long file names inside nested folders each with incredibly long file names as well. Good to know that there is a registry setting for that.

  • @JohnTaylorFPV
    @JohnTaylorFPV 3 ปีที่แล้ว

    aux file screwed up my onedrive account for well over a year.. couldnt sync saying the aux file wasnt supported but it was no where to be found

  • @marcuseagle
    @marcuseagle 3 ปีที่แล้ว +3

    Hi ThioJoe!

  • @xenoxiyor2608
    @xenoxiyor2608 3 ปีที่แล้ว +2

    You make me a smarter person, thanks.

  • @Ayush-cm5kr
    @Ayush-cm5kr 3 ปีที่แล้ว +9

    At least now I could ask my computer teacher hard questions.:)

  • @beldindragon
    @beldindragon ปีที่แล้ว +1

    Fun fact : "Con" and "Nul" are insults in French which make it funny not being able to insult a file.

  • @greatwolf.
    @greatwolf. 3 ปีที่แล้ว

    yea I ran into this problem when I was cloning a git repo, one of the files in it used 'aux*.png' in the name. Deleting my local copy of the repo became a real pain. Having to go into safe mode and removing it that way or using something like 7-zip to rename or mingw bash emulating terminal to delete it. Super annoying.

  • @DankyMankey
    @DankyMankey 2 ปีที่แล้ว +3

    For some reason, in Windows 11, I'm able to name files CON, AUX, PRN, etc. But not folders.

    • @PowerStar004
      @PowerStar004 ปีที่แล้ว

      Most likely, because the files are actually named "CON.txt" or similar, while the folders are actually named just the forbidden file name with no extension.

  • @shr1han
    @shr1han 3 ปีที่แล้ว +1

    In a VM, I tried to install win10 and created something using the forbidden characters by booting into a Linux Live CD. All were behaving really differently.
    If I tried to create a folder named C:, Windows would take me to C:\ (i.e. the actual C: drive), and if I try to delete that from within Windows, it would actually try to delete the actual C: drive!
    Second, if I try to create folders with / and \, some made Windows refuse it's existence and some make explorer to take me into that path, e.g. if I create a folder named Windows\ in the C: drive, it would take me to the actual Windows folder. And again, deleting them would try to delete C:\Windows.
    Third, I tried to make folders with double quotes and Windows refused it's existence and some gave weird errors like ERROR: CRITICAL ERROR (the descriptive error name ever).
    Creating folders with < or > in the name did kinda the same thing as the others, but creating two folders, one with < and another with > in Desktop (say), I couldn't get access to the Desktop; when I log in to Windows, it gave me an error saying it couldn't access it.
    HERE'S THE SCARIEST PART: I CREATED THE TWO FOLDERS WITH < AND > IN THE ROOT OF C:\ DRIVE AND..... GUESS WHAT, IT RENDERED THE OS UNBOOTABLE! Automatic "Repair" didn't work either as it couldn't actually access the C: drive to perform repairs. The only solution was to delete the folders from within Linux Live CD.

    • @fitmotheyap
      @fitmotheyap 3 ปีที่แล้ว

      The scariest part
      Uh what version of windows,newer ones usually delete < and > cus at this point even microsoft realises there is dumbasses

    • @shr1han
      @shr1han 3 ปีที่แล้ว

      @@fitmotheyap Actually it's a really old ISO: Windows 10 19H1

    • @fitmotheyap
      @fitmotheyap 3 ปีที่แล้ว +1

      @@shr1han probably that's why lul

  • @firealpaca64
    @firealpaca64 3 ปีที่แล้ว

    3:05 how does command prompt have tabs

    • @firealpaca64
      @firealpaca64 3 ปีที่แล้ว

      5:03 sorry

    • @Jborhi_Ari
      @Jborhi_Ari 3 ปีที่แล้ว

      Did some research and it looks like it might be "windows terminal" from the windows store.

  • @FakeRDSamurai
    @FakeRDSamurai 3 ปีที่แล้ว +2

    Fun Fact about forbidden characters:
    Having a file/folder with < and another with > in the same directory will make Windows treat the folder those two are in as corrupted (Don't do it in the C: directory)

    • @MiniBlox_Gaming
      @MiniBlox_Gaming 2 ปีที่แล้ว

      in windows 10 you cant if you try to name a folder using "" windows will warn you so its not possible

    • @FakeRDSamurai
      @FakeRDSamurai 2 ปีที่แล้ว

      @@MiniBlox_Gaming Don't name it using Windows, use something like Linux or a bootable USB.

    • @MiniBlox_Gaming
      @MiniBlox_Gaming 2 ปีที่แล้ว

      @@FakeRDSamurai oh alright ill do it soon

  • @CBFNetworksArchive
    @CBFNetworksArchive 3 ปีที่แล้ว

    If printer is connectless, then also file will be printed?

  • @Sakamoto_1535E3
    @Sakamoto_1535E3 4 หลายเดือนก่อน

    Can I use U+A789 instead of colon (I mean, I am actually already using it and it is working, as of now), and will this somehow mess things up in the future?

  • @b4ttlemast0r
    @b4ttlemast0r 3 หลายเดือนก่อน

    do these device files even still work? cuz they dropped DOS support in XP right?

  • @michaelgilmer3836
    @michaelgilmer3836 3 ปีที่แล้ว

    Is there a utility or script to auto change file names in windows to replace a colon(:) with a dash?

  • @VincentBounce
    @VincentBounce 2 ปีที่แล้ว +1

    Fun fact: save a file in Word for example with the following name:
    @1,2.docx
    Then try to rename it from File Explorer File name is like locked 😄

  • @temmie3325
    @temmie3325 2 ปีที่แล้ว

    4:42 "Well that error message is a hint to what is going on"
    Programmers: impossible.

  • @Ilyatox
    @Ilyatox 3 ปีที่แล้ว +1

    Keep Going bro

  • @samcq5088
    @samcq5088 3 ปีที่แล้ว

    Me: Creates new zip folder
    Me again: Renames zip folder to Thiojoe
    My computer: Oh shit please god no dont do anything he says to me.
    Me: Presses enter.
    My computer: blue screen of death
    Me: o $hi8
    My computer: undescribeable explosion
    Me:

  • @DhanushMunasinghe2008
    @DhanushMunasinghe2008 3 ปีที่แล้ว

    Really Great. Video Thio

  • @hamdansajid
    @hamdansajid 3 ปีที่แล้ว

    15:05 .Now I know why this Error used to come... THANKS

  • @gabewhooser8161
    @gabewhooser8161 3 ปีที่แล้ว

    Joe, what happened to Vid Authority??? Just forgot about it?

  • @NETkoholik
    @NETkoholik 3 ปีที่แล้ว +1

    I once downloaded the movie Con Man from a torrenting site. The folder name was Con.Man.2018.1080p and after downloading it I couldn't move it nor delete it nor rename it. I learned to live with it in my computer. Until a few months ago when it dawned on me. I mean, I knew about this, I just forgot about the CON reserved word in my folder name..

  • @wizzard6486
    @wizzard6486 3 ปีที่แล้ว

    Hi ThioJoe do you remember DOS 3.1?

  • @singletona082
    @singletona082 3 ปีที่แล้ว +1

    So what happens if ai boot a live linux distro and make these files then boot back into windows?

  • @DerLung
    @DerLung ปีที่แล้ว +1

    for some reason, the python installer offers you to remove the path length limit. I have never seen another installer have this option and I don't really know why python offers you that

  • @kethasreekar5447
    @kethasreekar5447 3 ปีที่แล้ว

    You said these files are undelete able so what if we corrupted the usb drive then will the file be gone?

  • @Foersom_
    @Foersom_ ปีที่แล้ว

    7:49 "recombined and synced" what? It sends 1 byte for each write signal. It does not get easier than that.
    8:50 Nonsense, data bits do not arrive out of sync on a parallel port. The write cycle is designed to be long
    enough that all bits are stable before cycle ends.
    The disadvantage with parallel port was that the cable was thicker because 8 data wires + control wires.

  • @MichaelChin1994
    @MichaelChin1994 2 ปีที่แล้ว +2

    🤔Could be an interesting way of making sure a folder with important files doesn't get deleted.

  • @ExploringNew1
    @ExploringNew1 11 หลายเดือนก่อน

    8:34 I'm pretty sure that's a VGA port

  • @AshN1ght
    @AshN1ght ปีที่แล้ว

    9:55 "TYPE whatever.exe" ???
    like "start notepad.txt"

  • @windowsxpprofessional
    @windowsxpprofessional 3 ปีที่แล้ว +3

    What will happen if you replace windows 10 bootmanager with windows 7 boot mgr

  • @k4piii
    @k4piii 3 ปีที่แล้ว

    Great series of videos

  • @I_do_not_want_to_reply
    @I_do_not_want_to_reply 2 ปีที่แล้ว

    I used wsl(Windows Subsystem for Linux)to make folders it is simple but the folders won't open and delete

  • @MonochromeWench
    @MonochromeWench 3 ปีที่แล้ว +1

    virtually every program is written assuming the old fixed path length limit. Changing the registry to enable unrestricted path lengths doesn't mean any other program will work with them so be very careful if you enable the option; programs may fail to open files, crash or worse

  • @Lofote
    @Lofote 3 ปีที่แล้ว

    12:40 Or simply use an advacned file manager like FAR MANAGER, which can create, edit and delete these files without problems.