DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: How to get spinzip to not include the full paths in the zip files?  (Read 12,739 times)

THenrich

  • Participant
  • Joined in 2016
  • *
  • Posts: 2
How to get spinzip to not include the full paths in the zip files? I want the generated zip files to have the files in there right from the root of the zip file. Not folders should be included.

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: How to get spinzip to not include the full paths in the zip files?
« Reply #1 on: January 16, 2017, 08:53 PM »
How to get spinzip to not include the full paths in the zip files? I want the generated zip files to have the files in there right from the root of the zip file. Not folders should be included.

There isn't a way.  It's been a long while since I've worked on SpinZip; I recall I had a reason (or a limitation) for doing it the current way (with full paths) but I don't remember why.  Apologies.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: How to get spinzip to not include the full paths in the zip files?
« Reply #2 on: January 16, 2017, 09:34 PM »
Skwire you might look into it, it might be simply an option you could use to not include full paths but just relative paths.

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: How to get spinzip to not include the full paths in the zip files?
« Reply #3 on: January 16, 2017, 09:40 PM »
Skwire you might look into it, it might be simply an option you could use to not include full paths but just relative paths.

That's the thing; I have looked at in the past.  ;)  I don't recall the actual reason behind not having that as an option, but there was a reason.  :P

Original address: https://www.donationcoder.com/forum/index.php?topic=43402.0