Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How modify win explorer's limit of Win API (max_path = 260 signs) ?

25 Dec 2016   #1
TreeHole

Windows 7 Ultimate 32 bit
 
 
How modify win explorer's limit of Win API (max_path = 260 signs) ?

When I was copying files to external HDD as backup, I faced error of long file paths. I was unable to copy them.
Both (my pc and external HDD) has NTFS file system. So it's clearly problem of that explorer.

How may I modify or patch it please ?
I plan to do sync backup of my data every week, so I don't know what I will do.

Thank you !


My System SpecsSystem Spec
.
25 Dec 2016   #2
Megahertz07

Windows 7 HP 64
 
 

If the original path is very long, when you copy it it can add some more due to the backup location.
For what i know, this is a OS limitation.
I have seen MS Word files that has the fist paragraph as a name. Only the file name was so big...
My suggestion is to modify the source folders names. Make them short as possible.
My System SpecsSystem Spec
25 Dec 2016   #3
TreeHole

Windows 7 Ultimate 32 bit
 
 

I can't do more, it needs to be sorted how it is.
My System SpecsSystem Spec
.

25 Dec 2016   #4
LMiller7

Windows 7 Pro 64 bit
 
 

Changing MAX_PATH or otherwise modifying Windows Explorer is not an option. MAX_PATH is defined as 260 characters and is used throughout Windows. Microsoft could change it but if it were that simple it would have been done years ago. The problem is that since the early days of of the Win32 platform applications have assumed that a path could be no longer than 260 characters and if presented with a longer one would crash or corrupt data.

I believe there are command line utilities that can copy files with a longer path but you will not be able to do this with Windows Explorer.
My System SpecsSystem Spec
26 Dec 2016   #5
Megahertz07

Windows 7 HP 64
 
 

Don't know the reasons why it needs to be sorted how it is, but if you don't change the long names, you'll have more problems.
I suggest you to rename the long folders names and files to a smaller names.
Free commander is a very good file manager https://www.fosshub.com/FreeCommande...blic_setup.zip
With it you can rename all files keeping the fist n characters, keeping the extension.
My System SpecsSystem Spec
26 Dec 2016   #6
margrave

Windows 10 x64
 
 

I've run into that problem, too. The 260 limit is silly. I had Unix systems twenty years ago that could handle 1024.
My System SpecsSystem Spec
Reply

 How modify win explorer's limit of Win API (max_path = 260 signs) ?




Thread Tools




Similar help and support threads
Thread Forum
Hotkeys & Win7 : where stored ? How modify when explorer not able ?
Hi I have assigned many hotkeys to allow fast access to most used software : for example ctrl-alt-shift-V for ViewNX2 I hade Ctrl-Alt-Shift-X for DXO Optics Pro. Now installed new version adn impossible to assign that hotkey combination ! Hotkey Detective does not list that combination...
General Discussion
Overriding MAX_PATH
MAX_PATH is the 260 character limit Windows places on file paths. Apparently the NTFS file path limit is 32,767 characters, and since Windows uses that file system, I'm not sure what the massive restriction is for. Whenever I transfer files between hard drives of different file systems, this bloody...
General Discussion
I need a Windows file explorer that can view/modify FTP files?
Hi everyone, I recently setup an FTP server using this genius little piece of hardware called CloudFTP (now called iUSBport as of today, LOL). Anyways, I can access my CloudFTP just fine through my smartphone, using a file explorer app w/FTP ability. My question is, is there a downloadable...
Software
How to limit PC Usage to POS & Internet Explorer?
Hello, I am a small business owner (Verizon Wireless Retailer) And would like to limit my employees to only a few select programs and IE websites. For example we would need access to -RQ4 (Our POS)
General Discussion
Can we modify or add a custom columns on Explorer?
Can we modify or add a custom columns on Explorer? i just installed dBpoweramp and i can see a complete metadata info about the audio files via popup info & Audio Properties tab (created by dBpoweramp), i consider some of them are advanced info like encoder settings, accuraterip results, CD...
Customization
Cannot modify mkv file / windows explorer crashes
Ok, so I've got a bit of a doozy here. Like many people out there I'm having problems renaming, deleting, moving, copying, and playing mkv files. If I attempt to do one of the above tasks, windows explorer will crash and I have to restart my computer. I ran a cmd scannow and there indeed was a...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:12.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App