Top "File-extension" questions

A suffix appended to the end of a filename, in order to identify the type of file.

ASP.NET MVC - Routing - an action with file extension

is there a way to achieve calling URL http://mywebsite/myarea/mycontroller/myaction.xml This would basically "fake" requesting a …

c# asp.net-mvc-3 url asp.net-mvc-routing file-extension
Is there a way to just commit one file type extension from a folder?

I have a folder with a lot of stuff and I would like just to commit ".c" extension files. Is …

git version-control commit file-extension
How do I make mercurial ignore any file with .xxx extension

I want Mercurial to ignore any file with a certain extension. For example, I wanted to ignore files with a .…

mercurial file-extension hgignore
What is the accepted file extension to use for pipe delimited files?

I am parsing a file of data whose fields are separated by pipes. The records are separated by newlines. This …

file-extension delimited-text
Return last item of strings.Split() slice in Golang

I am splitting file names in Go to get at the file extension (e.g. import ("strings") ; strings.Split("example.…

go split slice file-extension
How to associate a Windows application with a particular file type but share that association with other applications?

If I create a new app, and associate with, say, the .xml file extension on a particular computer, when someone …

windows xml file-extension file-association
How can I make GetFiles() exclude files with extensions that start with the search extension?

I am using the following line to return specific files... FileInfo file in nodeDirInfo.GetFiles("*.sbs", option) But there are …

c# .net file-extension getfiles filepattern
What is the difference between .html and .xhtml extension? XHTML is a markup language or it'a different extension also

What is the difference between the .html and .xhtml file extensions? What is the benefit of using the .xhtml extension? …

html xhtml mime-types doctype file-extension
check if file with certain file extension present in folder using batch script

I want to check a certain file extension in the folder using batch script Its like, if exist <any …

batch-file file-extension file-exists
Python Deleting Certain File Extensions

I'm fairly new to Python, but I have gotten this code to work, and in fact, do what it's intended …

python logic file-extension delete-file