Illegal File Names in Windows 10

Поделиться
HTML-код
  • Опубликовано: 11 янв 2025

Комментарии • 895

  • @____.__._.._
    @____.__._.._ 4 года назад +756

    Windows: I like when users are calm and doesn't mess with me
    Fly and Enderman: Let us introduce ourselves...

  • @KoczulMoczul
    @KoczulMoczul 4 года назад +817

    Legend has it that Automatic Repair actually repaired something. Oh wait... It turns out that's true

    • @phagerxfostos3913
      @phagerxfostos3913 4 года назад +120

      @@powewq1748 you stole my profile pic

    • @BurritoLad
      @BurritoLad 4 года назад +22

      Phager Xfostos Google gave you two the same letter and color.

    • @kirillsvc
      @kirillsvc 4 года назад +15

      In fact, it repaired filesystem error on C:\

    • @ForeverMan
      @ForeverMan 4 года назад

      You don't know how to be funny

    • @simontay4851
      @simontay4851 4 года назад +37

      It never tells you what it actually did though. No details at all. What if you didn't know caused the problem.

  • @maximized3041
    @maximized3041 4 года назад +679

    NTFS: I fear no men
    But this thing
    It scares me
    corrupt

    • @leap123_
      @leap123_ 4 года назад +4

      69th like
      nice

    • @XeZrunner
      @XeZrunner 4 года назад +19

      @YICHEN XIONG The one time Automatic Repair actually did something

    • @somerandomguyintheinternet
      @somerandomguyintheinternet 4 года назад

      Fellow tf2 player?

    • @tee.enderxity
      @tee.enderxity 4 года назад

      The Automatic Repair Finally does his jobs!

    • @Anya-rb7do
      @Anya-rb7do 4 года назад

      ¡¿√√∆¶xfjhvxfb L,negvij

  • @__builtin_popcount
    @__builtin_popcount 4 года назад +276

    9:23 The reason typing a ? directly works is because it's the wildcard symbol for one character, just like * is for multiple. Therefore, o? matches any folder with a two-letter name starting with o. Once you have two folders that fit the pattern, PowerShell doesn't know which one you mean and tells you.
    The same will happen if you have two folders named e.g. oa and ob, and try running cd o?. It will work if you have just one, but not with two or more.

    • @FlyTechVideos
      @FlyTechVideos  4 года назад +79

      Oh, TIL. Thanks!

    • @VegasProYAYAY
      @VegasProYAYAY 3 года назад +2

      @@FlyTechVideos Hi

    • @saft2529
      @saft2529 3 года назад +6

      @@FlyTechVideos are you responding those days in 2022? i just need a respond of you to check if you are active or no

    • @FlyTechVideos
      @FlyTechVideos  2 года назад +11

      @@saft2529 yes i am not dead, i am planning new videos

    • @saft2529
      @saft2529 2 года назад +2

      @@FlyTechVideos oh ok

  • @swordcrafted
    @swordcrafted 4 года назад +313

    Windows: you cant use disallowed filenames in ntfs with ME!
    FlyTech: i know but he can
    *points to flytech*

  • @R.B.
    @R.B. 4 года назад +57

    Windows 3.1 had interesting filename support. Before LFN, I used to use BASIC to make folders with spaces in the names. It didn't like that. I also used it to add an unprintable character to the filename. You could access the folder using the command prompt, but Windows File Manager didn't know how to open it. With few tech savvy people at the time, this was a decently safe way to hide files in plain sight that only I knew how to open.

  • @Steets
    @Steets 4 года назад +171

    Fly: "I'm going to break Windows"
    Windows Automatic Recovery: " _No._ "

    • @infectious_yt
      @infectious_yt 4 года назад +4

      I wanna like but not destroy those 69 likes

    • @tee.enderxity
      @tee.enderxity 4 года назад +5

      Enderman:"Lets mess with Windows 10"
      Windows Automatic Recovery:"Don't "CTAC" With me..."

    • @tee.enderxity
      @tee.enderxity 4 года назад +1

      @ClassyUtra windows ctac xD

    • @tee.enderxity
      @tee.enderxity 4 года назад +1

      @ClassyUtra lmao

    • @nil8659
      @nil8659 3 года назад +3

      @@tee.enderxity ctac is a horrible misspell of "cat". also, windows ctac is kinda funny for me

  • @avi8aviate
    @avi8aviate 4 года назад +116

    "Are you noticing a pattern here? All of them are starting with F0. Could this mean something? Let's find out."
    So the F-Zero franchise *isn't* dead!?

    • @garrettv.g.1758
      @garrettv.g.1758 4 года назад +3

      F-Zero's really fun; for a while it was better than Mario Kart until Double Dash came out.

    • @avi8aviate
      @avi8aviate 4 года назад +3

      @@garrettv.g.1758 I only know that F-Zero's a racing game and that Nintendo basically killed it by not releasing any more games. Kid Icarus is in a similar predicament.

    • @kayleighmoore6951
      @kayleighmoore6951 4 года назад

      F-Zero franchise: yep

    • @mrpiese1295
      @mrpiese1295 4 года назад

      F-zero, best SNES game :D

    • @avi8aviate
      @avi8aviate 4 года назад

      @@mrpiese1295 Personally, I prefer Kirby Super Star.

  • @Austeja608
    @Austeja608 4 года назад +415

    NTFS is case sensitive but Windows is not
    Im intrested how this could break

    • @adamfra64
      @adamfra64 4 года назад +5

      yes

    • @T_nology
      @T_nology 4 года назад +6

      Good video idea!

    • @honzapat
      @honzapat 4 года назад +41

      Actually, you can edit some regedit, and windows will also be, but so many programs dont account for that, like msvc compiler, so you wont probably break windows, but a lot of other lazy programs

    • @bamberghh1691
      @bamberghh1691 4 года назад

      @@honzapat isn't registry case insensitive?

    • @malwaretestingfan
      @malwaretestingfan 4 года назад

      @@bamberghh1691 Key names are case insensitive, don't know about values.

  • @VDani16
    @VDani16 4 года назад +73

    Wow! I am impressed! Windows self repairing actually works in some situations! It isn't that useless. The first time I saw Windows repair working.

    • @uwu_peter
      @uwu_peter 4 года назад +14

      Automatic repair only repairs disk, registry and bcd/mbr corruptions

    • @gabrielandy9272
      @gabrielandy9272 4 года назад +2

      it can fix many issues, acctualy problem is very common for you to have a issue it can't do anything.

    • @bloonsfamily2066
      @bloonsfamily2066 4 года назад +6

      automatic repair also fixes issues like:missing kernel, boot loader and so on

    • @VDani16
      @VDani16 4 года назад

      @@bloonsfamily2066 that's nice

    • @bloonsfamily2066
      @bloonsfamily2066 4 года назад +1

      @@VDani16 and also a corrupted c: drive

  • @uwu_peter
    @uwu_peter 4 года назад +69

    12:08
    Automatic repair usually only repairs Disk corruptions, light-middle registry corruptions and BCD/MBR corruptions

    • @uwu_peter
      @uwu_peter 4 года назад +23

      Also, since Automatic Repair is part of Windows RE which is on a separate partition, it still can run, except if you corrupt the Windows RE Partition, because then you are totally screwed.

    • @jadesanford2857
      @jadesanford2857 4 года назад +9

      if youve never accidentally deleted your windows re partition can you even call yourself good at computers

    • @justsomerandompersononthei2595
      @justsomerandompersononthei2595 4 года назад +5

      Jade Sanford I've purposefully deleted it before. I currently keep it because I have learned that it is actually important.

    • @jadesanford2857
      @jadesanford2857 4 года назад +4

      one time while attempting to grow the /home partition for my (then) kubuntu install i somehow managed to format my entire hard drive instead which was pretty epic and cool imo

    • @uwu_peter
      @uwu_peter 4 года назад +3

      @@jadesanford2857 Yeah, In my times I acidently deleted my EFI partition and corrupted the Windows RE partition by replacing files inside the winre.wim file on the partition.

  • @TheWTFDubstep
    @TheWTFDubstep 4 года назад +198

    Windows: I can't handle it
    Linux: sudo handle it

  • @drawdebono77
    @drawdebono77 4 года назад +58

    Actually, there's one other case you didnt include: creating a folder with three dots at the end of the name. This is actually possible within windows. I actually faced this problem by creating it out of lousyness. I had an mp4 file of the movie "The englishman who went up to a hill but came down a mountain" Now you could see why I was lousy to name the folder, and also, because I thought I could easily reach the 256 characters limitation for a folder path if the download of this file would have folders named the same inside the folder I created in my desktop, which just for the sake of counting, would be initially "C:\Users\edwar\Desktop" 22 characters without quotes. So I named my desktop folder "The Englishman..." exactly like that, with three dots at the end. Well, finally the movie was there, and when the time came, I wanted to move this folder with all its content to my multimedia files HDD. Well, I couldnt do it. My next guess was I simply reached that characters limit, so I tried to rename it. No luck, windows would not allow it. I was able to copy the content (not cutting or deleteing content was allowed either) and paste it in another folder in the desired HDD, which I just named "The Englishman 1995" . After I copied the content I decided to delete the original desktop located folder and its content, but windows didnt allow it. Tried again renaming the folder, again, undoable. Ok, shift + delete: no. Drag to recycle bin, no. Ok, time for extreme measures. CMD: rmdir: no; del: C:\Users\edwar\Desktop\The Englishman blah blah blah", no; rename folder, no. Actually, here it was where I realized what I did: I created a folder that was giving the DOS instruction to go to the previous folder of the string, so whenever I wrote "The englishman who went up..." after any given DOS command, I was ñtaken back to the desktop, no matter if I was using cmd prompt normally, with admin rights, powershell, or even directly from the windows 10 CD repair utility. At this point, I was only really to recover my space from C drive, because its a tiny little 128GB SSD, which dont like a 4GB mp4file in my desktop. Also I was worried this could became a problem afterwards. But if I was unable to delete this folder even from command prompt, what was I to do? Well, actually it was something a little weird I discovered by googling for an answer. Someone suggested to create a compressed RAR file with the program WINRAR, and selecting the option "Delete files after archiving", when creating it. Well I gave it a try... and it worked! Finally deleting the RAR file was no problem as it didnt had an ivalid name, so that was easy. This was the only way this folder was deleted from my desktop. Never thought about using a Linux distro, because I thought the three dots would also been an instruction in there, so I did not even give it a chance. Hope you mae it till here. Only something about a situation that wasnt covered by this video.

    • @oniinu
      @oniinu 2 года назад +5

      I've never seen someone confuse "lazy" with "lousy".

    • @Temerold_se
      @Temerold_se 2 года назад +1

      lol

    • @SOTP.
      @SOTP. 2 года назад +2

      It would have worked if u used unc patchs in the rmdir (or rd) command. Just like that: rd "\\?\C:\Users\Loldontknow\Desktop\The englishman..." /s /q

    • @TDXC------
      @TDXC------ Год назад

      One time i created a ... folder through new folder option.
      And it did nothing.
      Also it was on my main PC.
      I could just delete it.
      I didnt have to do like
      rmdir \q \\?\C:\Users\????? ??????\Desktop\... in cmd
      Explorer just behaved as if it was just a normal file name.
      The filename WAS NOT DOTS AND WASNT F046 F046 F046.
      It just worked for no reason.
      I was quite scared because I had watched FlyTechs video but...
      Was it false??
      I was on windows and you probably know that,

    • @telamont12mc
      @telamont12mc Год назад

      I aint readin allat

  • @JayCeeCreates
    @JayCeeCreates 4 года назад +60

    Me: creates "corrupt" in the user folder
    Windows: *now entering Incognito mode*

    • @Austinkeith2010
      @Austinkeith2010 2 года назад +1

      me: creates "corrupt" in the C drive and the recovery mode drive
      Windows: enjoy a dead pc

  • @sounak5853
    @sounak5853 4 года назад +80

    The BGM change while "Did WSL lie to us" reminds me of Ace Attorney.

    • @DimiDimit
      @DimiDimit 4 года назад +4

      Yeah, reminds me of a track from Apollo Justice, I think.

  • @HSHamster
    @HSHamster 4 года назад +14

    Windows: It works
    FlyTech: Something doesn't feel right

  • @Preinstallable
    @Preinstallable 4 года назад +44

    The rare occasion when Automatic Repair fixes something.

  • @Konym
    @Konym 4 года назад +9

    Honestly this channel is awesome. Learned more about Windows internals through this channel than through 4+ years of using Windows as a poweruser by myself.

  • @icedude_907
    @icedude_907 4 года назад +74

    The more videos of yours I watch, the more I realise that windows internals are really, really, messy and barely hold together.
    Also: why is it that Linux drivers can do these things to NTFS partitions and keep it readable, whereas the very operating system NTFS was designed to work well with can't? It's rediculous!

    • @FlyTechVideos
      @FlyTechVideos  4 года назад +28

      They try to stop people like me from corrupting their OS

    • @therobloxianstar4689
      @therobloxianstar4689 3 года назад +3

      @@FlyTechVideos That's so funny! I don't know if you think it's not funny lol

  • @awwastor
    @awwastor 4 года назад +16

    Just for clarification:
    Unix systems (including Linux and BSD) technically speaking CAN use names with “/“ and NUL. The limitation isn’t on the side of the system(unlike on windows) but the file system (ext[2-4] doesn’t allow those characters.). So if you use a nonstandard file system allowing for “/“ and NUL in names, Linux can handle it while windows won’t be able to handle filenames of any FS if they include the forbidden characters.

    • @bamberghh1691
      @bamberghh1691 2 года назад

      While i understand how '/' would work, how would NUL character in filenames work with any of the syscalls? Don't all of them, like open(2) expect a null terminated string for a filename?

  • @Creeper5760EsUnCaraBeluga
    @Creeper5760EsUnCaraBeluga 4 года назад +67

    again youtube notified me 16 minutes after the premiere end.

    • @FlyTechVideos
      @FlyTechVideos  4 года назад +37

      damn ... youtube, fix your stuff please

    • @Dash2J
      @Dash2J 4 года назад +1

      @@FlyTechVideos yes

    • @kaliwastaken
      @kaliwastaken 4 года назад +1

      I will explode the chat (Read my name)

    • @kaliwastaken
      @kaliwastaken 4 года назад +1

      @Legosploiter NoooOOoOOO

    • @energized5785
      @energized5785 4 года назад

      Same! :(

  • @mathias_mp
    @mathias_mp 4 года назад +11

    Your videos are very, very interesting. It looks like I'm learning something new every 30 seconds (or less). Keep it up, good job!

    • @FlyTechVideos
      @FlyTechVideos  4 года назад +6

      Thank you :3 I'm also learning a lot during making these videos. I didn't know about any of this 1 week ago

    • @taylorscates8015
      @taylorscates8015 4 года назад +1

      @@FlyTechVideos
      Hi

  • @DavidWonn
    @DavidWonn 4 года назад +14

    9:45 Regarding the unusual behavior of < and > in filenames, here’s another oddity to consider. A viewer of my last video commented that < and > can actually be used as wildcard substitutions for filenames, provided they are escaped inside double quotes to prevent them from being interpreted in the usual way as redirectors. I personally verified it to work even on older versions of NT and have no idea why cmd.exe would interpret < or > as ? or * though.
    Could these phenomena be linked in some way?

    • @FlyTechVideos
      @FlyTechVideos  4 года назад +9

      I have no idea whatsoever. What I know is that these characters are forbidden by NTFS and not necessarily Windows. Thus, all explanations with shells (like wildcards or redirects) seem unsatisfactory...well, except if these limitations were imposed because of Windows in the first place. I don't know.

  • @chillshobe8147
    @chillshobe8147 4 года назад +10

    Documentation: Undefined behaviour
    FlyTech: It'd be rude if I didn't...

  • @gnesdu
    @gnesdu 4 года назад +57

    11:59 the whole NTFS FILE SYSTEM was the reason of BSoD

    • @alluseri
      @alluseri 4 года назад +5

      It's time to get whooooshed.
      This is an error code which shows that there is an issue with the file system.

    • @nsg650
      @nsg650 4 года назад +1

      i mean kernels do it when you screw around with the file system even linux does it but rarely

    • @graceperez9672
      @graceperez9672 4 года назад

      Alluseri r/wooooooooosh

    • @DimiDimit
      @DimiDimit 4 года назад +2

      @@nsg650 Thankfully Linux's errors are usually more meaningful than “EXT4 FILE SYSTEM”.

    • @blenderroll2162
      @blenderroll2162 4 года назад

      i mean this all is because of the ntfs file system

  • @jc008titan
    @jc008titan 4 года назад +105

    wtf windows repair actually repairs?!

    • @uwu_peter
      @uwu_peter 4 года назад +9

      yes, Automatic repair only repairs disk, registry and bcd/mbr corruptions

    • @akurasubject9617
      @akurasubject9617 4 года назад +3

      Automatic repair is like 4 parallel universes ahead.

    • @xyzzy-dv6te
      @xyzzy-dv6te 4 года назад +1

      @@uwu_peter does that mean it will erase GRUB if I start it when dual-booting with Linux?

    • @uwu_peter
      @uwu_peter 4 года назад +3

      @@xyzzy-dv6te I think Automatic repair will just crash and stop working when it sees that you are using grub, since it doesn´t know what GRUB is.

    • @xyzzy-dv6te
      @xyzzy-dv6te 4 года назад

      @@uwu_peter I'll have to try that soon

  • @Austeja608
    @Austeja608 4 года назад +18

    Windows doesnt like them but NTFS doesnt care

  • @barkeeper7887
    @barkeeper7887 4 года назад +19

    This is so goddamn interesting
    i love this channel
    Your videos are so amazing man, youre my favourite youtuber

  • @eh9490
    @eh9490 4 года назад +7

    Nice Video about disallowed NTFS names

  • @joshbrookens5226
    @joshbrookens5226 4 года назад +8

    Now I'm going to boot a friend's PC from a live cd and put folder: on their desktop.

  • @justeunviewer906
    @justeunviewer906 4 года назад +44

    what if you put a «con» folder into the «» folders ? can Windows delete them ? :p

    • @FlyTechVideos
      @FlyTechVideos  4 года назад +20

      It behaves just like

    • @renakunisaki
      @renakunisaki 4 года назад +5

      @@FlyTechVideos what about just creating C:\con?

    • @FlyTechVideos
      @FlyTechVideos  4 года назад +9

      It's a weird unusable folder but you can create and remove it from within windows

    • @chri-k
      @chri-k 4 года назад

      @@FlyTechVideos try putting tha < and > in a different order, so >

    • @cones914
      @cones914 3 года назад +1

      @@chri-k windows would have a mental breakdown from all the abuse.

  • @markusTegelane
    @markusTegelane 2 года назад +1

    The illegal filenames actually caused problems for me when I was trying to copy save files from a PlayStation 1 memory card, using uLaunchELF on a PlayStation 2, to a flash drive, so that I could use these saves with an emulator. PS1 save files actually have filenames (not to be confused with save file labels you see on the memory card browser), but you never actually see them, they are only visible to the game. Well, some clever programmers figured out they can get a few extra bytes of save space, without just using more blocks, by embedding some data into the filename. This means that some game saves use filenames that are perfectly fine on a playstation, but can cause problems if accessed from a Windows computer. The solution would be to rename the file with a PlayStation 2 first, before copying to a flash drive, and then put the raw save file into a memory card file using software such as memcardrex and then within the software itself, rename it to what it was before so the game actually loads the save file after loading that memory card file onto the emulator.

  • @Tearnalte
    @Tearnalte 4 года назад +3

    3:10 most people: nice music
    Me: tHaT's SuMmOnNiNg SaLt MuSiC

  • @mekb-the
    @mekb-the 3 года назад +3

    4:40 who else remembers going in a loop with mac's "volumes" folder

  • @unknownaccount4783
    @unknownaccount4783 4 года назад +9

    Interesting fact:
    When deleting any HTML file, Windows search for a folder named with the same name as HTML, but ending in _files
    so, deleting "x.html" file will delete "x_files" folder also
    And, deleting "x_files" folder will delete "x.html" file

    • @gamermapper
      @gamermapper 4 года назад

      That's true?

    • @groszak1
      @groszak1 3 года назад

      I thought there was some mysterious link behind them

  • @tiamat818
    @tiamat818 4 года назад +35

    This is incredible, but now I'm wondering why windows is reacting like this, especially the last part

    • @flp322
      @flp322 4 года назад +4

      I had hoped the video would go into that!

    • @Sniperx102
      @Sniperx102 4 года назад +1

      If you are programmer might you will understand why windows behaves like that..
      I think FindFirst and FindNext APIs will fail in the presence of those characters..

    • @nil8659
      @nil8659 3 года назад

      @@Sniperx102 yeah,I understand APIs as a small programmer.

    • @PabTSM-OfficialChannel
      @PabTSM-OfficialChannel 3 года назад +1

      @@Sniperx102 nope, those characters are preserved for the os for the search bar, location bar, values and more.

    • @Sniperx102
      @Sniperx102 3 года назад +1

      @@PabTSM-OfficialChannel You did not give any news to what ive said, BTW i am a programmer so i know what i am talking about.

  • @ncot_tech
    @ncot_tech 4 года назад +3

    There's some interesting things going on with WSL. If you download something that Windows wants to protect you from - like a PDF or something else that needs "unblocking", and drag it into your \\wsl$ network drive, WSL creates a file called :Zone.Identifier. That file is completely invisible to Windows.

    • @FlyTechVideos
      @FlyTechVideos  4 года назад

      Yup. Check out my "Alternative File streams" video, I explained it in detail there

  • @burdbath09
    @burdbath09 3 года назад

    y'know, ive always had a weird obsession with computers. when i was little, they always intrigued me. they always made me ask questions. i still love computers, and flytech, you were one of the first computer youtubers i ever watched. thank you for answering the questions ive had since i was a child.

  • @claudiu7909
    @claudiu7909 4 года назад +6

    I once made a few print screens on Ubuntu and copyied them on my windows desktop
    But I failed to realize that the images had the date with / in their name. Windows refused to open them. Or to rename them. It was interesting.
    Edit: this was some time ago so some details are a bit vague. As fly mentioned / are not permitted in filenames on linux, I don't remember what the separator for date was used, but now that I remember things a little better, I think the problem was the character I used to separate the time (hh:mm:ss), but I don't remember what it was.
    Anyway, I couldn't use those images until I renamed them in ubuntu, but at first I was confused why windows was basically ignoring their existence. (they also had no thumbnail, not sure I spelled that right)

    • @FlyTechVideos
      @FlyTechVideos  4 года назад +5

      / is illegal even on Linux, so that's weird

    • @claudiu7909
      @claudiu7909 4 года назад

      @@FlyTechVideos Sorry, my memory failed me. It was some time ago, I don't remember exactly what the illegal character was, but I remember it was something to do with the date or time

  • @TheZelen
    @TheZelen 4 года назад +65

    Fun fact: "\" folder behaves the similar way as "..."

  • @tflsh
    @tflsh 4 года назад +4

    Thank you for the tutorial to make Windows look like Linux with the drive folders! :D

  • @ZettaBlitz
    @ZettaBlitz 4 года назад +6

    help, i can't stop watching your videos.

  • @gallium-gonzollium
    @gallium-gonzollium 3 года назад +1

    There was a bug on my old USB stick where Onedrive would add a Documents and a Shared Documents folder twice, both in the same directory listing. I checked Properties in case any characters slipped through, but no! Duplicated folders with the same name and I could open both by all means in Explorer. Weird.

  • @BSabbath
    @BSabbath 4 года назад +2

    FlyTech : *Uploads Video*
    Me :
    *Well it's time to learn something new!!*

  • @retropcs88
    @retropcs88 4 года назад +1

    I remember when installing GTA Vice city the shortcut would be named Grand Theft Auto: Vice City and Windows went completely batshit while trying to delete it

  • @rosalina-dev
    @rosalina-dev 4 года назад +1

    Watching your videos give me tons of ideas of things to do on school computers.
    Zipbomb on a usb stick,
    Illegal names,
    . folder,
    "secret folders" (toolbars GUIDs)
    Hiding stuff in folders... etc

  • @kruemmelbande5078
    @kruemmelbande5078 4 года назад +38

    I used linux to name a folder "con" wich, for Windows is very illegal, cuz its for a Driver, and... I cant even copy it off of the usb... I cant open it, i canr copy it, its weird

    • @ad2k17
      @ad2k17 4 года назад

      you dont even havr to use linux for that

    • @kruemmelbande5078
      @kruemmelbande5078 4 года назад +3

      @@ad2k17 yeah, but i have an old laptop that i installed ubuntu on, so, i dont need to mess around with any comand prompt.

    • @justsomerandompersononthei2595
      @justsomerandompersononthei2595 4 года назад +1

      Nomnom Groz The windowing server even runs on bash.

    • @franchufranchu119
      @franchufranchu119 4 года назад

      @@nomnomgroz8843 nah

    • @ad2k17
      @ad2k17 4 года назад +3

      in other words, bash ≠ cmd

  • @theairispure4314
    @theairispure4314 Год назад +1

    Windows will *absolutely hate you* if you put folders with the same name but one has < the other has > (eg. Desktop)

  • @I.____.....__...__
    @I.____.....__...__ Год назад

    3:00 An old trick to deal with filesystem objects with illegal characters in their names was to use wildcards, for example to "fix" a file called "foo*bar.txt" you could run "ren f* a" (or something similar). It may or may not work in different circumstances and different versions of Windows, but it's a quick and easy option to try before resorting to something more complex.

  • @ElijahCiali
    @ElijahCiali 4 года назад +7

    Now, what happens when you put the C:\ folders into a compressed folder?

    • @Aura_Mancer
      @Aura_Mancer 4 года назад +1

      I think it will try to make a compressed folder of C:
      Which will make 7z, or WinRAR, or whatever program you're using to ran out of memory, space in temp, or crash do to recursion.

  • @Nik-dz1yc
    @Nik-dz1yc 4 года назад +1

    as someone who uses Command line for executing and doing alot of complex stuff, characters > and < are used for reading and writting to files and they are interrupts. The fact that windows is able to handle them without completely destroying itself is impressive

    • @FlyTechVideos
      @FlyTechVideos  4 года назад +1

      Well not really, as you can see. Linux, on the other hand, can do it without issues.

  • @mihiguy
    @mihiguy 4 года назад +4

    At the beginning when you started to mess with NTFS from Linux, I asked myself which of your modifications would actually survive a chkdsk. Seems that you resolved this question at the end - none of them... (Adding also corrupted filenames on the recovery partition next to WinRE.Wim would probably have prevented chkdsk from "fixing" this issue...)
    Also, I am not sure why you are surprised that folders in WSL can be accessed by more than one name. Every file/folder within drvfs that contains at least one letter can be accessed by two names, and if it contains e.g. five letters, it can be accessed by 32 names...

    • @FlyTechVideos
      @FlyTechVideos  4 года назад

      I don't quite get your last point, what do you mean "accessed by multiple names"? If a folder is called "folder" then the only way to access it is to actually access "folder", or are you talking about something else?

    • @mihiguy
      @mihiguy 4 года назад

      @@FlyTechVideos When accessing a file in DrvFS from WSL, it is accessed as if the filesystem was case insensitive. So a file called "folder" can also be accessed as "foLdeR" etc. This difference between U+0041 (A) and U+0061 (a) may seem "smaller" than the difference between U+F022 and U+0022 (as we as humans are used to not distinguising between upper and lower case letters) , but from the point of WSL it is exactly the same.

    • @FlyTechVideos
      @FlyTechVideos  4 года назад

      Okay, but I was never wondering about case sensitivity. Being case insensitive surely is a thing that has to be implemented extra because for a computer, that's 2 random different bytes. I don't think there is any special handling for 22 and F022, especially because trying to access the folder with 22 didn't work at all fron WSL...

  • @notavaliableanymore
    @notavaliableanymore 2 года назад +1

    microsoft: *let's make it so that people using wsl can't create files with illegal file/folder names but trick them by showing a dot on the folder*

  • @darkkap0057
    @darkkap0057 4 года назад +2

    i wonder if you went to the REAL C:\ and run the tree command would it basicle loop the command because there is a C:\ on the desktop and because when you open it it takes you to C:\?

    • @FlyTechVideos
      @FlyTechVideos  4 года назад +1

      Yes, it would actually. I forgot to explore the recursiveness in more detail :/

  • @morsikpl
    @morsikpl 4 года назад +3

    Writing "o?" works, because '?' is special character for "single character", like '*' is for "multiple characters". It worked becasue you had exactly one directory called "o". If you create two, the '?' will be consufed and try to load 2 directories into command line (at least that's how it would work in bash) - what actually happened later in the video ;)

  • @i6ey2
    @i6ey2 4 года назад +1

    Folder: and Folder*: why does everyone hate me
    PartedMagic: I don’t hate you that much

  • @Soup7674
    @Soup7674 4 года назад

    fly: be prepared! windows will hate us
    windows: i wasn't made for this goddamnit

  • @Rishi-ql8jj
    @Rishi-ql8jj 4 года назад +2

    I barely subscribe any channel because their content isn't worth of that but your channel provides informative content
    Thanks and keep up with vids :)

  • @Jaimekk
    @Jaimekk 4 года назад +2

    Him: Erases "New Folder" for wrote "Folder"
    Me: *HMMM LOOKS ORIGINAL*

  • @vaishalipatil-bz2ly
    @vaishalipatil-bz2ly 4 года назад +1

    You can easily make any illegal folder by using Cordova without administrator permissions and In command prompt. All you have to do is open command prompt and install cordova by this command: npm install cordova -g and let it install. Then after installation all you have to do is write cordova create (any illegal name and not in brackets) in command prompt. And you will have an unempty illegal folder.
    PS I don't know how to delete it.

  • @munastronaut8147
    @munastronaut8147 4 года назад +3

    the old name:
    Disallowed NTFS File Names vs. Windows

  • @huailiulin
    @huailiulin 4 года назад

    I can’t believe I saw this after this was published! Thanks Fly Tech!

  • @fenn-chan
    @fenn-chan 4 года назад

    It is interesting to see folders named with the disallowed characters, thank you for showing this, your videos are interesting!

  • @MrHatoi
    @MrHatoi 4 года назад +1

    I'd imagine that setting the folder name to a drive name is a HUGE source of directory traversal vulnerabilities, since it seems like a pretty obscure discovery. That's something Windows might want to look into handling better, or at least document so that developers know that it can happen.

    • @Aura_Mancer
      @Aura_Mancer 4 года назад

      Nah, I don't think so. It just acts as a symbolic link to C:
      You still wouldn't be able to go to folders you don't have permissions to

  • @ImXyper
    @ImXyper 4 года назад +2

    *whatever they do, WSL refuses to acknowledge their existence*
    mood

  • @wilsontulus
    @wilsontulus 4 года назад +1

    Interestingly enough, Windows XP is not affected by the "Folder" thing. Windows XP still boots into the desktop, even with "" folder added to the root C:\ partition.

  • @cmyk8964
    @cmyk8964 3 года назад

    If anyone’s wondering, the Unicode points U+F000~F07F are in the Private Use Area.

  • @gamermapper
    @gamermapper 4 года назад

    Private use characters can be used by fonts as anything you want, it just won't be assigned by Unicode

  • @CoradiaClass175
    @CoradiaClass175 4 года назад +3

    Out of curiosity, what happens if you run Winload.exe when windows is running, or what happen if you manage to run it in other OS / inside another VM?

  • @mierlenkintanar1430
    @mierlenkintanar1430 4 года назад +3

    What happens if you place

  • @MonochromeWench
    @MonochromeWench 4 года назад +1

    Automatic recovery actually fixed the problem. First time ever!

  • @biniesh7097
    @biniesh7097 4 года назад

    u put a lot of work into the videos!!!!!! i love this channel. በጣም በጣም በጣም በጣም እናመሰግናለን

  • @Lampe2020
    @Lampe2020 Год назад +1

    In Linux only / is forbidden in folder names as it's the path separator, all Unicode characters are allowed, except /.
    I don't know exactly why Window$ blocks so many characters, but the colon is for accessing "Alternate Data Streams" for files on NTFS, which are for example used to tell Windoe$ a file is from the internet.

    • @Xnoob545
      @Xnoob545 5 месяцев назад +1

      null character is banned too

  • @romanhredil3799
    @romanhredil3799 4 года назад +5

    What if someone sends you an archive which contains some files with illegal characters in filenames and you try to open it?

    • @lychy645
      @lychy645 3 года назад

      it wont open

    • @bottering_one
      @bottering_one 2 года назад

      windows will refuse to open the archive's
      or maybe it wont open and windows will struggle itself¿?

  • @alli-windowsexpert
    @alli-windowsexpert 11 месяцев назад

    If you will see these folders in the automatic repair if you click on the button on the desktop and automatic repair, it will actually change the directory to Drive called “Boot (X:)”

  • @muchotexto4248
    @muchotexto4248 3 года назад

    Basically, it's the key to godlike powers that no file must access. It grants inmortality and two of them together can block the system to keep the user out of their zone forever

  • @VarunGupta3009
    @VarunGupta3009 4 года назад +4

    I try many of these tricks on my live Windows installation, and hopefully, I'll never mess up XD.

    • @thecommentato4
      @thecommentato4 4 года назад +3

      Don’t use those on a real pc. Use them in windows sandbox or vmware

  • @hibutima3
    @hibutima3 4 года назад

    SO if you go to registry editor and choose where all of the file types are configured, you can see a very Long file type, so copy that and make a file with that file type name it is a Explorer file, which has a white Icon of the windows Explorer and the app is called "Windows Explorer"

  • @isabelle5547
    @isabelle5547 4 года назад +3

    What would happen if you were to put the corrupted folders into a zip file, and then unzip it in windows?

    • @malwaretestingfan
      @malwaretestingfan 4 года назад +1

      I think it would not unzip, with a hex error maybe.

    • @Austeja608
      @Austeja608 4 года назад +2

      You create a black hole

  • @PhonicUK
    @PhonicUK 4 года назад +8

    You should have tried folder names like "NUL", "LPT" or "CON"

    • @uwu_peter
      @uwu_peter 4 года назад +2

      I think he already did in another video

    • @molybd3num823
      @molybd3num823 4 года назад +3

      @@uwu_peter That was Enderman i guess

    • @anic1716
      @anic1716 4 года назад +1

      That can be possible with CMD:
      md .\con\

    • @justsomerandompersononthei2595
      @justsomerandompersononthei2595 4 года назад

      Anic17 But don't try it on your host, do it on a VM.

    • @anic1716
      @anic1716 4 года назад

      @@justsomerandompersononthei2595 no problem, I have tried it and no G
      BSOD nor errors

  • @mr3_def
    @mr3_def 3 года назад

    5:35 so if u had permissions and the drive wounldn´t be in use, and it would start deleting the whole directory, and then it comes to the point were it would be deleting the files on the desktop, what would happen?

  • @VictorGamerLOL
    @VictorGamerLOL 4 года назад +2

    Why does windows react in such a way when using this characters? Is it something to do with ascii or Unicode?

  • @normal_human-dh3kz
    @normal_human-dh3kz Год назад

    If you make a folder for game save back ups in steam and use the folder naming feature there you can put slashes in the names

  • @aaronrennyvargheseOriginal
    @aaronrennyvargheseOriginal 4 года назад +1

    Finally, Automatic repair actually works! Good Microsoft! Something which you have succeeded.

  • @reynoldcracker02
    @reynoldcracker02 4 года назад +5

    Using C: as file names might actually be used in hacks. Imagine a program only let you create and open file in your restricted path but the name cause windows to instead search in the Root directory 🧐

    • @nikkiofthevalley
      @nikkiofthevalley 3 года назад +1

      Soo basically a sandbox escape? Would be _really_ easy to fix though, just disallow any path with "C:" in it.

  • @CarletoGamesCGYT674
    @CarletoGamesCGYT674 4 года назад +1

    On my Windows 10 if I create those folders on Terminal, they appear with a middle dot, instead of the characters that I chose.

  • @Solodam
    @Solodam 4 года назад +2

    using "?" in powershell is the same as using it in windows explorer, it replaces a single character (a wildcard for 1char) :)

  • @goldenlongbow
    @goldenlongbow 4 года назад

    Messing with windows is always funny. I love your videos

  • @FluffyFoxUwU
    @FluffyFoxUwU 4 года назад +1

    finally there a indestructable folder in Windows

  • @lucianothewindowsfan
    @lucianothewindowsfan 4 года назад +5

    When I have first seen the PartedMagic logo, I thought it said R-Rated Magic.

  • @RecycleBin0
    @RecycleBin0 4 года назад +5

    what if we hide a test virus in the 'folder' folder? will AV software be able to detect and remove it

  • @znefas
    @znefas 4 года назад +1

    I wonder what would've happened if you were to put those folders inside of System32. Would Windows still give you a BSoD or would you get thrown to the DOS?

    • @koopatroopa6882
      @koopatroopa6882 2 года назад

      Sorry that I'm late, but Windows NT isn't even HAVE DOS.

  • @Certifiedinsurance
    @Certifiedinsurance 2 года назад

    All of illegal naming restrictions may suspect to be some what related in Windows Registry functions as file, which is also CLSID in Recycle BIN as {clsid}. < > is also registry Archives which could almost be create as files or text.reg.

  • @xicidix3286
    @xicidix3286 4 года назад

    2:24 “Properties seem... Mostly sane”

  • @olliethetimespirit233
    @olliethetimespirit233 4 года назад

    "This doesn't feel right..."
    are you trying to trigger my sensitive memes

  • @ErryPuu
    @ErryPuu 4 года назад

    My mom will find a 1TB of "Study" folder that is corrupted and unreadable in the next few days on my computer

  • @yorimirus
    @yorimirus 4 года назад +2

    Damn I wish we would know what happens when you make a folder that has multiple \ in it.
    Like folder\folder. How would windows react? Or doing this with existing folders, putting a file caller users\fly inside the C drive, would be interesting to see how windows reacts to that.

  • @minecraftliu5897
    @minecraftliu5897 3 года назад

    What I did not expect is that chkdsk will remove any illegal named folders as well as files

  • @alimohsin496
    @alimohsin496 4 года назад

    Did the WSL lie to us?
    Me: **Wears sunglasses**
    T h e M a t r i x

  • @parampreetrai7093
    @parampreetrai7093 4 года назад +1

    Windows in itself is just secure enough to avoid such small issues. If other software is used as dual boot with windows to affect windows then that could do even more worse.