Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Login to participate.

Go Back   TechSpot OpenBoards > OS & Software > Misc. Software & Utilities

File Path Too Long = Currupted Files?

Reply
Bookmark / Share this page
Thread Tools
  #1  
Old 07-10-2007
TechSpot Member
 
Member since: Aug 2006, 129 posts
File Path Too Long = Currupted Files?

I was wondering that if I stored one of my files in a long file path like:

C:\Program Files\Microsoft Encarta\Movies\Long\Human\Anatomy\Skin\Epidermis\Cells\etc\etc\etc\etc\etc\ etc\etc\etc\etc\epidermis.jpeg

Would the file become currupt? Would be too long to actually even exist?
I was wondering because this happens everytime I try to make myself a backup cd with folders going extremely deep into the directories, and it wont let me burn the cd. This also happens when I extract an RAR file with long file names, so I have to open up the archive and copy the file into a smaller directory.

Help?
Reply With Quote
  #2  
Old 07-10-2007
CCT CCT is offline
TechSpot Evangelist
 
Location: Canuckistan
Member since: Apr 2007, 3,140 posts
Do some searching/reading on 'long file names'

a start - http://72.14.205.104/search?q=cache:...lnk&cd=5&gl=ca

Last edited by CCT; 07-10-2007 at 05:35 PM.
Reply With Quote
You can remove this banner by registering, join the TS Community for free.
  #3  
Old 07-10-2007
jobeard's Avatar
TechSpot Evangelist
 
Location: Southern Calif.
Member since: Apr 2005, 6,609 posts
Each filesystem has different restrictions, typical issues are:
  1. file-name-length,
  2. directory-name-length, and
  3. directory nesting depth.

These three combine to create a Path-Name-Length.

The ISO 9660 (the basic CD filesystem) limit of directories may only be nested eight deep.
Reply With Quote
  #4  
Old 01-30-2008
Newcomer, in training
 
Member since: Jan 2008, 1 posts
The thing is windows is limiting the file path to 256 symbols.

I’ve been using the following library that resolves the problem. It is not free, but comes with samples and working code.

abtollc.com SLASH HERE product1733992.html

Thanks
Peter
Reply With Quote
  #5  
Old 01-31-2008
Bobbye's Avatar
TechSpot Guru
 
Location: Clearwater, FL
Member since: Mar 2007, 2,742 posts
edit out multiple posts

Last edited by Bobbye; 01-31-2008 at 03:30 PM.
Reply With Quote
  #6  
Old 01-31-2008
Bobbye's Avatar
TechSpot Guru
 
Location: Clearwater, FL
Member since: Mar 2007, 2,742 posts
I would be more tempted to set this up as follows:
Instead of
C:\Program Files\Microsoft
Encarta\Movies\Long\Human\Anatomy\Skin\Epidermis\Cells\etc\etc\etc\etc \etc\etc\etc\etc\etc\epidermis.jpeg

Name Folder: Human Anatomy
....... Create Sub-folder: Skin
............... Create Sub -folder: Epidermis
....................... Create Sub-Folder: Cells

If you find it necessary to set up the main folder named Encarta, do that, then start the tree as above-OR- if this folders is going to have Movies jpegs, text and you want to differentiate that, set up the Sub-Folders accordingly.

But if you have one image of skin cells that you copied from Encarta, I'd name the file Skin Cells and let it go at that!

Edit x2 to format
Reply With Quote
Reply
Thread Tools

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Windows cannot access the specified device path or file Jlat Windows OS 8 42 Minutes Ago 11:16 PM
Windows cannot access the specified device, path or file Gomster Windows OS 3 1 Week Ago 05:44 AM
Access to specified device, path or file is denied moranpro Device Drivers 1 11-28-2006 10:44 AM
Windows cannot acces the specified device, path, or file..... kofko Windows OS 1 10-24-2006 12:27 AM
xp pro error: cannot access device,path or file, may not have permission joker41978 Windows OS 5 03-07-2005 04:45 PM


All times are GMT -4. The time now is 11:58 PM.