Illegal File Names in Windows 10

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ส.ค. 2024
  • Let's hit 3000 likes! 💜 Ever tried creating a file or folder with a backslash or question mark? Windows will not let you. Well, what if we ignore Windows and do it anyway? Be prepared: Windows will hate us. Big thanks to mattx for getting me into this topic!
    0:00 - Intro
    0:23 - #1: The WSL Deception
    4:19 - #2: Drive Links
    6:37 - #3: Unicode Tricks
    9:43 - #4: Corrupting Folders
    12:38 - #5: Caption Contest Winner
    13:00 - Outro
    ----------
    Join the channel's discord server "The Flying Tech"!
    bit.ly/Flytech...
    Follow me on Twitter:
    / flytechvideos
    ----------
    Lots of awesome music used here! (Really, I'm starting to run out of it.)
    Three Chain Links - All We Ever See Of Stars: • Three Chain Links - Al...
    Three Chain Links - Hot Nights in Los Angeles: • Three Chain Links - Ho...
    Three Chain Links - It Can’t Be Bargained With: • Three Chain Links - It...
    Three Chain Links - Missing You: • Three Chain Links - Mi...
    Three Chain Links Soundcloud: / beardmont
    Thank you for offering us this awesome music for free, and thanks to RoyaltyFreePlanet for making it known! :)
    #lookinside #disallowednames #flytech
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @____.__._.._
    @____.__._.._ 4 ปีที่แล้ว +748

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

    • @leap123_
      @leap123_ 4 ปีที่แล้ว +11

      69th like
      nice

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

      Ok

    • @monnamonsta
      @monnamonsta 4 ปีที่แล้ว +10

      96th like
      lol

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

      Fly and enderman be one person😂

    • @walkiacid9265
      @walkiacid9265 4 ปีที่แล้ว

      @@leap123_ WHY ARE YOU EVERYWHERE?!

  • @KoczulMoczul
    @KoczulMoczul 4 ปีที่แล้ว +794

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

    • @powewq1748
      @powewq1748 4 ปีที่แล้ว +24

      Almost funny... close...

    • @phagerxfostos3913
      @phagerxfostos3913 4 ปีที่แล้ว +117

      @@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

  • @__builtin_popcount
    @__builtin_popcount 4 ปีที่แล้ว +274

    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 ปีที่แล้ว +77

      Oh, TIL. Thanks!

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

      @@FlyTechVideos Hi

    • @saft2529
      @saft2529 2 ปีที่แล้ว +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

  • @maximized3041
    @maximized3041 4 ปีที่แล้ว +673

    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 3 ปีที่แล้ว

      Fellow tf2 player?

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

      The Automatic Repair Finally does his jobs!

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

      ¡¿√√∆¶xfjhvxfb L,negvij

  • @swordcrafted
    @swordcrafted 4 ปีที่แล้ว +309

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

  • @avi8aviate
    @avi8aviate 4 ปีที่แล้ว +112

    "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 3 ปีที่แล้ว

      F-Zero franchise: yep

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

      F-zero, best SNES game :D

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

      @@mrpiese1295 Personally, I prefer Kirby Super Star.

  • @R.B.
    @R.B. 4 ปีที่แล้ว +55

    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.

  • @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.

  • @Steets
    @Steets 4 ปีที่แล้ว +167

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

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

      I wanna like but not destroy those 69 likes

    • @tee.enderxity
      @tee.enderxity 3 ปีที่แล้ว +5

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

    • @tee.enderxity
      @tee.enderxity 3 ปีที่แล้ว +1

      @ClassyUtra windows ctac xD

    • @tee.enderxity
      @tee.enderxity 3 ปีที่แล้ว +1

      @ClassyUtra lmao

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

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

  • @VDani16
    @VDani16 4 ปีที่แล้ว +72

    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 ปีที่แล้ว +13

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

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

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

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

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

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

      @@bloonsfamily2066 that's nice

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

      @@VDani16 and also a corrupted c: drive

  • @uwu_peter
    @uwu_peter 4 ปีที่แล้ว +67

    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 ปีที่แล้ว +8

      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.

  • @drawdebono77
    @drawdebono77 4 ปีที่แล้ว +54

    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 ปีที่แล้ว +3

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

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

      lol

    • @SOTP.
      @SOTP. ปีที่แล้ว +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------ 10 หลายเดือนก่อน

      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 9 หลายเดือนก่อน

      I aint readin allat

  • @TheWTFDubstep
    @TheWTFDubstep 4 ปีที่แล้ว +191

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

  • @sounak5853
    @sounak5853 4 ปีที่แล้ว +81

    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.

  • @JayCeeCreates
    @JayCeeCreates 4 ปีที่แล้ว +59

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

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

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

  • @Preinstallable
    @Preinstallable 4 ปีที่แล้ว +42

    The rare occasion when Automatic Repair fixes something.

  • @HSHamster
    @HSHamster 4 ปีที่แล้ว +14

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

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

    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 ปีที่แล้ว

      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 ปีที่แล้ว +66

    again youtube notified me 16 minutes after the premiere end.

    • @FlyTechVideos
      @FlyTechVideos  4 ปีที่แล้ว +36

      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! :(

  • @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

  • @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.

  • @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 3 ปีที่แล้ว +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.

  • @chillshobe8147
    @chillshobe8147 4 ปีที่แล้ว +10

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

  • @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 3 ปีที่แล้ว

      @@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.

  • @jc008titan
    @jc008titan 4 ปีที่แล้ว +102

    wtf windows repair actually repairs?!

    • @uwu_peter
      @uwu_peter 4 ปีที่แล้ว +8

      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

  • @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 3 ปีที่แล้ว +1

      @@FlyTechVideos
      Hi

  • @barkeeper7887
    @barkeeper7887 4 ปีที่แล้ว +19

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

  • @elSchwaznevvo
    @elSchwaznevvo 4 ปีที่แล้ว +56

    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 3 ปีที่แล้ว

      Alluseri r/wooooooooosh

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

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

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

      i mean this all is because of the ntfs file system

  • @unknownaccount4783
    @unknownaccount4783 4 ปีที่แล้ว +7

    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 3 ปีที่แล้ว

      That's true?

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

      I thought there was some mysterious link behind them

  • @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.

  • @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

  • @TheZelen
    @TheZelen 4 ปีที่แล้ว +66

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

  • @joshbrookens5226
    @joshbrookens5226 4 ปีที่แล้ว +7

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

  • @eh9490
    @eh9490 4 ปีที่แล้ว +7

    Nice Video about disallowed NTFS names

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

      Thanks for watching!

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

      @Jamesonverse *about a video about disallowed NTFS names

  • @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

  • @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

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

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

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

      Yep

  • @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.

  • @ZettaBlitz
    @ZettaBlitz 4 ปีที่แล้ว +6

    help, i can't stop watching your videos.

  • @retropcs88
    @retropcs88 3 ปีที่แล้ว +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

  • @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.

  • @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

  • @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 ;)

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

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

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

    What happens if you place

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

    the old name:
    Disallowed NTFS File Names vs. Windows

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

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

  • @9rye
    @9rye 4 ปีที่แล้ว +12

    Dang it, woke up 30 mins AFTER the upload :(

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

    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.

  • @gallium-gonzollium
    @gallium-gonzollium 2 ปีที่แล้ว +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.

  • @remty516
    @remty516 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

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

      Zipbomb is also known as "billion laughs."

  • @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...

  • @Soup7674
    @Soup7674 4 ปีที่แล้ว

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

  • @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 2 ปีที่แล้ว

      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¿?

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

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

  • @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 2 ปีที่แล้ว +1

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

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

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

  • @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?

  • @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.

  • @wilsontulus
    @wilsontulus 3 ปีที่แล้ว +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.

  • @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?

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

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

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

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

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

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

  • @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

  • @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.

  • @alli-windowsexpert
    @alli-windowsexpert 6 หลายเดือนก่อน

    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:)”

  • @notavaliableanymore
    @notavaliableanymore ปีที่แล้ว +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*

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

    Automatic recovery actually fixed the problem. First time ever!

  • @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 25 วันที่ผ่านมา +1

      null character is banned too

  • @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

  • @Rishi-ql8jj
    @Rishi-ql8jj 3 ปีที่แล้ว +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 :)

  • @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.

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

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

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

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

  • @KakaunetOfficial
    @KakaunetOfficial 3 หลายเดือนก่อน +1

    How do you enter the auto recovery thing when he does a BSOD when you activate it?

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

    Windows: Ahh the best computer, we have safety and it is very high
    CMD: Hehe yea it is safe...
    Enderman: Let me introduce myself

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

    I found how to make a file with dots without any breakage whatsoever. Here's how:
    Step 1: Create a folder or text document.
    Step 2: Name it .......................................... then add (1) to it.
    Step 3: Now you have a file with dots!

  • @yorimirus
    @yorimirus 3 ปีที่แล้ว +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.

  • @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 ปีที่แล้ว

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

  • @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 :/

  • @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.

  • @60sTELECASTER
    @60sTELECASTER 2 ปีที่แล้ว

    " You know what's funny? Automatic Repair actually repairs this issue "
    ain't my first time , one time i wanted to open my laptop it was fixing my C: drive , i was very confused (not really since my laptop has problems booting up because when it tries it fails most of the time)

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

    A colon " : " is an illegal filename.
    But the ratio symbol, Unicode U+2236 " ∶ " is not. Have fun.

    • @justcrimson.7584
      @justcrimson.7584 3 ปีที่แล้ว +1

      Confirmed

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

      The ratio actually replaces the colon in the Windows 10 clock on the the taskbar

  • @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

  • @TakeMeOffYourMailingList
    @TakeMeOffYourMailingList 4 ปีที่แล้ว

    The absolute nightmare that colons in UNIX folders caused on Windows was a few days I won't forget. I was migrating several years of projects to a new NAS, and the new workstations in the office were Windows, whereas before they were all Macs. Everything copied fine, but as soon as people started working I received a torrent of emails complaining they couldn't access their work. It turned out that the team was giving their folders names in the form " DD:MM:YY", and would also commonly have and folders. This was all okay in UNIX, but the Windows workstations were really not happy. I ended up having to go through everything, checking for case duplicates, and renaming every : folder to -. Why the fuck they used : is completely beyond me, but whatever.

    • @FlyTechVideos
      @FlyTechVideos  4 ปีที่แล้ว

      : for a date format? Oh no...

  • @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

  • @TheMoon_Follow
    @TheMoon_Follow 9 หลายเดือนก่อน

    funnily enough, I was experiencing that same hurdle when I was tackling on extracting a website with wget.. since the infrastructure was built around PHP, a folder has "?" on it which was not allowed on Windows but is allowed on Linux/WSL.. goin through hoops of trying to copy/manipulate stuff, I just had to RENAME the folder to a Windows-friendly name and it all looked fine
    ~ thebelovedmoon 🌙

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

    edit: "ntfs file system" is a problem i didn't think would be a problem
    what would happen if you:
    1). made fake C: in linux
    2). booted into windows and let windows acknowledge fake C:
    3). deleted it in partedmagic
    4). let windows panic because it exists but doesn't

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

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

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

    WSL is a highly customized version to run as integrated as possible in the deep roots of the OS, so it's actually part VM and part (integrated with windows). So, it could be just following windows rules.

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

    I think its about Windows codes
    If he uses this things for something important and if you use it on a folder it crashes
    Thanks for this good video

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

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

  • @zfennica
    @zfennica 4 ปีที่แล้ว

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

  • @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.

  • @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"

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

    It's a nice way to joke around my friends who use Windows! It also encourages Linux.

  • @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

  • @RJCUN
    @RJCUN 4 ปีที่แล้ว

    Windows won't allow you to create folders with illegal characters on a NTFS drive, but third-party NTFS implementations available in Linux distros don't care and they can create files Windows can't rename or delete (but often can access). Don't mount any NTFS partitions on Linux in read-write mode, they can corrupt even worse.