Xlsm extension problem

Hi,
files having .xlsm extansion cant be opened through portal km. When it's clicked to open, dialog window shows the file as xlsx although it's xlsm (macro enabled Excel file). Any idea?

Hello Ilker,
You first need to make sure you have the appropriate MIME type defined for xlsm files under System Administration -> System Configuration -> Knnowladge Management -> Content Management -> Utilities -> MIME Types. It should be application/vnd.ms-excel.sheet.macroenabled.12
Afterwards go to System Administration -> System Configuration -> Knowladge Management -> Content Management -> Utilities -> Icons and create a new configuration for the types "xlsm", the icon should be the same as standard "xls" files:
Name: application_vnd.ms-excel.sheet.macroEnabled.12
Image: spreadsheet.gif
Mime type: application/vnd.ms-excel.sheet.macroenabled.12
Then go to: Visual Administrator -> Global Configuration -> Server -> HTTP provider -> Never Compressed and add ",*.xlsm
,application/vnd.ms-excel.sheet.macroenabled.12" to the end of the line.
Afterwards press "Update" button and "Save Properties" button, engine restart is required.
You will then need to upload the xlsm file to the portal again so that it gets the correct MIME type, you can view this in the details -> settings -> properties screen of the document, any file that has the MIME type "application/octet-stream" is incorrect and will need to be uploaded again.
Regards,
Lorcan.

Similar Messages

  • Console Extension Problem

    It seems like exception occurs due to WLS console extension problem. I
    captured the errors and attaching it here.
    The application is working fine on WLS 8.1, the exception occurs only when i deploy
    the application on WLS 7.0. The application components are extending administration
    console and displaying there. During this time, it is trying to invoke servlet(ServletStupImpl)
    and failing over there.
    Please check the attached file and reply me ASAP.
    Regards
    Senthil
    [Console Extension error.txt]

    What is the the platform the server is running on, and what browser you are using when the problem occurs?
    Are there any exceptions in the Java console for the applet?

  • Facelets and jsf-extensions problem.

    I'm fairly certain I've run into a problem between facelets and jsf-extensions. I'm working with JSF 1.2 RI, Woodstock, Facelets 1.1.13, on Tomcat 6.
    When trying to get Woodstock autoValidation to work I get a javascript error the "I has no properties". The error occurs in the com_sun_faces_ajax.js file in the jsf-extensions-dynamic-faces-0.1.jar (I've used both the RC4 and a build today ,10/18/07 from source with the same results). Here is the code snippet where it happens (with my comment).
    var I = G.getElementsByTagName("components")[0];
    var C = I.getElementsByTagName("render");
    for(var F = 0; F < C.length; F++) {
    In the second line there it looks like the variable I is null, but based on the post response below I don't know why.
    The response from the post looks like this:
    <partial-response><components><render id="PayableForm:vendorGci"><markup><![CDATA[{"valid":true,"id":"PayableForm:vendorGci"}]]></markup></render></components>
    However the server side code (validation method) never gets executed. I'm willing to do some digging and debug work, but I'd need to be pointed in the right direction.
    The following is more potentially useful code snippets.
    Here is the textField code:
    <w:form id="PayableForm">
    <w:textField style="display:none;" />
    <w:message for="vendorGci" />
    <w:label id="vendorGciLabel" for="vendorGci" text="Vendor: " />
    <w:textField id="vendorGci" autoValidate="true"
    text="${vendorBean.searchGci}" maxlength="8" required="true"
    validatorExpression="#{ vendorBean.validateVendor}" />
    Here is the javascript in the page (the init function is called from the body: onLoad="setTimeout('init();', 0);" , this does happen):
    <w:script type="text/javascript">
    function VendorListener(){
    function VendorNotify(props){
    alert("VendorNotify called!"); <--------------- I never see this alert message
    if ( props.id != "PayableForm:vendorGci") { return; }
    var field = document.getElementById("PayableForm:vendorGciLabel");
    field.setProps({
    valid: props.valid
    VendorListener.prototype.notify = VendorNotify;
    function initAccountRows(){
    var table = document.getElementById("PayableForm:vendorAccountTable");
    table.initAllRows();
    function init(){
    initAccountRows();
    var listener = new VendorListener();
    dojo.subscribe(
    webui.suntheme.widget.textField.event.validation.endTopic ,
    listener, listener.notify);
    Here is the validator method. It currently doesn't do anything, just trying to get something to work. I never see the output, and I never hit the breakpoint in the method.
    public void validateVendor(FacesContext context, UIComponent comp, Object value){
    System.out.println("**********************************");
    System.out.println("validateVendor called");
    System.out.println(value);
    System.out.println("**********************************");
    }

    Actually I don't need a global variable. I need to refer in my included template the actual backing bean used in the current page. As all my backing bean extends a abstract class I could bind my component to a property of the current backing bean, no matters which one. Just like a polymorphic call but without the parameter. Let's imagine I could get this object of the facesContext object I would be able to do:
    <rich:datascroller renderIfSinglePage="false" align="right" for="listagem" maxPages="12" fastStep="10"
    pageIndexVar="pageIndex" pagesVar="pages" stepControls="show" fastControls="hide" boundaryControls="show"
    inactiveStyleClass="paginacaoInativa" selectedStyleClass="paginacaoSelecionada"
    styleClass="paginacao" tableStyleClass="paginacaoTabela"
    binding="#{facesContext.currentBackingbean.formDataScroller}" id="paginacao">
    Instead of pass the backing bean to the ui:param of this template... Dou you get the point?

  • Error while saving Work book with XLSM extension

    Hi All,
    While i saving workbook in excel 2007 with extension XLSM,
    Its not allowed.How i can proceed with this.
    I am using SAP BI 7.0
    please let me know what i need to do.
    Krishna

    Ensure that you have not opened any excel file or text file with similar name.
    thanks
    G. Lakshmipathi

  • JAX RPC extension: Problem with document/literal and MyType[]

    Hi,
    I have installed the JAX RPC extension and want to generate a stub from my WSDL file. The WSDL describes a document/literal binding.
    Problem:
    A webservice server method like:
    public wineshop.model.common.SimpleProducer[] getSimpleProducerList() throws RemoteException;
    is translated into a stub method like:
    public UnknownType getSimpleProducerList() throws Exception {..}
    Is an array of own types with the binding style "document/literal" not supported in JAX RPC 1.4 or is it just a bug?
    The WSDL file is generated by JAX RPC 1.4.
    I have installed JWSDP-1.5 and generated a stub with wscompile from the WSDL file. The generated stub has the correct method return type:
    public wineshop.ws.client.SimpleProducer[] getSimpleProducerList()
    throws java.rmi.RemoteException
    It there a workaround like replacing some JDev JARs with JWSDP-1.5 to solve the problem?
    Any hints are welcome.
    Thanks Markus

    repost.....

  • ACE20 and TLSv1.0 extensions problem

    Hi,
    I have a problem with an ACE20 running software version A2(2.3) [build 3.0(0)A2(2.3)].
    We have a simple load-balancing arrangement for two Apache webservers. All we do is pass HTTP and HTTPS traffic through to one of two servers. we don't do SSL termination or initiation on the ACE - just passthrough.
    We now have a requirement to support connections that only use TLSv1.0 with no fallback to SSLv3. If I use IE8 the connection works. If I use IE9 or FF19 then the connection fails. I've traced this to the use of TLS extensions in the ClientHello packet - which came after the TLSv1.0 RFC. IE8 doesn't send extensions whereas the other browsers do.  I can replicate the problem with the OpenSSL s_client application. What surprises me is that the ACE checks the structure of the TLS negotiation even though I'm not asking it to make decisions about it. I can see why this would be done as a security feature if the ACE implemented a strict RFC2246-compliant server - the extensions having bee added post-RFC.
    Is there any way to tell the ACE to forward SSL packets and not worry too much about the contents? I've checked all the Release notes and can't find any relevant caveats.
    Thank you
    Cathy

    Hi Ajay,
    Disabling normalization made no difference. I thought it might help, but I think it only looks at the gross structure of the packets and doesn't worry about RFC2246 compliance.
    The relevant parts of the configuration are shown below:
    rserver host web-web1
      ip address a.b.c.d
      inservice
    rserver host web-web2
      ip address a.b.c.e
      inservice
    serverfarm host FARM-web2
      rserver web-web1
        inservice
      rserver web-web2
        inservice
    sticky ip-netmask 255.255.255.255 address source FARM-web2-Sticky
      timeout 99
      replicate sticky
      serverfarm FARM-web2 backup FARM-sorry
    class-map match-any L4VIPCLASS
      2 match virtual-address x.y.z.t tcp eq www
      3 match virtual-address x.y.z.t tcp eq https
      6 match virtual-address x.y.z.t tcp eq 81
    policy-map type loadbalance first-match LB-POLICY
      class class-default
        sticky-serverfarm FARM-web2-Sticky
    policy-map multi-match L4POLICY
      class L4VIPCLASS
        loadbalance vip inservice
        loadbalance policy LB-POLICY
        loadbalance vip icmp-reply active
        loadbalance vip advertise
    service-policy input L4POLICY
    As you see, the configuration is about as simple as it can be.
    Kind Regards
    Cathy

  • JSP Tag extensions problem

    Hi there,In WLS 6.0 i am encountering a problem in using a JSP expression as a value to a custom tag's attribute. I've specified RTEXPRAL to be TRUE in the TLD. But still the tag is not being evaluated at all. But if i repalce the JSP expression with a hard coded value then everything seems to work perfectly fine. Is it that i have to enclose the JSP expression within double or single quotes?
              

    <%@ taglib uri="lib/esjsp.jar" prefix="es" %>
    <%@ taglib uri="pz.tld" prefix="pz" %>
    <%@ taglib uri="cm.tld" prefix="cm" %>The .tld files are the Tag Library Descriptors for JSP 1.1 tags. The .jar file
    is for a "pre-JSP1.1" Weblogic proprietary tag library extension. Weblogic
    Server looks for the older taglib jar files under the lib directory that is
    relative to the directory where the weblogic.properties file is located. If you
    start your Weblogic Commerce Server from a directory other than your default
    directory, then copy the following jar files to a lib directory under that new
    directory:
    esportal.jar
    pt_admin.jar
    esjsp.jar
    um_tags.jar
    wljsp.jar
    This will be fixed in a future release.
    Ture Hoefner
    BEA Systems, Inc.
    1655 Walnut Street; suite 200
    Boulder, CO 80302
    www.beasys.com

  • AM extension:Problem in Lov.

    Hi Experts,
    I did an extension for the Main AM of the page..After get extended except Lov's Everthing is working fine.
    Please let me know whats the problem for lov's after extend the AM.
    is there any solution to resolve this.
    Thanks
    Bharat Hegde

    Bharat,
    If you have done the .jpx import you have to remove the VO substitution
    Can be done in two ways,
    1) replace the VO path with your VO
    begin
    jdr_utils.listCustomizations('/oracle/apps/eam/requests/server/RequestResultsVO');
    end;
    begin
    jdr_utils.printDocument('the above qry output');
    end;
    Which will display your substitution VO details,this is to confirm
    begin
    jdr_utils.deleteDocument('<enter your VO with customization path, make sure you are not enteriing the standard VO>');
    end;
    do a commit;
    After you run the delete script , Run the above listcustomization script to confirm ur subs is deleted.
    2) And you can try via
    Functionalional Administrator(responsibility) -> Personalization->Import/Export -> Personalization Repository
    Query for the Document Path /oracle/apps/eam/requests/server/
    You should see ur custom ,delete from there.
    Thanks.
    With Regards,
    Kali.
    OSSi.

  • Create pdf chrome extension problems

    My os is Win 8.1
    My product is Acrobat XI with all current updates as of 11-25-2013
    I use the lastest version of Chrome browser
    I have used the pdf extension on the browser at least 7 times.
    1st time nothing happened
    2nd time it worked perfectly
    3rd through 6th time it did nothing what soever.
    I went into Chrome and looked at the settings. It was enabled.
    I rebooted my computer and tried a 7th time which resulted in nothing happening.
    I openned Chrome and deleted this extension thinking I would browse Chrome extensions and re install.
    I was not able to find this extension and started reading in the Acrobat forums.
    I did as suggested and closed Chrome and open Acrobat and click repair.
    This resulted in no change what so ever. I have also noticed that the disscussions I read the folks with
    this same issue have not been able to resolve the problem.
    I believe in Acrobat and enjoy the use of it. This chrome browser extension function was great the one time it worked for me.
    I am open for help....now that I can't even make the extension show up on my brower again.
    Thanks,
    Jerry

    Hi Jerry,
    Would you mind emailing me directly with your info? [email protected]
    Kindest regards, Stacy

  • Administration Console Extension problem with 8.1.5 upgrade

    I have a module of code that is an extension of the Administration Console. When I deploy the .ear file, I can see a yellow folder/node displayed in the Weblogic (8.1.3) console.
    This has been working for a couple of years until we recently upgraded to Weblogic 8.1.5 server. Even though the server log says that .ear file has been deployed successfully, the yellow folder/node does not appear in the Weblogic console.
    Any one know what may caused this problem?
    Thank you!

    From $ORACLE_HOME/bin enter the
    following:
    $ORACLE_HOME/bin/oerr ORA 01034 This will give you more info on your
    problem.

  • JWSDP and complex type extension problem

    Hy,
    We got a problem with JAX-RPC reference implementation. It seems it doesn't support inheritance beetween complex types as web services parameters or return value. A Parse exception happens when client code deserializes base class members. Does anyone know about this problem ? We don't have it with Apache Axis implementation (on client side). In our case, server code always runs in C++ with gSOAP.
    And the stacktrace :
    deserialization error: unexpected XML reader state. expected: END but found: START: longitude
    Here our wsdl file :
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="Service"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/"
    targetNamespace="urn:ass"
    xmlns:tns="urn:ass"
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:WAT="urn:ass/WAT.xsd"
    xmlns:ifg="urn:ass">
    <types>
    <schema
    xmlns="http://www.w3.org/2001/XMLSchema"
    targetNamespace="urn:ass/WAT.xsd"
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:WAT="urn:ass/WAT.xsd"
    xmlns:ifg="urn:ass">
    <complexType name="Date">
    <sequence>
    <element name="time" type="xsd:long" minOccurs="1" maxOccurs="1"/>
    </sequence>
    </complexType>
    <complexType name="DateStruct">
    <all>
    <element name="inst" type="WAT:Date" minOccurs="1" maxOccurs="1"/>
    <element name="coderet" type="xsd:int" minOccurs="1" maxOccurs="1"/>
    </all>
    </complexType>
    <complexType name="IcaoCode">
    <sequence>
    <element name="s" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="isAlphaNum" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    </sequence>
    </complexType>
    <complexType name="IcaoCodeStruct">
    <all>
    <element name="inst" type="WAT:IcaoCode" minOccurs="1" maxOccurs="1"/>
    <element name="coderet" type="xsd:int" minOccurs="1" maxOccurs="1"/>
    </all>
    </complexType>
    <complexType name="Ident">
    <sequence>
    <element name="Id" type="xsd:int" minOccurs="1" maxOccurs="1"/>
    <element name="Name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="Text" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="IdentStruct">
    <all>
    <element name="inst" type="WAT:Ident" minOccurs="1" maxOccurs="1"/>
    <element name="coderet" type="xsd:int" minOccurs="1" maxOccurs="1"/>
    </all>
    </complexType>
    <complexType name="Latitude">
    <sequence>
    <element name="s" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="LatitudeStruct">
    <all>
    <element name="inst" type="WAT:Latitude" minOccurs="1" maxOccurs="1"/>
    <element name="coderet" type="xsd:int" minOccurs="1" maxOccurs="1"/>
    </all>
    </complexType>
    <complexType name="Longitude">
    <sequence>
    <element name="s" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="LongitudeStruct">
    <all>
    <element name="inst" type="WAT:Longitude" minOccurs="1" maxOccurs="1"/>
    <element name="coderet" type="xsd:int" minOccurs="1" maxOccurs="1"/>
    </all>
    </complexType>
    <complexType name="Notam">
    <sequence>
    <element name="Id" type="xsd:int" minOccurs="1" maxOccurs="1"/>
    <element name="Text" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="NotamStruct">
    <all>
    <element name="inst" type="WAT:Notam" minOccurs="1" maxOccurs="1"/>
    <element name="coderet" type="xsd:int" minOccurs="1" maxOccurs="1"/>
    </all>
    </complexType>
    <complexType name="Pib">
    <sequence>
    <element name="Id" type="xsd:int" minOccurs="1" maxOccurs="1"/>
    <element name="Name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="PibStruct">
    <all>
    <element name="inst" type="WAT:Pib" minOccurs="1" maxOccurs="1"/>
    <element name="coderet" type="xsd:int" minOccurs="1" maxOccurs="1"/>
    </all>
    </complexType>
    <complexType name="AirField">
    <sequence>
    <element name="longitude" type="WAT:Longitude" minOccurs="1" maxOccurs="1"/>
    <element name="latitude" type="WAT:Latitude" minOccurs="1" maxOccurs="1"/>
    <element name="codeICAO" type="WAT:IcaoCode" minOccurs="1" maxOccurs="1"/>
    </sequence>
    </complexType>
    <complexType name="AirFieldStruct">
    <all>
    <element name="inst" type="WAT:AirField" minOccurs="1" maxOccurs="1"/>
    <element name="coderet" type="xsd:int" minOccurs="1" maxOccurs="1"/>
    </all>
    </complexType>
    <complexType name="SunTime">
    <complexContent>
    <extension base="WAT:AirField">
    <sequence>
    <element name="sunriseTime" type="WAT:Date" minOccurs="1" maxOccurs="1"/>
    <element name="sunsetTime" type="WAT:Date" minOccurs="1" maxOccurs="1"/>
    <element name="heuresCalculees" type="xsd:int" minOccurs="1" maxOccurs="1"/>
    <element name="heuresExistent" type="xsd:int" minOccurs="1" maxOccurs="1"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="SunTimeStruct">
    <all>
    <element name="inst" type="WAT:SunTime" minOccurs="1" maxOccurs="1"/>
    <element name="coderet" type="xsd:int" minOccurs="1" maxOccurs="1"/>
    </all>
    </complexType>
    </schema>
    </types>
    <message name="getSuntimeRequest">
    <part name="req" type="xsd:string"/>
    </message>
    <message name="SunTimeStruct">
    <part name="inst" type="WAT:SunTime"/>
    <part name="coderet" type="xsd:int"/>
    </message>
    <portType name="ServicePortType">
    <operation name="getSuntime">
    <documentation>Service definition of function ifg__getSuntime</documentation>
    <input message="tns:getSuntimeRequest"/>
    <output message="tns:SunTimeStruct"/>
    </operation>
    </portType>
    <binding name="ServiceBinding" type="tns:ServicePortType">
    <SOAP:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="getSuntime">
    <SOAP:operation soapAction=""/>
    <input>
    <SOAP:body use="encoded" namespace="urn:ass" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </input>
    <output>
    <SOAP:body use="encoded" namespace="urn:ass" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </output>
    </operation>
    </binding>
    <service name="Service">
    <documentation>gSOAP 2.1.10c generated service definition</documentation>
    <port name="ServicePort" binding="tns:ServiceBinding">
    <SOAP:address location="http://location/Service.cgi"/>
    </port>
    </service>
    </definitions>

    Try using the -f:searchschema feature of wscompile when generating the client stubs from your WSDL file.

  • JDeveloper Extension Problem with Navigator Elements

    Hi,
    I have a problem with the elements of the JDev Navigator.
    At IDE startup I want to set an overlay for the elements on the active project.
    This function is implemented in the Subversion Extension too.
    How can I access the elements of an active project in the navigator?
    It is not a problem to set an overlay with the ContextMenuListener.
    Thank you for your help.
    Greetings,
    Benjamin Oelenberg

    Please take a look at the Extension SDK sample projects. There is a sample that does exactly this.
    Install the Extension SDK from the Help --> Check for Updates dialog and after restart, say yes to installing the sample projects.

  • Dreamweaver extension problem

    Hello all
    im little newbie in develop Adobe Air Application,
    i downloaded Dreamweaver CS3 trial and Adobe Air Extension
    for dreamweaver
    i install all with success
    now, i try to use the Air Application Setting with a sample,
    but i can't access the configuration panel, always i have this
    message :
    Title of the msg box :
    "Adobe Air Extension for Dreamweaver"
    Message :
    "Java Runtime Environnment (JRE) version 1.4 or higher is
    required in order to create the AIR file. Please install it and run
    the command again."
    the problem, i already have installed the JRE (i use actually
    the 1.6.0_07), i try a lot of things (like, re-install jre,
    dreamweaver, air extension, download again, re-install).. but
    cannot use the Air setting..
    config :
    windows xp sp2
    P4 3.2 Ghz
    4 Go ram
    Someone have an idea about this problem ?
    thanks in advance
    best regards

    hello,
    nobody can help ?
    in addition to the problem, i look around the dreamweaver
    config
    i find the error msg come from the file "AIRSettings.js",
    it's appear the var jreversionObj cannot retrieve the good version
    of jre who is installed on my os ..
    i do not understand why .. so i comment the line who check
    this.. and at last, i can acceed to the AIR panel settings in
    dreamweaver CS3,
    but now, when i try to compile my Air app.. i have the msg
    where i have to make a certificat,
    i try it, but have an error msg say "Error creating the
    digital certificate file. An error log was created"
    and in the AIR error log file : i have some unknow caracters
    in file like "Y" with 2 point on it..
    any advice to solve this ?
    thanks in advance (and sorry for my english :o)

  • File extension problem

    Hello there everyone... My company is equipped with mac's an pc's and a pc server using windows 2000 server. The server 'died' and we bought a new one with windows sbs 2008, our files that were created by our mac computers were stored on the old server so we copied them back to the new one. The problem is that now when we try to access them some files that don't have extensions we can not open them as we don't know what they are, i.e in the same folder I had files that were tiff,jpeg,quark,pdf when I try to access them there are no extensions so I don't know with what program to open each file. These files are grey or black and are reffered to as Unix Executable File. Is there a way to get the mac systems to re-read the files correctly??? Our mac os is 10.4 and 10.5 and our server uses Windows SBS 2008!

    I'd be worried about these files. You may have lost metadata as BD suggests.
    Maybe your server administrator should look at copying mac file data or how to turn on the serving of Mac files. ( I'd guess it was an option in windows 2000. )
    Can't you take a guess from the name what the application would have been?
    Start the appropriate application & use file > open.
    There is also the Terminal file command which will look inside a file & take a best guess at the contents of the file. Many files have an identifier in the first four characters of the file telling what type of data the file contains.
    Macintosh-HD -> Applications -> Utilities -> Terminal
    mac $ file /Users/mac/Desktop/ciruit.rtf 
    /Users/mac/Desktop/ciruit.rtf: Rich Text Format data, version 1, Apple Macintosh
    mac $ file /Users/mac/Desktop/Lunch\ picture.JPG 
    /Users/mac/Desktop/Lunch picture.JPG: JPEG image data, EXIF standard
    mac $ 
    what you do is type file followed by a space. No need to type out the file path &name. Drop the file you wish to identify onto the terminal window. Press return after the drop.
    you can also list the entire contents of a folder by the command:
    file *
    What you would do in this case is to use the cd command to move to the folder you want:
    cd
    then drag the folder you want to see & drop it on the terminal window. Press return after the drop.
    Here is an overview of the terminal commands. Lets assume that your account has a short user name of mac.
    Macintosh-HD -> Applications -> Utilities -> Terminal
    #How to list all of your disks.
    # The ls command is for list
    mac $ ls /Volumes/
    Audio CD       Macintosh-HD   Spotless       Tiger-ext
    mac $ 
    # Let's say your flash drive is named Spotless
    # cd is change directory
    mac $ cd /Volumes/Spotless
    # pwd is print working directory
    mac $ pwd
    /Volumes/Spotless
    mac $ 
    # The ls command is for list
    # l is long
    # F is type of file where / is directory
    mac $ ls -lF
    total 134704
    -rw-r--r--     1 mac  staff     64560 Mar  3  2009 A-picture-of-Youpi-key.png
    drwxr-xr-x    83 mac  staff      2822 Nov  7 14:52 Applescript files/
    drwxrwxrwx    12 mac  staff       408 Dec 13  2008 Christmas Cards/
    drwxr-xr-x     9 mac  staff       306 Dec 21 17:39 Christmas Cards 2009/
    ... trimmed ...
    What does all this mean?
    drwxrwxrwx
    d = directory
    r = read
    w = write
    x = executeable program
    drwxrwxrwx
     |  |  |
     |  |   all other users not in first two types
     |  |  
     |  group
     |  
     owner
    # l is long
    # a is all to show hidden files & folders
    mac $ ls -lFa
    total 134736
    drwxr-xr-x    41 mac   staff      1496 Dec 22 17:11 .
    drwxrwxrwt     8 root  admin       272 Dec 24 13:55 ..
    -rwxrwxrwx     1 mac   staff     15364 Dec 23 12:52 .DS_Store*
    drwx------     4 mac   staff       136 Jan 22  2009 .Spotlight-V100
    drwxrwxrwt     5 mac   staff       170 Sep 14 16:36 .TemporaryItems
    d-wx-wx-wx     4 mac   staff       136 Dec 31  1969 .Trashes
    -rw-r--r--     1 mac  staff     64560 Mar  3  2009 A-picture-of-Youpi-key.png
    drwxr-xr-x    83 mac   staff      2822 Nov  7 14:52 Applescript files
    drwxrwxrwx    12 mac   staff       408 Dec 13  2008 Christmas Cards
    drwxr-xr-x     9 mac   staff       306 Dec 21 17:39 Christmas Cards 2009
    ... trimmed ...
    # mv is move or rename
    mv -i the-name the-new-name
    # You can just rename the file back to what it was with mv command.
    mv -i old-name new-name
    Here is what these commands mean:
    cd is change directory
    pwd is a print working directory
    ls is list
    sudo is Super user do
    mv is move or rename
    For cryptic comments, you can always uses the manual command which is man. For example:
    man mv
    # Type the letter q to quit.
    I noticed that you had spaces in your filenames or directories. You need to escape them. See examples:
    mac $ ls -l ~/"see it"
    -rw-r--r-- 1 mac staff 3171 Oct 26 23:38 /Users/mac/see it
    mac $
    mac $ cd /Users/mac/Desktop/ttt\ html\ copy/
    Do you know about tabing? Type in a few letters of a name then press the tab key. The computer will type out the rest of the name if it is unique.
    Robert

  • Damaged files or extension problem

    When I copie my files, which I create at home, on the server at my work location (I am using a Maxtor external HD). And I'm opening these files, a lot of the images are being damaged. Mostly -eps and -tif files.
    However when I go home and open them again, there's no problem.
    The systems and software at home and at the work location are the same. Except for the fact that I don't have a 'server' or network at home. (the server has a windows-platform)
    Maybe someone can help me solve the problem?

    Hi, how do you mean "damaged"? Are the files not all there (a comparison of the size on your hd vs. the file on the server will tell you)? Are the files' extensions being lost? (In the latter case, the file is all there, but the name is altered). Is it something else entirely?
    Best,
    ~FifthWheel

Maybe you are looking for