How to change File Kind (not "how to assign an application to open a file?)

I build the toc.ncx file (part of the ePub setup) automatically, based on user input and source file content. It's fine, except that the file Kind (as shown in Finder Preview, for example) is Plain Text.
The Kind should be Unix Executable File (the actual description is "zmedia-type="application/x-dtbncx+xml") in order for the file to function correctly with the rest of the ePub generation.
I could set the file Kind in the program (I think!), except that I do not know what the code for such a Kind is.
Can you help?
Message was edited by: David Neale1
Message was edited by: David Neale1

To make the file a Unix executable can be done as follows:
Open the Terminal application in the Utilities folder and enter the following:
sudo chmod 755 /pathto/filename
Press RETURN. Enter your admin password at the prompt; it will not be echoed. Alternatively put a space after "755" then drag the file's icon into the Terminal window.
If you want the Unix icon simply set the file's default application to Terminal by selecting the file then Press COMMAND-I to open the Get Info window. Change the default application in the Open With section. If you want all .ncx files the same way then click on the Change All button.

Similar Messages

  • How to change media kind to book?

    i have downloaded a music album
    there's a digital booklet
    and i search on google, if i want see that in my ipod i need to change media kind to book
    when i want to change media kind, there is not optional for book, just music, movies, itunes u, podcast and audiobook
    so i confused how to change media kind to book but there's not any option about book....
    thank you
    itunes 11.3

    You posted to the wrong forum.    I've asked this be moved.  iBook in Notebook forum refers to Apple's pre-2007 consumer notebook.  Since I don't use the eBooks Apple sells, someone else in the correct forum should answer when this thread gets moved to:
    iBooks for iOS

  • How to change the default date in Person assignment tab?

    Hi experts,
    Does anyone know how to change the default date in person assignment tab in cj20n? Currently, the system always take the scheduled finish date to the date of the person assignment tab. Can I change it to the start date?
    Thanks and rgs,
    Michelle

    Hi Michelle,
    Goto SPRO->Project system->Dates->Scheduling->Specify Parameters for Network Scheduling, Here you can control the workforce planning dates.
    Hope this is useful...
    Regards
    Aatish

  • How to change the portal user id 's assigned employee in ESS configuration

    Hello Gurus,
        I now have a question related to ESS configuration. I want to know how to change the Portal user's pernr assignment in the ECC 6.0 system. Somebody had actually assigned my portal user ID a PERNR in the ECC 6.0 system. But now, for test purposes, I want to change the PERNR assignment to something else for my portal user id.
    Could any of you please guide me in doing these steps?
    Points will definitely be awarded for helpful answers.
    Thanks gurus in advance for your help.
    ~~LB

    Hi Leena,
    You can create a new user name with the username and password assigned to it, with the transaction SU01.
    Ex : ESS_USER1
    Go to transaction code : PA30.
    Enter the pernr you want to assign to the user ESS_USER1 that you have created earlier.
    Enter infotype number : 105
    Now go ahead and click on the change button.
    And assign the user name as ESS_USER1.
    Then the pernr number will be assigned to the ESS_USER1 that you have created.
    You can check the same when you go to the HRUSER transaction code.
    Please let me know if you still have any issues on the same.
    Cheers.
    Sandeep

  • We're sorry, but this file is not a valid filetype. GIF, JPEG and PDF files are accepted. Please try again. this is the message its shows when i upload proper format. i do not whom i should ..........

    We're sorry, but this file is not a valid filetype. GIF, JPEG and PDF files are accepted. Please try again.
    We're sorry, but this file is not a valid filetype. GIF, JPEG and PDF files are accepted. Please try again.
    We're sorry, but this file is not a valid filetype. GIF, JPEG and PDF files are accepted. Please try again.
    We're sorry, but this file is not a valid filetype. GIF, JPEG and PDF files are accepted. Please try again.
    We're sorry, but this file is not a valid filetype. GIF, JPEG and PDF files are accepted. Please try again.
    We're sorry, but this file is not a valid filetype. GIF, JPEG and PDF files are accepted. Please try again.
    We're sorry, but this file is not a valid filetype. GIF, JPEG and PDF files are accepted. Please try again.We're sorry, but this file is not a valid filetype. GIF, JPEG and PDF files are accepted. Please try again.

    I got uploaded after many ways. Just logged in windows PC and opened Internet explorer and uploaded it worked.

  • My recipient is getting response that the file I sent is not available or they are unable to open any files that I send.

    My recipient is getting response that the file I sent is not available or they are unable to open any files that I send.  I did not have this problem in the previous version of Adobe Send.

    Thanks for replying.
    If he's reading the email in Outlook, that shouldn't break up the links.
    Do you know: is your recipient clicking on the View File button or the URL link?
    Lastly, if the file you're sending is not confidential, would you mind sharing it with me so that I can try to reproduce your recipient's issue? I will send you my email address privately.

  • I am having issues with trying to update safari.  It keeps saying, "Safari can't open the file "Safari_Updater-2.exe" because no available application can open it.

    I am having problems with trying to update safari and this keeps popping up, Safari can’t open the file “Safari_Updater-2.exe” because no available application can open it.  Also, I have a bunch of pops and I have my pop up blocker on but I keep having pop ups. 

    The info below should help with your pop-up issue.
    Check the links below for options to remove the Adware
    Easy method: http://www.adwaremedic.com/index.php
    Somewhat more difficult method: Remove unwanted adware that displays pop-up ads and graphics on your Mac - Apple Support
    And, read this article below to see how the Adware arrived on your computer.
    How to install adware
    The Safari update can be found at The App Store updates section. Where are you obtaining the file?

  • I tried opening my Mac files to windows by using Macdriver 8, however upon opening the file my previous mac folders were converted to windows shortcuts and upon returning to my mac pc, all my folders has a .lnk file extension which I cannot open.

    I tried opening my Mac files to windows by using Macdriver 8, however upon opening the file my previous mac folders were converted to windows shortcuts and upon returning to my mac pc, all my folders has a .lnk file extension which I cannot open. Need help very badly since the hard drive I use is the only back up I have for my very old pics. Thank you...

    Backup with cloning software your HD to have an exact copy of it as it is.
    Use this methodology to recover your partition.
    Have fun,
    Leo

  • Hi. Do you know a free (or cheap) application to open .pcx files under Mac Os X 10.7.3? Thanks!

    Hi. Do you know a free (or cheap) application to open .pcx files under Mac Os X 10.7.3? Thanks!

    Look at this:
    http://www.neooffice.org/neojava/en/index.php

  • Cannot launch application to open a file from jdev extension

    Hello:
    I use the following code to let my application to open a file:
    String[] cmd = new String[3];
    cmd[0] = "cmd.exe" ;
    cmd[1] = "/C" ;
    cmd[2] = "myfile.pdf;
    Process p = Runtime.getRuntime().exec(cmd);
    p.waitFor();
    It worked fine if it was in a main method running in jdev. However, my application is a jdev client launched by clicking run/debug extension on project icon. When that part of code was executed, I didn't see the file got opened. No cmd.exe process got created either. I am wondering if I need to do something more to make it work. (I did enable "allow program input" in Tool Settings in Run/Debug/Profile of the project property).
    Anyone who knows this may offer some help/hint?
    Thanks.

    Hi there
    Perhaps this trick will help.
    Do the file browse thing where it appears to lock up.
    Press Alt+Spacebar and release both keys.
    Presss M. (selects the Move command)
    Press any arrow key.
    Wiggle the mouse around a little and see if the window pops into view.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • How To Change FONTS in NOTES

    Really does anyone know how to change the Font in NOTES? I have not seen a resolve in the discussions

    Hey folks there is a simple way to enlarge your fonts in notes... Go to SETTINGS on your iPad, then GENERAL, scan down at the bottom to ACCESSIBILTY, then LARGE TEXT. Select your text size and you're done.
    Re-open Notes and you will see the change.  Have fun with it!!
    Jae

  • IPhoto library file kind not correct

    Hi, my iPhoto library works fine when opening etc., but ive noticed that for some reason it is not showing the new palm tree picture as an icon - probably because the file kind is "package" rather than "iPhoto Library". Im sure it updated to the new iphoto 11 (ver 9) format when I first opened it in the upgrade, but even though it all works fine - it worries me that it doesnt seem to be fully converted. I checked the package contents and compared to another (correctly displaying) library and they look identical bar for the fact it is missing the PkgInfo file in the contents folder. Is this significant?
    Can some one suggest how to correct the file kind so it displays correctly!?
    Many Thanks,
    Rich.

    Try one more thing: make a temporary, backup copy (if you don't already have a backup copy) of the library and apply the two fixes below in order as needed:
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Select the options identified in the screenshot. 
    Check to see if the library's icon has returned.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    Download iPhoto Library Manager and launch.
    Click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option
    In the next  window name the new library and select the location you want it to be placed.
    Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    Check the icon again.

  • How do I set Adobe Flash Player as the default program to open SWF files?

    Basic Overview
    I have this working fine at my home laptop, however I need this working for projects at school.
    Whenever I want to open an SWF file at home, I simply double click it and open it in Adobe Flash Player (Adobe Flash Player 10.0 r22) and I have no problems!
    However, when I am at school I have to run SWF files within Internet Explorer, Adobe Flash Player IS installed, but the SWF files are not opened in that directly, they are opened within Internet Explorer.
    At Home
    If I right click an SWF file at home and select "Open With" and then "Choose Default Program...", Adobe Flash Player is already there under the name 'Adobe Flash Player 10.0 r22', so I can simply select it as the default. (On my home laptop)
    At School
    At school if go to "Open With" and then "Choose Default Program...", Adobe Flash Player IS NOT there, only Internet Explorer and some other programs in the other programs box. (On my school laptop)
    Question
    How can I assign Adobe Flash Player as the default program for opening SWF files (on my school laptop)? If I select "Browse..." and go to C:\WINDOWS\System32\Macromed\Flash there is no file with a description of 'Adobe Flash Player 10.0 r22', is the file for the actual program located somewhere else or have I just no looked properly in the folder?
    I really need these files opening in Adobe Flash Player directly and not in Internet Explorer (I know you can set the view to 100% and have it sized correctly)
    Thanks you to everyone who helps!
    -Charlie! (Yes I know I don't need to write this in a forum)

    The standard Flash Player is a browser add-on, and not a standalone player.  So what actually opens when you open an SWF file at home?  Flash Player Projector?
    If so, you also need to download it at your school, from http://www.adobe.com/support/flashplayer/downloads.html, then do the file association.

  • How do i download and e-mail from a zip drive without opening the file

    How do I download and e-mail data from a zip drive without opening the file?

    Hi.
    If you have a Zip drive, you can handle the file as you would any other file. Copy and paste.  Drag and drop. Select and attach as an email attachment.
    Zip drive data discs came in two capacities, 100MB and 250MB. So the largest files would not exceed those capacities, depending on the media from which they are pulled.
    The trick, I should think, would be finding a working drive that can read the media... and hope that media is not corrupted. Zip media was notorious for failing.
    I hope this helps.

  • Since upgrading to Lion, applications are opening multiple files, how do I stop that?

    When I open pretty much ANY file, the application for that file will open not only the intended file, but also between one and three previously opened files.  Not sure how to stop that.  Once I've opened the file (and the unintended files), any other files I open for that application open normally with no additionallly opened files.  However, if I close the entire application and try opening just one file again, it will recur.  I've looked in preferences for the offending applications, to no avail, and also in system preferences.  This never happened with previous version of the OS, and only just started after I upgraded first to snow leopard and then to lion.  This software behavior is quite annoying, especially with files that have been moved elsewhere, which tends to make the application hang instead of opening the intended file.

    It's the Resume feature of Lion:
    Managing Mac OS X Lion's application resume feature.
    If you shutdown your computer you should get a dialog asking if you want applications to resume on the next startup. Simply uncheck the box to prevent that from occurring. Open General preferences and uncheck the option to Restore windows when quitting and re-opening apps. You can also install a third-party utility to control resume features on individual applications: RestoreMeNot or Application State Cleaner.

Maybe you are looking for

  • Not able to get the handle of picklist which exists in the advanced table

    Hi all, I have a pick list called usageName in the advanced table when i am trying handle that picklst it is not giving me the correct value. The valuess in the pick are 1)MFP Scan 2)MFP B&W,Copy,Scan 3)MFP B&W and Colour 4)Fixed 5)MFP B&W, Colour, S

  • Is it possible to use the ram from a macbook in a iMac?

    I am installing new ram on my Early 2011 Macbook Pro (2.3 Ghz., 13 inch, os x 10.9.4). Can I install the old ram from my Macbook Pro into a Mid-2011 iMac(2.7 Ghz., 27 inch, os x 10.9.4)? These links show the ram specs, and they look identical to me.

  • Reg the selection screen value request

    i am writing this code for getting corresponding material no for the plant which i giving in the selection-screen . parameter : WERKS type marc-werks,             matnr type marc-matnr. data : begin of itab occurs 0,        matnr like marc-matnr,    

  • How to Set Taskbar Icon in Windows 10?

    I have installed windows 10 preview version and try to develop apps on it. I use SendMessage(hwnd, WM_SETICON, ICON_SMALL, myicon); to change the application icon before win 8.1. But I found that the icon in taskbar is no longer the same as that of w

  • Total ink illustrator

    I'd love to open a discussion about ways to work - specifically for print - in illustrator, photoshop and indesign. I currently use photoshop for photography, illustrator for advert design and indesign for layout.  The problem I've got is that illust