Path too long?

leosefcik

New member
Local time
2:33 PM
Messages
3
I was making a thing for fun, a folder in a folder in a folder in a folder, and when i hit the 13th level


Code:
(C:/Users/Leo/Desktop/FolderCeption/1blahblah/2lol/3boi/4stuffs/5evenmorestuffs/6idk/7folders/8deep/9deepnesswarningdeep/10reallydeepwarningdeepnesslevel100/11okweresoodeeprightnowletsgouplol/12isaidgoup/13okwhateverjustreturn)
i wanted to create a folder called 14secretfilebelowmelol but it just stopped at 14secretfilebelowmelo. 21 characters limit, but what is it? It just makes a beep sound when i try to write more. And when i copy-pasted it it stopped at the 21th character too. Then, when i rename it to 14test and add another folder in it, it worked but this time it was called aaaaaaaaaaaaaa and i couldnt write more a's. When i came inside to add another folder it just gave me an error with title saying: The target path is too long. but things get weirder when i put in a text, i can just add in 1234567.txt and nothing more. but i can edit the file freely. Can anyone tell me why does this happen and if i can bypass it? Thanks in advance
 
Last edited:

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell
OS
Windows 7 Home Premium 64bit
CPU
Intel i5 2.7 GHz
Memory
8 GB
Hard Drives
C: Local Disk
Antivirus
ESET Smart Security
Browser
Firefox
Hi leosefcik, welcome to SevenForums,

What exactly are you trying to achive?
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Fujitsu LIFEBOOK
OS
Win 7 HP SP1 64-bit Vista HB SP2 32-bit Linux Mint 18.3
CPU
Intel(R) Pentium(R) CPU P6200 @ 2.13GHz
Motherboard
FUJITSU FJNBB06
Memory
4.00 GB
Graphics Card(s)
Intel(R) Graphics Media Accelerator HD
Sound Card
[1] Realtek High Definition Audio [2] Intel(R) Display Audio
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 59 Hz
Hard Drives
TOSHIBA MK5076GSX
Antivirus
AVG FREE
Forgot

Hi leosefcik, welcome to SevenForums,

What exactly are you trying to achive?
Oh, yea, sorry, uhmm that if i can fix this and go further and know more about it.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell
OS
Windows 7 Home Premium 64bit
CPU
Intel i5 2.7 GHz
Memory
8 GB
Hard Drives
C: Local Disk
Antivirus
ESET Smart Security
Browser
Firefox
Hi leosefcik,

The thing is, when you have folders and files that are as deeply embedded as you are creating, it makes it very hard to find files within each of the individual folders. You would be better off coming up with a strategy that is structured in a more logical way so as to make the files easily accessible within each of the folders. It would also increase the search time if you were to do a search for a particular file!

I hope this helps!
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Fujitsu LIFEBOOK
OS
Win 7 HP SP1 64-bit Vista HB SP2 32-bit Linux Mint 18.3
CPU
Intel(R) Pentium(R) CPU P6200 @ 2.13GHz
Motherboard
FUJITSU FJNBB06
Memory
4.00 GB
Graphics Card(s)
Intel(R) Graphics Media Accelerator HD
Sound Card
[1] Realtek High Definition Audio [2] Intel(R) Display Audio
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 59 Hz
Hard Drives
TOSHIBA MK5076GSX
Antivirus
AVG FREE
Hi leosefcik,

The thing is, when you have folders and files that are as deeply embedded as you are creating, it makes it very hard to find files with each of the individual folders. You would be better off coming up with a strategy that is structured in a way that it makes the files easily accessible within each of the folders.

I hope this helps!

Ok, thanks! So this means creating deep folders will make it hard for the system to read them, right?
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell
OS
Windows 7 Home Premium 64bit
CPU
Intel i5 2.7 GHz
Memory
8 GB
Hard Drives
C: Local Disk
Antivirus
ESET Smart Security
Browser
Firefox
Hi leosefcik,

OK, thanks! So this means creating deep folders will make it hard for the system to read them, right?

No, the system will still be able to read them.

I am talking about from a users point of view in which the user can find and access the files within the folders quickly. At the end of the day, you don't want to spend a significant amount of time looking for files in order to be able to use them!

I hope this helps!
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Fujitsu LIFEBOOK
OS
Win 7 HP SP1 64-bit Vista HB SP2 32-bit Linux Mint 18.3
CPU
Intel(R) Pentium(R) CPU P6200 @ 2.13GHz
Motherboard
FUJITSU FJNBB06
Memory
4.00 GB
Graphics Card(s)
Intel(R) Graphics Media Accelerator HD
Sound Card
[1] Realtek High Definition Audio [2] Intel(R) Display Audio
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 59 Hz
Hard Drives
TOSHIBA MK5076GSX
Antivirus
AVG FREE
I think that the limit path in windows is 256 characters. This includes disk letter, folders and file name + extension
Ex.: C:\users\Mike\desktop\myfile.zip = 32 characters
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    custom build
    OS
    Windows 7 HP 64
    CPU
    i5 6600K - 800MHz to 4200MHz
    Motherboard
    GA-Z170-HD3P
    Memory
    4+4G GSkill DDR4 3000
    Graphics Card(s)
    IG - Intel 530
    Monitor(s) Displays
    Samsung 226BW
    Screen Resolution
    1680x1050
    Hard Drives
    (1) -1 SM951 – 128GB M.2 AHCI PCIe SSD drive for Windows 7 and Lubuntu
    (2) -1 WD SATA 3 - 1T for Data
    (3) -1 WD SATA 3 - 1T for backup
    PSU
    Thermaltake 450W TR2 gold
    Keyboard
    Old and good Chicony mechanical keyboard
    Mouse
    Logitech mX performance - 9 buttons (had to disable some)
    Internet Speed
    500Mb/s
    Browser
    Firefox 64
    Other Info
    TinyWall firewall
  • Computer type
    Laptop
    System Manufacturer/Model Number
    Asus Q550LF
    OS
    Windows 7 Pro
    CPU
    i7-4500U 800MHz to 3.0GHz
    Motherboard
    Asus Q550LF
    Memory
    (4+4)G DDR3 1600
    Graphics Card(s)
    IG intel 4400 + NVIDIA GeForce GT 745M
    Sound Card
    Realtek
    Monitor(s) Displays
    LG Display LP156WF4-SPH1
    Screen Resolution
    1920 x 1080
    Hard Drives
    BX500 120G SSD for Windows and programs +
    1T HDD for data
    Internet Speed
    500 Mb/s
    Browser
    Firefox
    Other Info
    TinyWall firewall
Yes, Megahertz07 is quite correct. The system can only read pathnames up to 260 characters.

Although, having said that, the NTFS file system allows pathnames up to 32,767 characters, the 260 character limitation was set in the MS-DOS days. I believe you can overcome the 260 character system limitation by using the subst command. NTFS long paths can also be enabled in Windows 10 via group policy.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 x64, Vista x64, 8.1 smartphone
CPU
Intel E8400 65W 64-bit
Motherboard
Gigabyte EP45-UD3LR
Memory
DDR2 2 x 2GB, 1GB x 2
Graphics Card(s)
XFX Radeon HD5750
Sound Card
AMD High Definition Audio; Realtek High Definition Audio
Monitor(s) Displays
iiyama prolite X2377HDS
Screen Resolution
1920 x 1080
Hard Drives
500GB 7200 rpm Seagate ST3500413AS 16MB, 500GB 5400 rpm Toshiba MQ02ABF050H 32MB, 200GB 7200 rpm Seagate ST3200820AS 8MB, 2TB 7200 rpm Western Digital WD20EZRX 64MB
PSU
Enermax Liberty Modular
Case
Antec P193 Midi Tower
Keyboard
Mionix ZIBAL 60
Mouse
Razer USB 2.0 Diamondback Mouse or Huion Graphics Tablet
Browser
Internet Explorer, Lunascape, Firefox, Opera, Avast Safezone
Hi Megahertz07 & iko22,

I think that the limit path in windows is 256 characters. This includes disk letter, folders and file name + extension.
Ex.: C:\users\Mike\desktop\myfile.zip = 32 characters.

Yes, Megahertz07 is quite correct.

Although, having said that, the NTFS file system allows pathnames up to 32,767 characters, the 260 character limitation was set in the MS-DOS days. I believe you can overcome the 260 character system limitation by using the subst command. NTFS long paths can also be enabled in Windows 10 via group policy.

The thing is, that with such long file paths it becomes extremely confusing and very difficult to administer!:what:
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Fujitsu LIFEBOOK
OS
Win 7 HP SP1 64-bit Vista HB SP2 32-bit Linux Mint 18.3
CPU
Intel(R) Pentium(R) CPU P6200 @ 2.13GHz
Motherboard
FUJITSU FJNBB06
Memory
4.00 GB
Graphics Card(s)
Intel(R) Graphics Media Accelerator HD
Sound Card
[1] Realtek High Definition Audio [2] Intel(R) Display Audio
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 59 Hz
Hard Drives
TOSHIBA MK5076GSX
Antivirus
AVG FREE
Hi Megahertz07 & iko22,





The thing is, that with such long file paths it becomes extremely confusing and very difficult to administer!:what:

:ditto:

(d) ... but it can be done that way!!!
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 x64, Vista x64, 8.1 smartphone
CPU
Intel E8400 65W 64-bit
Motherboard
Gigabyte EP45-UD3LR
Memory
DDR2 2 x 2GB, 1GB x 2
Graphics Card(s)
XFX Radeon HD5750
Sound Card
AMD High Definition Audio; Realtek High Definition Audio
Monitor(s) Displays
iiyama prolite X2377HDS
Screen Resolution
1920 x 1080
Hard Drives
500GB 7200 rpm Seagate ST3500413AS 16MB, 500GB 5400 rpm Toshiba MQ02ABF050H 32MB, 200GB 7200 rpm Seagate ST3200820AS 8MB, 2TB 7200 rpm Western Digital WD20EZRX 64MB
PSU
Enermax Liberty Modular
Case
Antec P193 Midi Tower
Keyboard
Mionix ZIBAL 60
Mouse
Razer USB 2.0 Diamondback Mouse or Huion Graphics Tablet
Browser
Internet Explorer, Lunascape, Firefox, Opera, Avast Safezone
Back
Top