Zip and delete folder

I would like to programatically zip a folder then delete the folder. I can successfully zip the folder using the OpenG zip tools, but when i try to delete it in the same VI i get an error 6. This sparked me to use the NI zip tools, but this causes the same problem when i try to delete the folder. The funny thing is that I can manually delete the folder after the zipping VI has stopped execution. This made me think that the execution of the zipping VI has to be finished before the delete primitative is called. I then added some code to launch a separate VI with the VI.Run method that does the deleting. This method does not work either.
Does anybody have any idea on how to delete a folder after it has been zipped? I'm thinking of investigating other zipping softwares that have a command line interface but I figure I'd ask here too.

I am using LabVIEW 7.1 so that input doesn't exist, but the folders are not empty when I try to delete them. I'll attach the code I have and a test folder. Notice how it archives the contents of the test folder based on the first word of the text files.
Attachments:
Archive Files.zip ‏30 KB
Test Folder.zip ‏4 KB

Similar Messages

  • I am having error message of "firefox has stopped working".i unstill and delete folder in my directory adn i again reinstall but its still showing same error

    I having the error message of "Firefox has Stopped working" and having following problems list out in the problem list text area is
    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: firefox.exe
    Application Version: 20.0.1.4847
    Application Timestamp: 51650aee
    Fault Module Name: KERNELBASE.dll
    Fault Module Version: 6.1.7600.16385
    Fault Module Timestamp: 4a5bdaae
    Exception Code: c0000005
    Exception Offset: 00007b69
    OS Version: 6.1.7600.2.0.0.256.1
    Locale ID: 16393
    Additional Information 1: 59d2
    Additional Information 2: 59d28f4851ee3e61e3aa57edc696ac9e
    Additional Information 3: 38b6
    Additional Information 4: 38b6ae8359371108855a2a4e84f0ea47
    Read our privacy statement online:
    http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
    C:\Windows\system32\en-US\erofflps.txt
    i uninstall and delete the mozilla firfox in my directory and reinstall tha lastest version but its still showing the same error message.

    i experienced the same problem. this is what i did:
    *right click firefox
    *click properties
    *click compatibility tab
    * check "Run this program in compatability mode for:"
    * on dropdown choose Windows 7.
    * click ok or apply.
    this solution solved my problem.i hope it will work on yours too.

  • I trying to use organizer,and deleted folder showing up again,sometimes in double, and pictures show

    I tryinfg
    to use organizer: deleting my old files, and saving others for  a folder called PICTURES.
    Deleted fiels showing up again, sometimes in dobel.
    Some saved picture show with a "?" mark in  the upper right corner. With these i can not work again. Can not be found, and not in the Finder.
    Plese help,
    Thank you very much.

    The quote is meant as a humorous tag line - a deliberate paradox (or maybe false dichotomy). I don't recall where I first came across it but have been using it since around 1992. I later found it was written by American author and humourist Sam Levenson - http://www.brainyquote.com/quotes/authors/s/sam_levenson.html.
    For your Organizer problem, have you ONLY used the Organizer to move the files around or did you use the Finder as well?
    If you moved or deleted with the finder this would explain the '?' you see in the images. The Organizer keeps track of where they are for itself and if you use the Finder to move or delete things the Organizer is not 'aware' of that fact.
    Now if you want to remove all these '?' items from your catalog, you can use Find> All Missing Files. When it has done its thing the Organizer will show all those images where the links are no longer valid. You can use Edit> Select All to select them all and press Delete. answer 'No' to the question about deleting from hard disk.
    If instead you want the Organizer to try and recreate the connections use File> Reconnect> All Missing Files. This can take a long time if there are lots missing.
    Once you have the '?' items sorted out you can use Find> By Visual Searches> Duplicate photos. When it has done it's thing it will show what it thinks might be duplicates and you can choose to Delete those you don't want. In this case you probably do want to delete the duplicates from the hard disk.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • Permission to upload to KM folder, but edit and delete only usrs own file

    Hi guys!
    I need to allow users to upload document to some KM folder, but they must be able only to edit and delete their own file. How to achieve this?
    If someone has write permission to KM folder, he can edit also other documents. I need to disallow this..
    Thanx for answer!
    Peter

    Hi,
    please have a look at this HowTo: https://service.sap.com/~sapidb/011000358700000560192006E/MultipleAuthors.zip
    Kind ragrds
    Karin

  • How do i find and delete the hidden .trashes folder on my sd card?

    I just recently bought a new canon 600d camera and i also bought a new 16gb sd card for it.
    I use this camera for videos mostly.
    My card seems to fill up incredibly quickly and when i empty it, it stills says about 600mb is taken up. I looked it up and apparently its because of a hidden folder called .trashes? I cant figure out how to find this folder or how to delete it.
    Ive seen a few people say you can find it somehow using finder, but my issue is that my camera doesnt show up in the finder, a program called image capture comes up and i can import all my videos from there perfectly fine.
    this problem is really annoying me because even when my sd card says its 849mb full, after recording two or three clips, my camera stops recording automatically due to the card being almost full even though its nowhere near full and i have 14.9 gb left?
    Im really confused and i just need some guidance on how to go about finding this .trashes file and deleting it.
    As you can tell im not too great with technology so any help would be appreciated, thanks.
    apologies if this question isnt in the right place, ive never really used this before.

    i imported all the files in my sd card to my mac and then i did format the card, it says 160kb is used up.
    I also did find files in the trash when i connected the camera to the macbook and deleted them all, there is nothing left in the camera or the trash and it still says 160kb used :/

  • If I use a backup machine that has a folder of my iphoto library, can I delete my Iphoto library without the machine updating and deleting the photos as well?

    Hey everyone, I have a Lacie 1 TB back up machine that I use to backup every once in a while everything I have in my macbook pro.
    I don't know if there's a difference between a hard disk in which you save whatever you want or a back up machine that backs up whatever you have in your computer once you connect it, so, My question is the following:
    Having backed up my Iphoto (I checked if there's a folder in the machine with all my photos), can I now get rid of all my photos in the laptop so there's more space? If I delete my photos (in Iphoto), does the back up machine automatically update its folders and delete my saved iphoto contents as well?
    Thank you!
    I'm doing this because my laptop is running really slow lately and makes a lot of noise (like an airplane getting ready for take off) even though I've used it for a year.
    I use a Macbook pro 15''
    OS X Version 10.8.4
    processor: 2.2 GHz intel core i7
    Memory 8GB 1067 MHz DDR3
    Startup disk : macintosh HD

    Okay:
    Except an arrow turning in circle near the ''wireless'' or ''sound'' symbols on the top of the screen. If I click on it, I see ''enter time machine'', ''back up now'', ''open time machine preferences''.
    You're using Time Machine to back up to the External Disk.
    Back to your first question:
    Having backed up my Iphoto (I checked if there's a folder in the machine with all my photos), can I now get rid of all my photos in the laptop so there's more space?
    No.
    Time Machine keeps a rolling back up of your data. Eventually, anything you delete from your Mac will be deleted from iPhoto too.
    If space is an issue then get another HD. They're not expensice and you can put your iPhoto Library on it.
    Make sure the drive is formatted Mac OS Extended (Journaled)
    1. Quit iPhoto
    2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    Regards
    TD

  • I have a back up of the folder 'iTunes Media' on a Nas (LaCie CloudBox). I do a weekly update. Everything is cool.Now I would  love to keep the folder on the Nas and delete the one on my internal HD. What kind of trouble i may run into?

    I have a back up of the folder 'iTunes Media' on a Nas (LaCie CloudBox).
    I do a weekly update.
    Everything is cool.
    Now I would  love to keep the iTunes Mediafolder on the Nas and delete the one on my internal HD.
    What kind of trouble I may run into?
    Where are the hidden catches?
    What can go wrong, and how can i undo any mistake?
    I also have an iTunes Match acccount.
    Cheers
    rudy

    HI
    Read this user tip Make and keep a backup of your iTunes library, and only stream from the cloud.
    Problems? No hidden catches. Whilst streaming using match, you will need a wifi connection. You main worry is that if your NAS drives fails, you need to redownload your music from match but this could take time depending on how large your collection is. Personally I keep an additional backup of all my music as a matter of course.
    Jim

  • A phantom folder with the name of a folder that held photos has appeared in my finders places list.  I can't choose it to delete it.  it won't move.  It can't be found in a search.  How can I choose it and delete it?

    a phantom folder with the name of a folder that held photos has appeared in my finders>places list.  I can't choose it to delete it.  it won't move.  It can't be found in a search.  How can I choose it and delete it?

    Can you drag it off holding down the CMD key?
    Do a search for it with EasyFind  (try different settings in "Operator")
    http://www.devontechnologies.com/products/freeware/

  • Accessing All Files in a Folder and Deleting Old Files

    My problem is that I have an applet that communicates with a servlet and the servlet stores user designed objects on the server. These objects are piling up and the older ones are no longer useful. What I want to do is have a method in the servlet that periodically scans this folder and deletes files that are over two months old. Any advice on how I could do this is greatly appreciated.
    Thanks!

    I think it's Linux, but I'm not sure. This is for a job that was done a while ago and I'm just revisiting to touch up a few things.

  • Illustrator has not been responding for over a week, I can't open or force quit it. I've already uninstalled, reinstalled, and deleted the preferences folder, but the icon in my dock seems corrupt and is causing the program to not respond and I can't dele

    Illustrator has not been responding for over a week, I can't open or force quit it. I've already uninstalled, reinstalled, and deleted the preferences folder, but the icon in my dock seems corrupt and is causing the program to not respond and I can't delete it.

    Tamara,
    Did you reinstall using the full three step way (otherwise strange things may linger)?
    Uninstall (ticking the box to delete the preferences), run the Cleaner Tool, and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • How do i "Rename (or delete) cookies.sqlite (cookies.sqlite.old) and delete other present cookies files like cookies.sqlite-journal in the Firefox profile folde

    ''locking as a duplicate of https://support.mozilla.org/en-US/questions/1041857''
    i have been getting lots of pop up windows. i did delete my history, cache and cookies, i even uninstalled firefox and installed it again, but the cookies remain. i read a question on your forum and the answer was:"Rename (or delete) cookies.sqlite (cookies.sqlite.old) and delete other present cookies files like cookies.sqlite-journal in the Firefox profile folder..." but how do i do that?

    You can check for recently installed suspicious or unknown extensions.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Do a malware check with several malware scanning programs on the Windows computer.
    Please scan with all programs because each program detects different malware.
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender:<br>http://windows.microsoft.com/en-us/windows/using-defender
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked
    *https://support.mozilla.org/kb/troubleshoot-firefox-issues-caused-malware

  • Is it possible to recover a deleted folder and its contents as opposed to an individual file?

    When I turned on my computer today, a folder located on my desktop is no longer there.  Astounded I could have accidentally deleted it, the folder having been trashed is the only illogical logical possibility I can think of - and is a first for me in my 30 years of Mac use.  My father is in the process of dying and the folder contains all the information coming to me on the subject.  The last backup of this folder is about a week old and much has been added since for which I've no record.
    Not having a master document or table of contents listing what was in the folder leaving me unable to search for and recover individual files/documents by name, my question is this:  Is it possible to recover a "FOLDER", and its contents after that folder has been moved from the desktop to the trash, the trash emptied, and the computer having been shut down?
    If anyone has any ideas of how to recover anything about what items that folder contained, I'd really appreciate whatever thoughts you might have.
    Thanks in advance -
    The computer this folder is missing from is a early 2008 MacPro, running 10.7.5.

    I'm not sure what you can do beyond trying to restrict the types of files you search for. These apps normally have ways to select the file types or to add example files. That allows them to carve out only those types, but you still may end up with GB's of data, especially if the types are somewhat generic. I don't know of any tools that can undo changes to the disk catalog over time.
    I guess you could also search for specific text if you know that these files contained something that is 'almost unique'. Spotlight can do that, or grep, egrep are command line tools that may help ask if you want to go that route, they may help you gather lists to move files around to whittle them down.
    Sorry I can't think of a way around this it's a difficult task at a difficult time. Good luck with it, ask if you think we could help.
    I do wonder if Apples 'Versions' could help?
    OS X Lion: About Auto Save and Versions - Apple Support
    @Tony T1, do you know how to restore files from that system? I think it is part of Time Machine, but the copies are saved locally.
    It is not entirely clear how it works (at least from my memory of Lion) with regards to how you could get files back in this situation. The database should be at the base of the disk in a hidden folder ".DocumentRevisions-V100", but I don't think you can just pull files out of there. Personally I'd consider making a full disk backup before you attempt to restore files. Then you could try the 'Enter Time Machine' UI to see if it can browse back to the older Desktop.

  • My e-mails are being deleted not by me and are not appearing in my deleted folder, how do I sort this?

    my e-mails are disappearing after 1 week, but my deleted folder is empty. I have logged on to my web mail and it says all my folders are empty. No in box, sent or deleted. talktalk helpline was no help at all. can anyone help me?

    first see what your server settings are.
    how do you treat a deleted email.
    second see what your inbox folder settings are
    Do you delete messages older than 14 days?

  • I have 8000  photos in my iPhoto library.  Many are duplicated in the "Pictures" folder in the Finder.  Is there an easy way to detect and delete duplicates in the "Pictures" folder?

    Anyone know how to detect and delete duplicate photo files that exist in the Pictures folder in the Finder that are also in the iPhoto library?

    There's no way to compare the photos in the library with those outside the library.  However, as long as you're running a "managed" library
    You can import batches of the photos, i.e by folder, into the library.  If the photo is already in the library you will be given this notice:
    Check that checkbox and clik on the Don't Import button.  When that folder is finished importing (or not) delete it and go to the next.
    If you need to check for duplicates in the library you can use one of these applications to identify and remove duplicate photos from an iPhoto Library:
    iPhoto Library Manager - $29.95
    Duplicate Cleaner for iPhoto - free
    Duplicate Annihilator - $7.95 - only app able to detect duplicate thumbnail files or faces files when an iPhoto 8 or earlier library has been imported into another.
    PhotoSweeper - $9.95 - This app can search by comparing the image's bitmaps or histograms thus finding duplicates with different file names and dates.
    DeCloner - $19.95 - can find dupicates in iPhoto Libraries or in folders on the HD.
    OT

  • HT4207 "archive" set to "off" and deleted notes still show in the "all mail" folder...

    I have "archive" set to "off" and deleted notes still show up in the "all mail" folder, any solutions?

    Sometimes the Junk Email rule is damaged.  An example of this can be seen here:
    http://support2.microsoft.com/kb/2655142/en-us
    I would try a couple of things:
    Try enabling the Junk Mail Filter, restart outlook, disable it again, and restart.
    Or you may find that the just removing the junk mail rule manually using MFCMAPI may do what you want.
    One last thing to look into...  Does the mailbox do Exchange ActiveSync with a Samsung Android device?  If so check here:
    http://www.slipstick.com/outlook/moves-email-junk-folder/

Maybe you are looking for

  • Need advice on second hard disk configuration/moving folders/...

    Hello everyone! I just bought a second internal 250gig hard disk, because my first one was getting full. As far as I heard it is advised to keep the Logic program and the OS on one disk, and to do all recordings and save all projects on a second disk

  • URGENT Installing Headstart 6.0 on Oracle 8.1.5. for NT

    Hey everyone, We are trying to install Headstart 2.1.2. for Designer 6.0. Including the patches it should all run very smooth. However due to a Forms-bug it doesn't run in combination with a 8.1.5. Database on Windows NT. I contacted Oracle in the Ne

  • Unable to get wi fi working?

    I am unable to get my IPOD touch connected to the WI FI to download apps?

  • File name Encoding

    We have a requirement from our customer for some simple content management. Basically they will get a directory on our server to place pdf files. We then read this folder at runtime and dynamically create a JavaScript tree so that users can view and

  • How to create confirmation pop in process classes

    Hello experts,          I have a requirement to create a Confirmation pop up in a Zprocess -> Z process class-> method. This method is triggering when user selects contract line item and press on change contract button than selects any one process fr