Compress and uncompress files and folders programmatically

Can I make a zip and unzip files and folders programmatically? I can create folders/files from windows of a program and run the command prompts to perform taks like checking the existence of files, copy them, but also want to create a zip folder and be able to decompress by program. Any ideas?

Hello

As you try to develop a program to perform some automated features, then the question would be better suited in the MSDN support forum. I suggest you to post the question on the following link.

http://social.msdn.Microsoft.com/forums/en-us/categories

Tags: Windows

Similar Questions

  • I have a problem with file compression and then not be able to extract their share at a later date

    original title: file compression

    I am running Vista Home Premium on my laptop. I have problems with file compression and then not be able to extract their share at a later date. For example, I sent a file compressed to my instructor and she pointed out that she had a .zipx extension and the fact that she was unable to extract the files of ranking. Can someone help me with this problem?

    Hello

    1. do you have a third party compression/extraction of software installed on your machine?
    2. do you get an error message when you try to extract the files?
    3. is the relevant question for the particular file type?
    4. don't you make changes to your computer before the problem?

    Follow the steps and check if they help.

    Step 1:

    Open zip files is to open the folder and drag the content to another folder.

    See article:
    Compress and uncompress files (zip files)

    Step 2:

    If you have a third party software to Compress/decompress, I'd Uninstall it employs the way Windows compression and decompression of files/folders and see if they help.

  • Files and folders with the same name

    I am trying to unzip some files and folders and it works fine on my computer with Windows XP. However, when you use Windows Vista I can't because there are folders and files with the same name. After an internet search, it seems that the only suggestion is to extract the files in separate folders which then would allow them to keep the same name. The problem is I want what they in the same folder and they need to have the names they have.

    NOTE: I do have two files with the same name in the same folder, I have a folder and a file with the same name. I would have thought that this would be acceptable because they are two things separate, and given that it's great under XP.

    All solutions?

    You are right, if I make a file and a text file with the same name, it works fine. However, when I try to extract the files I need it tells me that there is already a file with the same name as the folder. He goes to tell me to choose a new name but my only options are 'try again', 'jump' or 'Cancel '.

    I think I can understand what the problem is. For some reason when you download the zip file, the computer seems to have added a few files side with any format other than "file." It is those who have the same name as the folders as if they were, and they could not be uncompressed because of this. I have no idea whence they came as they appear from nowhere (compared to my XP). I'm trying now unzip the files separately and exclude the strange s 'file '.

    Thanks for your help though!

  • HOW to ZIP and UNZIP FILES and FOLDERS in WINDOWS 7

    I used win zip since some time and jzip recently used that has a malware issue potentially unwanted program, so I was told I could zip files in all editions of Windows 7, I still wonder why hiow

    Hello

    This should help you.

    "Compress and uncompress files (zip files).

    http://Windows.Microsoft.com/en-us/Windows/Compress-uncompress-files-ZIP-files#1TC=Windows-7

    See you soon.

  • How to compress and decompress the file in mac

    How to compress and decompress the file in mac

    I will use third party software to do this.

  • Not able to vacuum large files and folders from Recycle Bin

    Recently, I took a few big files and folders because there is not enough available disk space. But these files are not getting deleted from the Recycle Bin.

    How have you tried to remove them?

  • Re: Qosmio G - hidden files and folders is not displayed

    Hi people, I have a few hidden files and folders, which I was able to access the front and I used to click on the "organize tab" display, advanced settings, display the files and folders to hide or show hidden files.

    Unfortunately, there seems to be a problem, I just can't access my hidden files and folders, even when I go through this method.
    someone help me please as soon as possible...

    Thank you

    Hi aaz911,

    First of all, it would be nice of you if you post information on your laptop model and the operating system. This must be done always to get a detailed response.

    In any case, I never heard of this problem, but make sure that all files will be displayed:
    Start Windows Explorer > tools > Folder Options > view and enable the following options:
    -Files and folders hidden: display the hidden files and folders
    -Hide protected operating system files (this should be disabled > unbranded).

    In addition you will find these missing files by using Windows search?

    If this isn't the case, I suppose the files are deleted from someone or due to a virus. :(

  • Qosmio X 505-Q892 Desktop files and folders endangered

    As indicated by the name of the thread I encounter a weird problem I've never seen before, I was wondering if anyone else has experienced this problem before where the files and folders on the desktop and files and folders within other folders just goes completely invisible are however still usable.

    Last night I had some strange lag on my computer so I restarted, everything loaded up just fine. I went to load Firefox and an excel spreadsheet to update on my spreadsheet work, and nothing went wrong. Save the file and went to open one that follows and everything in the folder disappeared. It's like everything just went invisible, I tried to move all my old files to the new folder on my computer from an external drive, and he said that all the files are still there. So I rebooted the computer again, and my entire office was empty except for my trash, so I did a system restore to see if it would be useful and done it in a way, but it only is half of the files and visible programs still. Half of my files are still invisible, the information is there and other programs can access the information, I just can't access it myself via records (if it makes no sense to me).

    Now, I know the difficulty more easy for this would be completely clean up the computer and start again, but I have no boot disks and that you don't have any idea how to get half of the drivers and all back, I'm decent with computers, but this part goes beyond the knowledge that I have. Any person in charge of helping a confused man? @. @ I just want to get my files usable again as they are normally...

    It looks like Windows 7 common bug where it is not refresh the list of files. If you press F5, you should see the files appear.

  • Folder options - view the hidden files and folders

    Hello

    On this same laptop, there seems to be a problem with * Folder Options - Show hidden files and Folders.*

    Every time I have to 'see' this option to display - then I go back to check/confirm the changes - but the box is new 'unchecked '. Despite clicking on apply then Ok to save the changes. The changes are never saved...

    I have used other laptops of this same option and it worked fine.

    Please indicate if I need to apply or change other settings for this to work?

    Kind regards.

    A reasonable explanation from Microsoft for this?
    To be honest I have never heard talk about something like that. ?:|

    Since when you noticed this behavior?
    Have you tried to roll back the BONES to the bygone era? Maybe some update is responsible for this.

    I really hope that someone here will explain why this happen.

  • How to count separately files and folders

    I have a folder with many files and subfolders.

    How to count in the record the number of files and folders separately? Or count the total number of files but exclude the number of folder?

    The Finder, choose utilities go to menu, open the Script Editor and AppleScript editor and run code such as:

    Tell application "Finder".

    count all files in the folder ""path: to: file""

    tell the end

    (140392)

  • problem with the Finder - files and folders displaying incorrectly

    After acquiring a new iMac, I noticed a problem with the Finder - files and folders are displayed wrong (see table).

    This is what happens always after the files have been transferred from one folder to another. I was reminded of my days of using Mac OS in the 1980s when automatic setting of files was not so "automatic." I use Mac OS for decades and I don't remember the last time I had to think about GUI problems like that.

    Other problems in the graphical display of files and folders were introduced, such as when you have hundreds of files in a single folder, you end up deleting about 30 to 40 of them say in a particular section, and you end up with gaps of the ChartSpace where files used to be, that is the remaining files automatically rearrange themselves (fill in these gaps) - never. A week later, you open the folder, and the gap of GUI is still there.

    I decided to do a clean install of the operating system but nothing works.

    Is there some setting in Prefs I'm missing?

    Hi there highland99,

    Looks like your folder icons are not accommodating themselves automatically you plan to do. To me, this indicates that you have organize by the None value in the view menu. You can change the way files and folders are prepared automatically by clicking on view > reorganize by and selecting how you would like that fixed.

    Thank you for using communities of Apple Support.

  • Permission of files and folders for the same user on multiple computers

    Is it possible to set permissions files and folders different for the same user when he connect on different computers in the same domain?

    Example:

    There is a folder named "Folder1".
    When "User1" enter this folder by "Computer1" must have "Read & Execute" permission
    When "User1" enter this folder in "Computer2" must have permission 'change '.

    Thank you

    Hello

    Your question is beyond the scope of this community.

    Please post your question on the TechNet forums:

    https://social.technet.Microsoft.com/forums/Windows/en-us/home

    Kind regards

  • help please all access refused to display any files or folders including word and images in the library

    help please, any access to my files and folders denied including pictures and word documents in the library.

    Hello
    • What were the changes made before the problem occurred?
    • What version of Windows are you using?
    • What is the full error message that you receive?
    • Connect you as an administrator?
    You can check these links:
    Diagnose and repair Windows files and folders problems automatically
     
    How to open a file if I get an access denied message?
    See also:
    Troubleshoot "access denied" when opening files or folders
    Note: This link also means on Windows 7
  • Files and folders in root appear in my folder of Documents and office

    It probably happens on the Windows NT-based versions (has happened to me on a XP PC and a PC in 2000 that I intend to upgrade both of them soon). The files and folders of the program directory (C :) root Windows upward in the office and the folder My Documents. These files are not shortcuts and they show that they are located in the root of the drive, even if they appear on the desktop and My Documents. They can be handled then that mirrored to the root of the drive. I dropped a simple file to the root one test while it appears on the locations and then I deleted the file of the said test from the office and he left root. They don't seem to do anything when I click on them. It is not happened to me before. Does anyone know how to fix this? Is this a bug?

    That is some progress.  Normally the desktop folder works the same way, where he will have a "location" at the top of the Properties tab.  This is a feature you'll see normally special "shell folders" as this (shell being the part of the operating system that see you, or the user interface).

    If it has lost its distinctive feature, you can usually restore it quickly in the registry.

    1. First of all, make sure that you have a folder that is named "Desktop" in your personal folder 'username '. You will set the registry to use this folder as storage of office location.
    2. Keep Windows Logo type R to display the run box, type REGEDIT and click OK and give permission to the administrator if necessary.
    3. Navigate through the list of files (registry keys) on the left to find this place:
      HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
    4. Look for the "Desktop" entry on the right (registry value), and double-click it to change data to be:
      %UserProfile%\desktop

      The %UserProfile% is a variable that is everywhere where your current profile is stored.  Administrators and power users can use it to move their entire profile without having to define all those places individually.

    5. Click OK to save it, and then close the registry editor.
    6. Lot of windows completely and reconnect of re - initialize your user profiles and folder locations. Or just restart your computer, either way :)

    At this point, right click and properties of the desktop folder should now have the expected location tab (let me know if not).

    If you ever want to move these places, a little advice: make sure that you have specified a folder name.  In other words, do not place your Documents to store in just the G: drive. Instead, create a folder on the target drive and don't forget in the location (such as G:\Docs).  One last thing: don't try to define both 'special' folders to be stored at the same single physical location (do not set two in the same place).

    Here is a picture of this registry on Windows 10 location, but these steps are the same, all the way back to Windows 2000 (maybe sooner).

    Let me know how it goes, I hope that he gets all cleared up.

  • All files and folders show hidden after virus corrupted hard drive XP

    I recently got a virus on my laptop which made all the files and folders hidden and says that my hard drive is damaged. I managed to get rid of the virus, but all my files are always hidden. I went to my computer and made sure all the hidden files are visible. This fixed the problem a bit. My main problem now is that all my files and folders are slightly transparent. It's a more of a nuisance than a real problem. I downloaded a program that would allow me to change each file in groups, but it would take an extremely long time to go by a record throughout my entire computer. I was wondering if there is any means possible to put all my files and folders hidden not Hidden to get rid of their transparency.

    Thanks for any help you can give.

    See this:

    http://www.troublefixers.com/hidden-files-and-folders-are-not-visible/

Maybe you are looking for

  • iPhone and iPad photo storage

    I have recently bought a new iPad Pro and an iPhone 6s and also implemented exactly the same in terms of photos - they access the same library of Photo and both are on optimize storage device and both have the value NOT to download and keep the origi

  • Step.Result.numeric in the Watch window

    Is there a special way to add and check the 'step.result.numeric' value in the Watch window during execution of the TestStand? Let me know... If there is a thread where is already answered this request, please give me the link. Thank you Yogesh

  • II Gateway and TS-Intermidiate file requirements

    Hello I asked in this thread on the TestStand Intermidiate file. http://forums.NI.com/T5/NI-TestStand/requirements-gateway-TS-Intermidiate-file/m-p/2288998/highlight... At the time I write my own Tango intermediate file generator. To make it simple a

  • XPS 8700, out-of-box speaker 5.1 audio problems

    I had ongoing audio problems since the purchase of my XPS 8700 8.1 desktop system of 64-bit Windows on January 15 and set up with my speaker Altec Lansing 5.1 system existing. The strangest thing happens when I play audio from different sources. When

  • SAXParser exception processing <! DOCTYPE

    Hello I'm trying to parse HTML using SAXParser, the parser returned exception (SAXException) "expects an element. The exception happened because the paper begins by! DOCTYPE tag beforehtm is it possible to ignore the! DOCTYPE tag and deal directly wi