Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 577039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T14:06:38+00:00 2026-05-13T14:06:38+00:00

I have a folder structure containing a number of documents, as well as a

  • 0

I have a folder structure containing a number of documents, as well as a shortcut link to another file in the folder structure. (essentially the file structure maps like a graph). If I zip up these files in Windows, the shortcut will point to the right file when the archive is uncompressed somewhere else.

Now, I want to be able to do this using the System.IO.Packaging stuff… this requires that I put the each file in a stream to tie it to the zip file. The problem is shortcut files (.lnk) apparently aren’t actually files (if you do a file.exist on it, its not there). My normal method of…

System.IO.FileStream(shortcut, System.IO.FileMode.Open)

…will not work. So how would I add a shortcut to a zip package?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T14:06:39+00:00Added an answer on May 13, 2026 at 2:06 pm

    A ZipPackage isn’t a regular Zip file, but a file meant to be used by new Office XML-based file format (docx, xlsx, etc).

    If you want to zip something, you should to use another library, like #ziplib

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a zip file containing a folder structure like main-folder/ subFolder1/ subFolder2/ subFolder3/
If I have a folder structure set up like this: ~/Projects emacs package1 package1-helpers
I have a folder structure with one main parent folder containing many subfolders, and
Suppose I have the following (desired) folder structure: *CommonProject *Project#1 ----> CommonProject(link) *Project#2 ---->
I have a folder structure like this /img/products/{product name}/ and then the sub folders
I have a folder structure like this and I'm trying to load the News
I have a folder on my server to which I had a number of
I have multiple folders containing reports under /report folder in the BIRT WebViewer. I
In ASP.NET MVC2, How do I change routing/folder structure so I can have Views\FOLDER\Account\ChangePass.aspx
I have a folder in my web server used for the users to upload

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.