How to preserve file extension on rename?

So, my little First World Problem:
On Snow Leopard I was very used to pressing enter and renaming a file by simply typing a new name while preserving the extension. Now I've noticed that in Lion when you press enter and start typing the new name, you'll have to type in the extension too. Is this changeable?

No, the behavior in Lion should be the same.
I just tested it and "return" highlights the name and leaves the extension.

Similar Messages

  • How to display file extensions

    Hi,
    I'm trying to get our Sharepoint 2013 server to show file extensions again and I've had no luck so far. I've been able to add an extra name column that shows the file extension (like ), but that name is not clickable anymore so I've ended up with one name
    that's a link and the same name next to it. This doesn't look good, especially when the users pick overly long file names.
    This (http://social.technet.microsoft.com/wiki/contents/articles/11161.how-to-display-file-extensions-in-a-sharepoint-document-library.aspx) seems to apply to Sharepoint 2007 only. I'm not sure which onet.xml file they mean and the default file has several
    occurences of "Name=”Created_x0020_Date”", or how adding
    Name=”File_x0020_Type”/> without an extra opening bracket would work.
    I've also found and tried this solution: http://social.technet.microsoft.com/Forums/sharepoint/en-US/59c15eee-9116-4aa1-8d16-32cd361c9a2f/show-file-extensions-in-document-library?forum=sharepointcustomizationprevious
    >>3. Edit the WebPartPages:XsltListViewWebPart so that the link contains the extension.
    >>a. Open SharePoint Designer and click on the desired document library.
    >>b. Open the View you want to change, which in most cases is "All Documents".
    >>c. Find the line that looks like this:
    >><xsl:value-of select="$thisNode/@FileLeafRef.Name" />
    >>d. Edit the line to look like this:  (the xsl:if tests to see if the suffix is not blank and then displays a '.' and the suffix)
    >><xsl:value-of select="$thisNode/@FileLeafRef.Name" /><xsl:if test="$thisNode/@FileLeafRef.Suffix!=''">.<xsl:value-of select="$thisNode/@FileLeafRef.Suffix" /></xsl:if>
    This doesn't seem to work with Sharepoint 2013 because the line <xsl:value-of select="$thisNode/@FileLeafRef.Name" /> doesn't seem to exist. Are there any other suggestions on how to get the file extensions to show?
    Thank you.

    Hi
    use these functions
    RIGHT (Text, Number)
    Return X characters from the right
    RIGHT(“The Quick Brown Fox”, 5)
    n
    SEARCH(Text1, Text2, Num)
    Returns the index of Text1 within Text2,starting the search at index Number
    Formula should be
    right([Name-column],search[".",[Name-column],1))
    More info regarding calculated columns
    http://junestime.wordpress.com/2013/02/12/sharepoint-calculated-column-formulas/
    Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.

  • How to assign file extension and custom icon to executable?

    Hi all,
    I was reading an old thread about this issue:
    http://forums.ni.com/ni/board/message?board.id=170&thread.id=116925 
    I need to try to do this.  My application uses a custom file extension (i.e. .abc).  Upon installation I would like to:
    1.  Assign My App and custom icon to the file class (extension .abc).
    This could be done by manipluting the registry (http://msdn.microsoft.com/en-us/library/bb776856(VS.85).aspx)?  This could be a problem with Vista s unless registry operations occur during installation any changes are placed in a VirtualStore, correct?
    2.  Enable the double-clicking of .abc file type to pass the data in the file to my VI (exe). 
    According to the File Handling Guidelines of Jean-Pierre Drolet (http://www.openg.org/tiki/tiki-index.php?page=File+Handling+Guidelines) the best way to do this may be using LabVIEW as an ActiveX server.
    I know that when I build an executable (or installer?) there is the option to enable LabVIEW to act as an ActiveX server.  This much I know I need to do.
    I thought I would open this discussion again as others may be interested and there doesn't appear to be a completely clear solution available.  Please do contribute where you can.
    Cheers,
    Battler.

    battler. wrote:
    My application consists of Event Structure.
    How to register for ommand line event so that when a user double-clicks on a .abc file I can handle the opening of it?
    This needs to work (the files need to open) not only when the application is closed but also when it's already open.
    Anyone have ideas? 
    The solution to that is to implement a DDE server in your application (and add DDE entries to the registry on installation). There are still DDE functions in LabVIEW vi.lib\Platform\dde.llb but they are considered depreciated and have been removed from the palette, also because Microsoft is trying to tell everyone that DDE is depreciated and sort of unsupported too. But it is still the mechanisme to pass actions from the shell to running applications.
    I hesitate to send you over to lavag.org where there have been some discussions about this years ago. If you go there you would do good to employ a friendly attitude. That board is run all by enthusiasts and idealists and they are all great folks but react not very friendly to people with an attitude.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How to set file extension?

    Hello there,
    I have added the ablility of saving the data in my program. I was wondering how do I restrict the file extension when the user wants to save the file?
    What I mean is right now, when a user saves the data to file, they can choose the file name and the file extension. I do not want to allow them to choose file extension. I want to have a predefined extension, for example .usr or .dat.
    I have seen this in many applications but I do not know how to implement this. I would appreciate it if someone could help me.
    Thanks for your help!

    How you are getting the fname from the user has an impact on how you do this, but not what needs to be done. What is required to have something that takes the fname from the user and parses it, extracting a fname. Once you have that, just append the extension that you want and save the file.

  • How to include file extensions in contacts?

    When printing contact sheets from the Print module I don't manage to have the file name inclusive of file extension under each thumbnail (e.g. Maria.jpg); so far I only managed to have the file name without the extension (e.g. Maria). Any idea how to do it?

    F-
    <br />
    <br />I doubt it's impossible, but why would you choose to do this? I we know, perhaps another method may suffice.
    <br />
    <br />
    <span style="color: rgb(102, 0, 204);"></span>
    <font br="" /></font> color="#600000" size="2"&gt;~~ John McWilliams
    <br />
    <br />
    <br />
    <br />MacBookPro 2 Ghz Intel Core Duo, G-5 Dual 1.8; Canon DSLRs

  • How to Hide File Extensions in URL

    Hello Again!
    I've tried to edit my .htaccess file to hide file extensions in my URL, but nothing I try works. I get "Page Not Found" when I try to remove the .html from my pages. Here is the code I have used:
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME}\.html !-f
    RewriteRule ^{.*}$ $1.html
    I've also used
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^{.*}$ $1.html [L,QSA]
    Neither worked.
    Any thoughts would be helpful! Thanks!
    K

    When you save the document there is a check box in the save window that gives you the option to hide the extension. I've checked this for both Pages & Word. I can't be certain that all applications give this option.
    You can of course delete the extension name from individual files already on your computer by selecting the file name as if editing the name and just deleting the extension part of the name.
    Neville

  • How to hide file extension on finders symbolic view?

    When I switch the finder's view to symbolic the files view turns to an icon or minimized first page of the file's content. In some cases the file extension is displayed at the bottom of this symbol. E.g. files of type PDF always show the 3 letters PDF at the bottom of the small preview image. Files of type PKG don't show it.
    Is there a way to change this behaviour? Changing it in the finder's prefrences only affects hiding or showing the file extension in list view.
    Thanks for any advice!

    I tried it and it didn't look like it took effect. I switched folders and cam back to the first one I looked at and the extensions were showing.
    It may just need time to redraw the view.

  • How to strip file extension off a filename NSString ?

    To retrieve file extension from NSString, we use "pathExtension".
    To retrieve the filename from NSString without the extension we use ?

    9 views any nobodies helping ?
    Oh well...
    I've created this function to achieve this:
    -(NSString *) returnfile_name_without_theextension:(NSString *)filename
    NSString *filename_extension = [filename pathExtension];
    NSInteger filenameextensionlength = [filename_extension length];
    NSInteger filename_length = [filename length];
    filename_length = filename_length - (1 + filenameextensionlength);
    return [ filename substringWithRange:NSMakeRange(0, filename_length) ];
    Hope someone might find this useful.

  • How to validate File extension.

    Hi all,
    Can anyone suggest me any Function Module to validate a file extension while selecting the Filename at popup window.
    thanx
    Rakesh

    Hi,
      If you are using upload FM, fill up the following parameters..If you want to filter the data by certain extension.
      Hope this works...
    FILETYPE                        DAT   
    ITEM                                  
    FILEMASK_MASK                   *.xls 
    FILEMASK_TEXT                   *.xls 
    FILETYPE_NO_CHANGE              X     
    THanks,
    Naren

  • How to create encrypted File Extension??

    hi Folks
    i'd ilke to ask how to create file extension and how encrypt this extension??
    to make my question clear suppose we develop a word proceesing Application i would like this Application produce let say ".kad" when saving it and how to make this extension ".kad" encrypted meaning that we couldn't open the file unless my Application is existing.
    can anyone help me or give a tip to start of the way!!!!!!!!
    thnx

    Hi eng_kadry,
    if a little confusion is enough for you can use just a binary format, i.e. do not store readable text, but compacted binary information.
    If you really need to encrypt your data have a look at JCE (Java Crypto Extension) which provides various encryption algorithms.
    Note: You can't encrypt a file extension you encrypt the file. You can't prevent anybody opening the file with a hex-editor, but if you use binary or a really encrypted format he/she won't be able to make any sense out of it.
    Another note: Be aware that your program will always contain everything it needs to decrypt the files, so if anybody goes through the pain of decompiling your program he/she will be able to use the files and you can't prevent decompilation
    regards
    Spieler

  • Illustrator extend script save() changes file extension

    If I open a PDF in Illustrator, make a change, and save using the menu option or shortcut, the file is saved as expected.
    If I try to use extend script (i.e. app.activeDocument.save(), or .saveAs()), the file extension is renamed to .ai. How do I keep my original filename when saving with extend script?

    Got it working by using .saveAs() with PDFSaveOptions

  • Windows 8.1 File Extensions and Show Hidden Files Always showing

    Dear sir,
    It's been an on and off problem for me since my windows 8.1 sometimes like to show it all whether it's the extensions of the file or even the file itself and it doesn't accept my command on not showing it. I have a bitdefender 2015 always up to date so my
    guess is that could not be a virus please help.

    Hi,
    How about uncheck file extension option? In addition, follow the screenshot below and make your settings same with main.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Dreamweaver as custom editor for other file extensions

    So, I'm working on a project that requires me to work on some
    files with non-standard extensions. Namely, I have some text files
    that have a .cm extension, and I have some code files which have no
    extension at all. I am connecting to my file store via an FTP
    "site" set up in Dreamweaver.
    Under preferences->filetypes/editors, I set up ". .cm" for
    those two cases, and had selected "Dreamweaver" as the primary
    editor.
    The files open just fine, and I'm able to edit and save them,
    and when I do, the files get "PUT" back up to the FTP server as I
    want. However, what I've noticed is that the first time I edit one
    of those types of files, and save it, now, from then on in that
    session of Dreamweaver, any time I de-focus the window and then
    come back to it, the IDE initiates another PUT action of the files
    in question, even if the files are unchanged.
    However, if I go back into preferences, and remove the
    "Dreamweaver" as the primary editor for those two extensions, and
    leave that list blank, Dreamweaver still is able to open up the
    files as I want, but this weirdness with FTP putting and the
    window-focus goes away.
    Anyone have any idea why?

    This TechNote explains how to add file extensions to be
    recognized by DW.
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16410
    Unfortunately, DW does not handle file with no file extension
    very well.
    HTH,
    Randy
    > So, I'm working on a project that requires me to work on
    some files with
    > non-standard extensions. Namely, I have some text files
    that have a .cm
    > extension, and I have some code files which have no
    extension at all.

  • Change File Extensions (Newbie)

    I want to exchange .html extensions to .php in a folder. Actually, someone showed me how to it with AppleScript. However, someone else told me about Autmator, which looks like a really cool tool. Unfortunately, I can't figure out how to change file extensions with it.
    When I open Automator, I get a little window that lists seven scripts or functions, beginning with Change Extension. If I right-click on Change Extension and choose open with Automator 2.0, I get a bigger window ("untitled") with a long list of actions on the left. Again, I click Change Extensions.
    On the right is a little box titled "Ask for Finder Items." It includes three options:
    Prompt, Start at and Type. But I don't know how to precede. How do I indicate what file extension I want to change from or to?
    I first asked about Automator on a thread at
    http://discussions.apple.com/thread.jspa?messageID=9490359#9490359
    Someone posted an image that shows a second window where you type in the file extensions you want to work with. But I can't figure out how to make that window appear on my program.
    Thanks for any tips.

    Here's a simple solution. Select all the files in the folder by navigating to the folder in the Finder. With the files displayed press COMMAND-A to select them all. Press OPTION-COMMAND-I to open the Inspector window. In the Name and Extension field change the extension from .html to .php. Close the window.
    For more complete control over batch file changes download BatchRenameEm - VersionTracker or MacUpdate.

  • How do I delete file extensions on files in sub folders?

    I want to delete all file extensions on the files I have in several sub folders.
    If I highlight the files themselves in a folder and run "Get Selected Finder Items", then "Replace Text in Finder Item Names", then it works. However, how can I have Automator choose ALL files in ALL sub folders of a folder and then do it's magic on all those files at once?
    Thanks.

    Does the Notebook software accept aliases? If so, you could rename aliases instead of the main file, so that the original extensions are preserved.
    For your original question, you can use an action to get the folder contents, and adding a filter action will just give you the file names - for example:
    1) *Get Selected Finder Items*
    2) *Get Folder Contents* (repeat for each subfolder found)
    3) *Filter Finder Items* -- remove items that are folders
    4) *Replace Text in Finder Item Names*

Maybe you are looking for

  • How can I stop the Adobe Creative Cloud sign in at every system start?

    I don't want to be asked to type in my Creative Cloud sign in data at every system start, only if I definitely use / want to work with my Adobe products. Does anybody know any settings for that and how to do it (Windows 7)? Thank you.

  • Very high LC amounts in GL view and missing posting keys inGL view

    Hi Experts, Doc.type : KR Transaction: FB60 Document currency PLN = Local currency PLN in general ledger view of a document the items of vendor reconciliation account and of a balance sheet account with currency PLN in master data , have huge amounts

  • Please help, 2D Array of Vectors and Incompatible types :(

    I have a 2D array of vectors called nodeLocations but when I try and access the vector inside I get a compile error. My code is something like this: nodeLocations[j].addElement(noArc) My editor picks up that its a Vector and shows me addElement as an

  • Restored from backup - Permissions errors

    OK, here goes Catastrophic xserve failure... Fixed Hardware Restored from backup Users do not have permission to open their folders within their home folders. Is there a way I can restore permissions on the home folders for each user in bulk, I reall

  • Purchasing Document Items: Delivery Route

    Hi Team, I am an ABAPer. From where to access the Delivery Route of the Items in the Purchasing Document. In a similar case, I am fetching the Delivery Route of the Items in the Sales Document from VBAP-ROUTE. Please guide. Thanks & Regards, Lakshman