help to compress a file applescript w

Hello

I simple applescript to compress a folder - but it does not work...

When I run - it creates the file zip - but when I unzip - instead of just the zippiest folder and content - it created records in the records of the path as:

Users > me > Desktop > ziptest

and the zippiest folder is empty!

Q: How can I get this to work to make it work as a right-click and archive is in the finder?

------

-zippiest is a folder with a few articles in it

the shell script «zip "/ Users/me/Desktop/test.zip" "/ users/me/Desktop/ziptest»»

Zip has a lot of options (see the manual page).  The -j option stores just the file name, not the directory names.

Tags: Mac OS & System Software

Similar Questions

  • When I use disk cleanup, he says that he does "compress old files". I don't want to compress, I want to get rid of them. How? Thanks for the help.

    How to get rid of "compess old files?

    You can remove the handler to "Compress old files" through the registry. For more information and to use the Fix - It (of Microsoft) tool, check the following URL:

    The disk cleanup tool hangs while it is compressing old files on a Windows XP computer:
    http://support.Microsoft.com/kb/812248
    Ramesh Srinivasan, Microsoft MVP [Windows Desktop Experience]

  • Error: Windows Media Player cannot play the file. The player can not support the Codec that was used to compress the file, MP3 downloads will not play

    Original title: MP3 downloads don't play no not on WMP

    My Windows Media Player recently stopped playing downloads from Amazon. I've never had this problem before. I installed VLC Player, has not worked... off the WMP in the Windows app, restarted, turned on the back and restarted... did not help. I get the message "Windows Media Player cannot play the file. The player may not support the Codec used to compress the file. This is for multiple downloads, so I don't think they would be all corrupted files.

    Hello
     
    Have you done any software or changes to the material on the computer before this problem?
     
    You mentioned that the files do not play on a third-party player as well. I suggest you to check if the files are corrupt.
     
    Method 1:

    How to Download Codecs automatically in Windows Media for Windows XP player

     
    Method 2:

    Resolution of the problems of reading in the Windows Media Player for Windows XP

    Information on the types of media files that supports Windows Media Player

     
    In addition, run the fixit from the link:
     
    Hope the information is useful.
  • During a recent drive clean that I discovered I had 21745 KB of old files compressed - what are compressed old files?

    Original title: what are the old files Compresssed understand?

    During a recent drive clean that I discovered I had 21745 KB of old files compressed - what are compressed old files?

    AND is it OK to delete to free up disk space?

    Hi Janie,
    We need a bit more info here. What you saw and where (or how do you here). XP can compress old files when they were little used. These files must be stored somewhere, and I think that you have found where. Do not delete them. If you went on the cleaning disc in the properties of a hard disk, you see where you can disable this active or disabled, but turn it off takes more space because you don't compress these files more. It can take a long time to turn it off too much because the system must find every file, unzip it save it to the hard drive and do the following. If it runs out of disk space free of it, it will stop and make either but then your hard drive will be very close to full and your entire system will slow down (it takes a good amount of HD to 'play'.

    Looks like you need more disk space. Get another drive (expensive) or go to disk cleanup and try to compress the entire drive. It will take a lot of time, maybe hours or overnight depending on the working speed and the player. But it's free. Overnight is best. I think you can stop it (read the help on this). Do not turn It Off during the race. Bad move.

    Something not clear, go back and ask.

  • Error "Windows Media Player cannot play the file. The player might not support the file type or does not support the codec used to compress the file' when try to play wav or midi files.

    Original title: WMP "can't play wav or midi.

    Using WMP 11 on Windows XP SP3.

    Windows Media Player has somehow forgotten how to play wav or midi files. Doubleclicking either of these file types give an error "Windows Media Player cannot play the file. The player might not support the file type or does not support the codec used to compress the file. " There is a button 'Close' and 'Web Help' which still informs me, "you met the C00D1199 error message... ". ». Following the advice given nothing less than useful.

    I can easily play these files with RealPlayer or VLC so I don't think it's a driver problem, and it wasn't a corruption right after installing the other players. WMP seems to work OK when playing music or AVI. And there is no harm to hear a sound (wav or midi) in Windows for various system events. Have already uninstalled/reinstalled WMP without result.

    Thanks for your reply.

    I have since determeined the problem comes from an updated codec package I installed a few weeks ago. These codecs were from Shark007 which I believe is a Microsoft MVP. Use the codecs from this site for a number of years without any problems so I did not initially suspect it was the source of the problem. I uninstalled the codec pack and installed K-light package and everything seems to be Ok now. Now, I'll be in contact with the members of this forum.

  • When running Disk Cleanup, it does not remove anything to "Compress Old Files'.

    When I run my disk cleanup, it does not remove anything to "Compress Old Files' during cleaning.» Why not? I also need more disk space to defragment and I deleted all the programs that I don't use, but is not yet give me enough disk space.

    Compress old files not removes all files, compress files that are rarely or seldom used.

    If you get the low disk space, less than 15-20% free space, then you need to collect as much space as possible. However, the amount you get will not be a solution, only a temporary fix - it that.

    To add or remove programs and Windows components in Control Panel, you can uninstall programs as your plue no use - if you have. Not to be far uninstalling programs, you do not recognize, many elements are required for other programs work properly.

    Uninstall or change a program
     http://Windows.Microsoft.com/en-us/Windows7/uninstall-or-change-a-program

    You can also check to see how much space is reserved for the restoration of the system; by default, many GBs are usually reserved. Also disable hibernation as the file created can be 2-3 GB, sometimes even more.

    You must also consider moving your files and folders on a removable media, such as DVDs or an external hard drive. Still a great flash drive with 4 + GB of space can help, and their prices are reasonable these days.

    In addition to Disk Cleaner, you can consider running CCleaner. This is a free program that will remove the unnecessary and temporary files temporary Internet files of the most popular and many browsers other caches that can be cleaned safely.

    Since you are using Windows XP, there is a setting in CCleaner to remove the uninstallers of patches; These are the Windows Update files you've downloaded and installed over time and are there if you ever want to uninstall the update. But you can save these CD/DVD and then remove them safely from your system to recover the space. If you have ever removed one of these, you may be able to get beyond 1 GB of space.

    CCleaner
     http://www.Piriform.com/CCleaner

    If you decide to try it, by default, that almost everything in Windows Applications and is verified to be cleaned. You must first review the lists (they are compiled by what you have installed) and check/uncheck accordingly.

    Then click on analyze to see what will be removed (nothing is deleted when you click Analyze); When the scan is finished you can double-click on (or right click and select view detailed results) of the entries in the list to get more information.

    According to the detailed results, you can right click for options such as adding to the list of exclusions if you want the deleted item.

    Once that you are completely comfortable with your selections, you can click the run Cleaner button and then OK to put warn before vacuuming will run.

    CCleaner is also a registry cleaner that I don't recommend that you use - even if you have successfully run a registry cleaner in the past, it is quite possible that the next time will bring serious problems; they are not worth the risk...

    TechRepublic has just published this article about CCleaner:
    5 tips for using Ccleaner for degunk your system

    http://www.TechRepublic.com/blog/five-tips/five-tips-for-using-CCleaner-to-degunk-your-system/767?tag=nl.E101

    CNET editor's review:

    http://download.CNET.com/CCleaner/

    I know that this was not the miracle that you can have hoped, but personally recommended solution is a new, larger hard drive. In the case of desktop computers, an additional hard disk is useful for your personal files, especially for music, movies, photos and more.

    I hope this helps.

  • Windows Home Xp 2002 has compressed my files to free up space, I need to recover these files, how do I do this please?

    How can I recover the files that windows has compressed to free up space on the disk?

    Hi Mickmen,

    ·         How do compress you files?

    ·         Have you used a third-party software to do?

    ·         Y what were you not able to access these files?

    Method 1: If it's just a file that is compressed using Windows then check to see if the following helps you.

    a. right click on the file and select Properties.

    b. click Advanced on the general tab.

    c. Uncheck Compress contents to save disk space.

    d. click Ok.

    Method 2: Check to see if this article helps you if it's an entire volume that is compressed.

    The use of the Compression of files in Windows XP

    Note: You should uncheck the option Compress contents to save disk space .

  • Cleaning disc utility compress old files

    When I run the disk cleanup utility, I get 2 729 332 in "Compress old files". I run what it quite frequently and it is still a very large size listed. Is this OK and can only be ignored or are there steps I can take to get rid of old files. I do not know how to find out what old files they reference, so I don't know if I need it or not. Any help would be appreciated. Thank you.

    The disk cleanup utility will prompt to compress files that you have not accessed recently. If you click on this entry and press the Options button, you should see a dialog box where you can set the number of days that must pass before a file compress is compressed. File compression is designed to save space on your hard drive. None of the files in this category will be deleted.

    File compression comes with a cost in performance. If you want to access one of these files must be decompressed before their opening. For this reason, unless you're in a hurry for hard drive space, it's an option you can leave unchecked.

    Another response of the community of Windows XP newsgroups

  • Under disk cleanup, there is an option to compress old files

    Under disk cleanup, there is an option to compress old files.  Office folklore says that problems come from compressing the files.  Mythology like that change slowly and often does not upward with the reality.  What is the current conventional wisdom on all dangers associated with compressing files?

    Personally, I don't compress files and probably never - if necessary, I'll just get a bigger hard drive (or another hard drive or an external hard drive).  As long as compress you only the correct files (not your files start or something like that), I guess it is quite - safe, but they take longer to open - not much, but some and depends on the size (they need to decompress) practice is always a risk, when something like this as a form of bribery occurs (which is us back to the old mythology (, but the risk is generally considered a minimum and I do not want to exaggerate - but there are).

    Opinions vary among experts and you'll get to the other end of the spectrum.  Some will tell you it is perfectly safe and a good way to save space on your hard drive.  Others take a middle path, and say that they are not positive, but think it's safe, but acknowledge that there are exceptions.  You can see some reactions like the one posted here.  As I said, I personally willnever do (with the exception of some files can I compress for e-mail or because he is great and I expect never to need again, or for other reasons - but they would have been individually selected and completed for a purpose {and using a different program]).  I mean I would never use the option of the files old drive generic cleanup compress to do a little overall with no individual selection (and when I do it with an individual file, it is rare - I probably didn't do so in more than a month - and to be perfectly honest, when I compress a file to send by e-mail I have everything first make a copy and compress the copy and keep the original uncompressed).  I have also seen here situations where people have compressed their files to start with virtually everything else, and this caused them a lot of grief - this isn't an easy repair process and the system does not boot with compressed files (I don't know how they did it-I just saw the messages, but no unread discussions - but if there is no chance that the compression of disk cleanup) been involved (and I'm not, but I did not read how it happened and so I guess it's possible), then it's just another reason for me to stay away).  As you probably now, I don't really have confidence the process (maybe I still have some as old folklore Office in me as I've been around when firstly, he came out and got all these problems) and would rather spend the money on a large or second hard drive what to compress my old files.  I prefer not to take any chance that I don't have in my data which are valuable for me.

    The process is availalble and is generally considered reasonably safe when used properly - but not a lot of experts I know do.  It is MUCH safer than when it came out.  When suggest us ways to save space on the drives for those who have little space and do not want to upgrade or get a new one, it is rare to see someone suggest compression as one of the options (I never do).  We suggest many other alternatives, but I never see this option underlined or specifically suggested (although it may be included as an option in the process we propose you like disk cleanup - and I don't specifically discourage its use is if you heard what I'd say if specifically requested).

    In the end, the decision is yours.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Only able to compress the file 14 KB, why?

    I want to compress a Word Document using Windows Vista Zip and compress file folder of 34 MB to 22 MB, but I have only 14 KB of memory of zip. What I am doing wrong?

    Hello


    There is no option to customize the size of the zip file in Windows Vista. To compress the file to the size you mentioned, you will need to download a zip program to third parties using your favorite search engine.
     
    Important:

    With the help of third-party software or a link, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third party software or link can be resolved. Using third-party software or a link is at your own risk.
     
    See the bottom of the article for more information about zip files in Windows Vista.
     
    Hope the information is useful.
  • Windows media player.cannot play theplayer file does not support the file type or might not support the codec used to compress the file

    Windows media player

    HI. When I tried to play a movie in my windows media player.it says windows media player.cannot play theplayer file does not support the file type or does not support the codec that was used to compress the file and when I click web help it lead me to windows media player error message help.you met c00d1199 error message when you use windows media player.

    Hello

    ·         What is the format of the files that you play when you get this error?

    ·         Do you get what this error during playback of all files or a particular file?

    You may encounter this error message for the following reasons:

    1. the file type is supported by the drive, but the file was compressed by using a codec that is not supported by the player.

    2 - the file might have been encoded with a codec that is not supported by Windows Media Player. If this is the case, Windows Media Player cannot play the file.

    You can try the steps and check if it makes a difference.

    a. to determine what codec was used with a specific file, play the file in the player, if possible. When the file is playing, right-click the file in the library, and then click Properties. On the file tab, look at the sections of video codec and Audio codec.

    b. download and install Codecs by clicking on the PLAYER tab and check. To connect to the Internet and automatically download the Codecs of the reader.

  • Windows Media Player is unable to read the file. The player might not support the file type or does not support the codec used to compress the file.

    original title: Media Player

    Windows Media Player cannot play the file. The player might not support the file type or does not support the codec used to compress the file. Need help trying to download music to my media and play, but he used... Someone help me find what kind of support I need for her... IM using kick * torrents to download music

    Hello

    you ask for problems downloading music through torrents like this is a good way to pick up malware

    You can try the 3rd party Codecs.

    http://www.SnapFiles.com/get/k-Lite-full.html

    for music issues repost in the Sub forum.

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-sound?page=1&tab=all

  • Get the message: "You must use this file" when trying to compress the files saved on the desktop

    Original title: to compress my files that I have saved on my desktop.

    I get this error after I do a right-click and "send to" compress a file...

    "you must use this folder.

    So, what should I do?

    Hi thegardengrand,

    This happens usually if all files in the folder or the folder is used by all programs that are running in windows.

    You can check if it is used by another program, then that and close then try to zip.

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Windows Media Player does not support the codec used to compress the file.

    I can't do some of my videos to play it goes on to say that Windows media player does not support the codec used to compress the file. How can I fix?

    Hello

    What is the file format of the video files you are trying to play in Windows Media Player?

    Windows Media Player cannot play the file. The player might not support the file type or does not support the codec used to compress the file.

     

    You may encounter this error message for the following reasons:

    (a) the file type is supported by the drive, but the file was compressed by using a codec that is not supported by the player.

    (b) the file might have been encoded with a codec that is not supported by Windows Media Player. If this is the case, Windows Media Player cannot play the file.

    Windows media player will play only the files and videos only if it supports this type of file.

    Please see the bottom of the article that gives you information on the types of media files that supports Windows Media Player.

    http://support.Microsoft.com/kb/316992

    If the files are not supported by Windows media player, then you will need to use a few players from third party that supports this file format.

    WARNING OF THIRD PARTY SOFTWARE

    Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    See the link below for more information on the codec.

    Codecs: Frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/codecs-frequently-asked-questions

    Aziz Nadeem - Microsoft Support
    [If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]

  • Error when you try to play the downloaded tracks: Windows Media Player cannot play the file. The player might not support the file type or does not support the codec used to compress the file.

    Windows Media Player cannot play the file. The player might not support the file type or does not support the codec used to compress the file. (((PLEASE HELP)))

    I understand that this has been a matter of repetition and I made the suggestions listed and nothing works. This just started happening, although downloading songs, and once they are finished I'm not able to play them with Windows Media Player. The initial message indicates that the file has an extension that is not recognized by Windows Media Player.


    I have a Dell Inspiron Laptop with Windows Vista Home. Any suggestions? What should I chahnge how I download and save music?

    Hey Taylor09,

    You may find that you are getting this message in Windows Media Player due to one of the following reasons.

    a. you try to play a file that is not supported by the player.

    b. you are trying to play a file that the player does not support, but the file was compressed by using a codec that is not supported by the player.

    Step 1:

    Confirm that you are trying to play a supported file type. The following article lists the types of files (formats) supported by Windows Media Player.

    Information on the types of media files that supports Windows Media Player

    Note that if you tried to play the file type is included in this table, the file might have been encoded with a codec that is not supported by Windows Media Player. If this is the case, Windows Media Player cannot play the file.

    Step 2:

    Download the necessary codec to play the file.

    For more information of Codec, see: Codecs: frequently asked questions

    Kind regards

    Shinmila H - Microsoft Support

    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for