Changing the file name of a PDF you send via email

Hello Support,
I am trying to find out how to change the file name of the attachment I send via email when I click submit via email. I would like the file to be sent with the file name, not some other file name.
How can I fix it? This is very urgent! I need HELP!
Cheers
Joel
Message was edited by: J Braden

Hi,
you can't.
Except you save the file under a different name before you send it.

Similar Messages

  • When bates numbering a .pdf in XI, how can I change the file name to include the bates number AND its name?  I know under file output, there is an option for either/or.  I want both.  Thank you.

    when bates numbering a .pdf in XI, how can I change the file name to include the bates number and the file name?  I know under "file output: it's either/or.  I need both.  Thanks!

    Long ago I wrote a little demo using the touch command. Check out the following thread:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=25128#M25128
    LabVIEW Champion . Do more with less code and in less time .

  • How to change the file name of pdf file in html page?

    Hi,
    Actually my requirement is to upload 50 PDF files containing javascript in each file into flex page with the help of one html page.
    i did the the javascript part by using batch processing.
    now i want to call those pdf files one after another without changing the file name in html page
    the code written in html page is
    <html>
        <body>
            <object id="PDFObj"
                    data="http:\\localhost\pdf\20090807 - Batch 630.pdf"
                    type="application/pdf"
                    width="100%"
                    height="100%">
            </object>
            </body>
    </html>
    So every time i have to change that file name to acess another file.
    Is there is any other way to sort this problem????
    Plz anyone help me to sort out this problem with some code or some example.

    I once had a similar task for creating a webpage that I only use on my computer--a webpage that accesses PDF's and SWF's font previews from a list of fonts as "a href's".  What you must do is utilize the power of the command line, whether on a Mac on a PC or on Linux, Linux being the most powerful (although Mac IS Unix).  You must utilize variables, variable replacement, and then a command to print out the results of a "for" or "while" loop to a text file which will be your HTML file with each individual link automatically built into the HTML code.  You will have a list of 50 links.  If you are simply looking for a GOOGLE type functionality where you click on "Next" and "Previous" you will have to dig deeper into variable replacement--this I don't know how to do yet but there are books for command-line shell interpreters.  One shell interpreter is called "bash" (born-again shell) and there is a book on the market which gives a detailed example of how to replace variables in a shell script.  Again, I don't know how it works.  I will try to learn this at a later time when I am more seasoned with the basics of shell scripting.

  • Changing the File Name

    Hi
    i am designing a adobe form which will be send in mail when a button is clicked, i found that the attachment name to be "unknown.pdf". how can i change this ???
    i found out a method called getAcrobatApplicationName() in XML and when i changed application name in that its not getting reflected. So is there any other way to change the file name on "Button Click" event?
    Thanks
    Gopal

    Hi Gopal,
    See if it helps:
    In NW2004s we use the following. getPdf() returns a byte[], the filename is "document-<username>.pdf" and source is the attribute of an IFrame UI element.
    code
    private void initPdf() {
    IWDResource resource =
    WDResourceFactory.createResource(
    getPdf(),
    "document-"
    + WDClientUser.getLoggedInClientUser().getSAPUser().getUniqueName(),
    WDWebResourceType.PDF);
    String source =
    resource.getUrl(WDFileDownloadBehaviour.OPEN_INPLACE.ordinal());
    wdContext.currentContextElement().setSource(source);
    [/code]
    On NW2004 we use a FileDownload UI element (with target=_self) and we call initFileBinaryType method in the wdDoInit method. Of course you still need to set the binary PdfData context attribute with the actual content of the PDF file.
    code
    private void initFileBinaryType() {
    IWDModifiableBinaryType pdf =
    initFileBinaryType(IPrivateTestAppView.IContextElement.PDF_DATA);
    pdf.setFileName("document-"
    + WDClientUser.getLoggedInClientUser().getSAPUser().getUniqueName());
    pdf.setMimeType(WDWebResourceType.PDF);
    private IWDModifiableBinaryType initFileBinaryType(String attribute) {
    return (IWDModifiableBinaryType) wdContext
    .getNodeInfo()
    .getAttribute(attribute)
    .getModifiableSimpleType();
    [/code]
    Regards,
    Arafat

  • I can not transfer date from one hard drive to another, I keep getting an error because I have two of the same file names and one file name is in caps and I cant change the file name

    can not transfer date from one hard drive to another, I keep getting an error because I have two of the same file names and one file name is in caps and I cant change the file name. My original external has an error and needs to be reformatted but I dont want to lose this informations its my entire Itunes library.

    Sounds like the source drive is formatted as case sensitive and the destination drive is not. The preferred format for OS X is case insensitive unless there is a compelling reason to go case sensitive.
    Why can't you change the filename? Is it because the source drive is having problems?  If so is this happening with only one or two or a few files? If so the best thing would be to copy those over individually and then rename them on the destination drive.
    If it is more then you can do manually and you can't change the name on the source you will have to reformat the destination as case sensitive.
    Btw this group is for discussion of the Support Communities itself, you;d do better posting to Lion group. I'll see if a host will move it.

  • IPhoto: After I've changed the file name/format in Finder iPhoto can't load/relink to the referenced file.

    After I've changed the file name/format in Finder iPhoto can't load/relink to the referenced file anymore. For some reasons I don't like to reimport the file.

    Hmm the advice has been not to use referenced libraries - you ignored and did it anyway and you find the advise not helpful
    Furthermore the advice is that if you choose to use a referenced library that you assure that the path never changes - you also choose to ignore that advice and do it anyway - and you blame the peopson trying to help you
    once again - you have one choice - change the file names back and put the files back in the exact same place - and again you are totally ignoring the advice and instead name calling and attacking the person giving you advice
    Maybe life would be easier if you followed advice rather than ignoring it and then complaining that things no longer work
    change the name back and you will be fine until the next problem you hit that is caused by choosing a referenced library
    Have a nice day
    LN

  • Finder changes the file name in Save/Save As dialogue box

    Whenever I save or save as a file, the dialogue box opens, but when I make the file list active when using a mouse, the file name I click to changes the file name I am saving. I simply want to activate the file list window so I can find the right folder. For example if I am looking for a folder called "Receipts" I want to be able to click on the file list window to activate it and then type the first 2 letters of the folder-- "re" and then save the file in that folder. The finder keeps changing the name of the current file whenever I click on one of the "greyed-out" file names? This doesn't make sense unless of course I want to replace that file.
    Is there a shortcut that makes the file list window in the dialogue box active while in the SAVE/SAVE AS dialogue box??

    Yes, this example of horrible UI design has been a problem since "Panther". It illustrates what happens when you try to copy UI behaviour from another OS, do it poorly, and end up with a mess. In 10.3 and 10.4, the combination of the renaming behaviour with the default "replace" selection in the resulting save can result in data loss.
    Compared to the old Mac OS where a tab would flip the focus between the text field for the file name and the file browser, the current behaviour either doesn't allow enough keyboard access to controls, or with "full access" enabled, too many to cycle through easily. The inability to switch focus to the file browser using the mouse (depending on the view) is a horrible productivity loss. Having to recheck the filename before saving is a horrible productivity loss. Since there is no "undo" for the renaming in most files, having to retype the name is again, a horrible productivity loss.
    If they had done it right (a simple change, like requiring a modifier to rename), users would probably welcome the "rename" feature as a useful addition. Instead, it has the feel of something a junior Windows-trained programmer slipped in past their supervisor.
    In short, I am not aware of any workaround or hack to avoid this "renaming" behaviour. I doubt it will do any good since people have been doing so since "Panther", but you could try submitting feedback:
    http://www.apple.com/feedback/macosx.html

  • Changing the file name dynamicallly in file Adapter - NullPointerException

    Hi, I want to change the file name directly from Java Mapping in the file adapter for this i have written this code:
    [code]
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http:""/""/"+"sap.com/xi/XI/System/File","FileName");
    String newFileName = CCC'_'NNN'_'NOMCIA'_'DATE;
    conf.put(key, newFileName);
    return newFileName;[/code]
    Where CCC, NNN, NOMCIA and DATE are input of the user-defined function.
    but it gives a null pointer exception:
    [code]16:44:53 Start of test
    Runtime exception during processing target field mapping /ns0:MT_HSBCAltasTrabajadores_TEST/row/separador7. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_JDBC_2_HSBCAltasTrabajadores_TEST_ method FileName$[123, James, Gates, Spectory, com.sap.aii.mappingtool.tf3.rt.Context@247d247d]
    com.sap.aii.mappingtool.tf3.MessageMappingException: Runtime exception during processing target field mapping /ns0:MT_HSBCAltasTrabajadores_TEST/row/separador7. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_JDBC_2_HSBCAltasTrabajadores_TEST_ method FileName$[123, James, Gates, Spectory, com.sap.aii.mappingtool.tf3.rt.Context@247d247d]
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:347)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:309)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:309)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:398)
    at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:141)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:301)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:215)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Root Cause:
    com.sap.aii.utilxi.misc.api.BaseRuntimeException: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_JDBC_2_HSBCAltasTrabajadores_TEST_ method FileName$[123, James, Gates, Spectory, com.sap.aii.mappingtool.tf3.rt.Context@247d247d]
    at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:56)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:291)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:309)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:309)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:398)
    at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:141)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:301)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:215)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Root Cause:
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
    at java.lang.reflect.Method.invoke(Method.java:391)
    at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:47)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:291)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:309)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:309)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:398)
    at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:141)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:301)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:215)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: java.lang.NullPointerException
    at com.sap.xi.tf._MM_JDBC_2_HSBCAltasTrabajadores_TEST_.FileName$(_MM_JDBC_2_HSBCAltasTrabajadores_TEST_.java:564)
    ... 26 more
    RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns0:MT_HSBCAltasTrabajadores_TEST/row/separador7. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_JDBC_2_HSBCAltasTrabajadores_TEST_ method FileName$[123, James, Gates, Spectory, com.sap.aii.mappingtool.tf3.rt.Context@247d247d]
    16:44:53 End of test[/code]
    Regards,
    Luis Diego

    Hey Luis,
    the container object only exists in message mapping runtime.
    Thus you're getting a null pointer exception there.
    For java mappings, remember that you have a .setParameter() method (which is necessary from definition of StreamTransformation interface),
    which sets the private variable param with the transformation parameters. In your .execute() method, just use it like this:
    DynamicConfiguration conf = param.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    Regards,
    Henrique.

  • Changing the file name dynamicallly in file Adapter

    Hi i want to change the file name directly from Java Mapping in the file adapter
    for this i have written this code
    DynamicConfiguration dynamicConfiguration = (DynamicConfiguration)map.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
                   DynamicConfigurationKey keyFile = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
                   DynamicConfigurationKey keyDir = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
                   dynamicConfiguration.put(keyFile,fileName);
                   dynamicConfiguration.put(keyDir,outputpath);
    but it gives a null pointer exception at dynamicConfiguration.put(keyFile,fileName);
    please suggest.
    regards
    Nilesh Taunk.

    Hi Nilesh,
    If your requirement is to create , the file name dynamically for your receiver file adapter, you can do so using your <b>FILE ADAPTER CONFIGURATION</b> itself, and need not go for any JAVA Mappping / Java Code at all.
    The dynamic filename generation concept is as follows.
    In your filename field in the receiver file adapter, just give a variable with <b>%</b> symbols. (eg: %file% ).
    Now, under the option <b>Variable Name Substitution</b>, you can give how the value has to be created.
    <b>It can be your interface name, sender service name, etc or it can be some value dynamically from your payload.</b>
    For the former, your give
    <b>message:interface_name</b> ,etc
    and for the payload part you give,
    <b>Payload: "your element root which u wanna acecss"</b>
    Just check this link out,
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    And read the contents under variable substitution and it will help you understand the concepts better.
    Also, in your FILE Adapter under the option FILE CREATION MODE, you have options like,
    1.Add Counter,
    2. Append
    3. Create
    4. Add Time Stamp
    If you have any clarifications on this approach, do get back.
    Regards,
    Bhavesh

  • Changing the file name of photo in Finder.

    I need to change the file name of my photos. I have changed the settings so that they show on iPhoto as 001, 002 etc - but I need this information to also be set in Finder. Is this possible?
    NikiKL

    No - iPhoto is a photo database and it controls the files - you can not - in fact must not (if you make any changes in the structure or content of the iPhoto library you will corrupt it and lose data) -- and there is no reason to - you have full access to your files - <a href-"http://web.me.com/larryhn/iPhoto08_(version_7.x.x)_FAQ/Accessing_iPhotoPhotos.html"> click here for a discussion of the many ways to properly and safely access your photos -- and you can always export them using the title for the file name to have them outside iPhoto with any name you desire
    LN

  • Aperture: After changed the file name in Finder Aperture can't load the referenced file anymore

    After I've changed the file name/format in Finder Aperture can't load/relink to the referenced file anymore. For some reasons I don't like to reimport the file.

    As you told, the command "Locate Referenced File" doesn't work, if the filename doen't match exactly. And the filenames should keep their new names.
    "Locate Referenced File" will be able to reconnect one file at a time, if you direct Aperture to the matching file in the Loate Referenced File dialog, but it will not be able to recognise the other matching referenced files and to reconnect them all at once with the "Reconnect All" button.
    It will be a lot of work to reconnect the one by one.  Usually it is much easier to rename the original master files using Metadata > Batch change in Aperture than to try to do that in the Finder.

  • Lightroom 6 is up and running.  Upgraded from LR5.  However I want to change the file name to be more generic, e.g., description in LR5 references LR5 and I want to change that to just John G's LR Catalog/Library.lrcat.  How can I accomplish this without

    Lightroom 6 is up and running.  Upgraded from LR5.  However I want to change the file name to be more generic, e.g., description in LR5 references LR5 and I want to change that to just John G's LR Catalog/Library.lrcat.  How can I accomplish this without fouling everything up?

    Ok, well you'll need to do something like this. Now this part is a little dependent on your database server:
           try {
                Class.forName("org.gjt.mm.mysql.Driver").newInstance();
                Connection c = DriverManager.getConnection(
                                                           "jdbc:mysql://{database-server}/{database-name}:3306?user={username}&password={password}");
                Statement Stmt = c.createStatement();
                int count = Stmt.executeUpdate(cmd);
                if(count>0) {
                     System.out.println("count: " + count);
            } catch (Exception e) {
                e.printStackTrace();
        }That was some sample code for a MySQL database.
    Note that the applet can only contact the server that is was loaded from, so you might want to do a getCodeBase() or something like that to get the server address.
    Hope this is helpful.

  • How do I print the file name of a PDF file?

    How do I print the file name of a PDF file?

    In the print dialog under Advanced you can specify this.

  • When Saving a file finder changes the file name

    After updating to Mountain Lion, every time I save a file, I put in the correct file name and after beginning to save the file the file name is changed to a file name that was saved weeks ago.  It does not matter where or with what program I save it, it begins to save under the correct name and sometime before the save is complete finder changes the file name to a file a saved weeks ago.
    What library file do I have to delete this time to make this stupid thing stop doing that?!?

    It's the level of compression. Lower number, more aggressive compression, more visual artifacts.
    Aside from that you should never use jpeg as a working format. The compression is destructive and cumulative, and the file deteriorates every time you resave it.
    Use TIFF or PSD, and if you need jpeg save out a copy as a single final step.

  • HT2506 Change the file name of a picture in preview

    I want to change the file name of a photo. It opens in preview and when I click change name the text box opens, I type in the new name and when I click save it reverts to the original document name. It file is not locked.

    Don't click Save. It isn't needed and causes it to revert.
    Just change the name and hit enter.

Maybe you are looking for

  • Plus and minus instead of mouse pointer

    http://www.rwphotographic.com/#/recent/pbs On the site above, the designer has managed to replace the mouse pointer with a plus (+) or minus (-) depending on where the mouse pointer is (either the left hand side of the screen or the right). I'd like

  • Queries related to maintaining multiple iphoto libraries

    hi, I recently came across iphoto buddy, which allows you to manage more than one iphoto library. Great tool. However I have a few queries regarding it: 1. Is there a way to view consolidated version of 'faces' or 'places'? i.e. I now have to switch

  • My hyperlinks don't work to the pages within my site.

    Can anyone tell me what I'm doing wrong?  I highlighted my text, then completed the steps to link to a page within my site.  The page is listed in the drop-down menu and everything.  I select it. When I preview, my title / link changes color and all;

  • Need to send results to Word or Excel

    The following code is generated by macromedia captivate to send Quiz results via e-mail. Unfortunatly security issues make the transfer of data from the script to the e-mail very problematic. In fact it usually fails. Is there a way to send the resul

  • Macbook pro late 2011 is on Mac OS X v10.7 Lion and it is using lot of RAM

    Macbook pro late 2011 is on Mac OS X v10.7 Lion and it is using lot of RAM...when I turn on after 2minutes it freezes and do not repond and system prefrences also not working...plz help me....I don,t have mac os disc I have tried safe mode boot, NVRA