Compressed Zip Folder, Msoft Word, characters to avoid?

  • Thread starter Thread starter paulb203
  • Start date Start date
  • Tags Tags
    Compression
Click For Summary
SUMMARY

The discussion focuses on best practices for naming folders and files when compressing them into a ZIP archive, particularly for Microsoft Word documents. Participants emphasize avoiding special characters such as apostrophes, spaces, and capital letters to ensure compatibility across different operating systems like Windows, MacOS, and Linux. The consensus is to limit names to alphanumeric characters, underscores, and dashes. Additionally, deep nesting of folders should be avoided due to potential path length limitations, particularly the 260-character limit in Windows.

PREREQUISITES
  • Understanding of file systems and their limitations, particularly NTFS and POSIX.
  • Familiarity with file naming conventions and potential issues with special characters.
  • Basic knowledge of ZIP file compression and its impact on folder structures.
  • Awareness of cross-platform compatibility issues in file management.
NEXT STEPS
  • Research "Windows NTFS maximum pathname length" for detailed limitations.
  • Learn about "POSIX file naming conventions" for better cross-platform practices.
  • Explore tools for "batch renaming files" to standardize naming conventions.
  • Investigate "ZIP file structure" to understand how folder hierarchies are preserved.
USEFUL FOR

This discussion is beneficial for software developers, system administrators, and anyone involved in file management and organization, particularly those working with cross-platform environments and ZIP file compression.

  • #31
Strange. I've been deleting scores of apostrophes from the title of files in folders and now Word is letting me zip files with apostrophes in the title of the files. I zipped one that hadn't been edited by mistake, and was surprised to see that I could. Then I tried another. That worked too. And yet, prior to this I had got a message in a pop saying I couldn't zip a folder because it had apostrophes.
Also, I spent days on one particularly large folder, editing loads of file titles. When I'd finally got it done I went to zip it but kept getting the 'you can't...' pop-up message. I checked and double-checked all the titles and it was all fine. I eventually set up a new folder, moved all the folders and files to that, named it the same, deleted the orginal, and it let me zip it.
I guess Word is a bit like 'The Lord', in that it works in mysterious ways.
 
Computer science news on Phys.org
  • #32
You keep mentioning that you are zipping files with Word. Word doesn't have a zip function. What exactly are you doing?

BoB
 
  • Like
Likes   Reactions: paulb203
  • #33
rbelli1 said:
You keep mentioning that you are zipping files with Word. Word doesn't have a zip function. What exactly are you doing?

BoB
Hi, BoB.
I go into File Explorer, right click on a folder, then click on 'Send to'. The second option on the drop-down menu is, 'Compressed (zipped) folder' which has a zipped folder icon next to it.
Once I click on that the folder is compressed/zipped. Which means I can now send it as an email attachment (rather than have to attach each file in the folder individually).
 
  • #34
I figured out your problem. Windows compression doesn't allow Unicode characters so the apostrophe is ’ instead of ' in your file names.

If you use another (many other? any other?) compression program you won't have this problem. I use 7-zip. There are probably more user friendly ones out there.

BoB
 
  • Like
Likes   Reactions: paulb203
  • #35
Thanks.
And sorry if I got your name wrong; I'm now thinking BoB is an abbreviation for something :)
 
  • #36
paulb203 said:
Thanks.
And sorry if I got your name wrong; I'm now thinking BoB is an abbreviation for something :)
Nope. just BoB with two big 'B's. One is just not enough.

BoB
 
  • Like
Likes   Reactions: paulb203

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 18 ·
Replies
18
Views
6K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 33 ·
2
Replies
33
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K