About 58 results
Open links in new tab
  1. Hide or Show File Name Extensions in Windows 10 | Tutorials

    Jan 16, 2020 · A file name extension is a set of characters added to the end of a file name that determine which app should open it. By default, File Explorer hides file name extensions in Windows …

  2. string - How do I get the filename without the extension from a path in ...

    The extension is always the last element of the list created by splitting the filename by dot ., so if you reverse the filename and split by dot once, the reverse of the second element is the file name without …

  3. python - Extracting extension from filename - Stack Overflow

    Nov 23, 2019 · This will return empty for both file names end with . and file names without an extension.

  4. How do I get the file extension of a file in Java?

    Aug 26, 2010 · Since there's no standard way to get the file extension, you get dozens of half-wrong answers and slightly different implementations. Your code uses 2 methods (I would have liked to …

  5. Rename warning "If you change a file name extension..."

    Jan 1, 2022 · When I try to rename a file I now get a warning pop-up windows message indicating "if you change a file name extension the file might become unusable, are you sure you want to change it?" …

  6. Extract filename and extension in Bash - Stack Overflow

    Jun 8, 2009 · Here is the algorithm I used for finding the name and extension of a file when I wrote a Bash script to make names unique when names conflicted with respect to casing.

  7. Removing path and extension from filename in PowerShell

    Sep 20, 2012 · 209 Way easier than I thought to address the issue of displaying the full path, directory, file name or file extension.

  8. How can I check the extension of a file? - Stack Overflow

    You should make sure the "file" isn't actually a folder before checking the extension. Some of the answers above don't account for folder names with periods. (folder.mp3 is a valid folder name).

  9. How can I get file extensions with JavaScript? - Stack Overflow

    Oct 10, 2008 · String.lastIndexOf method returns the last position of the substring (i.e. ".") in the given string (i.e. fname). If the substring is not found method returns -1. The "unacceptable" positions of …

  10. How can I get a file's extension in PHP? - Stack Overflow

    Question is what you want with that info. Do you want to get the file extension to get the file type? That is not a good solution as it might be wrong.