Top "Filenames" questions

Filenames are metadata about a file; a string used to uniquely identify a file stored on the file system of a computer.

Regular expression to remove a file's extension

I am in need of a regular expression that can remove the extension of a filename, returning only the name …

javascript regex filenames
xcopy directories and subdirectories recursively and filter only filenames by extension

Here is what i have for now: xcopy "c:\projects\SampleProject" "c:\temp\copytest" /E /H /EXCLUDE:elist.txt It …

batch-file filtering filenames xcopy
Get filename from string-path?

How do I get the filename from this string? "C:\Documents and Settings\Usuario\Escritorio\hello\test.txt" output: "test.…

string batch-file filenames
separate real and imaginary part of a complex number in python

I have need to extract the real and imaginary elements of a complex number in python. I know how to …

python object arguments filenames definition
What is your favorite date and time format in a file name?

This is a somewhat subjective question, and not very important in the big scheme of things, but something that yet …

.net datetime filenames
Mac OS X doesn't allow to name files starting with a dot. How do I name the .htaccess file?

As mentioned in the title, Mac OS X doesn't allow me to name files starting with a dot ( . ). But, I …

apache .htaccess filenames osx-leopard
Change case of a file on Windows?

There are a couple of files in our git-controlled codebase that I'd like to rename. Specifically, I just want to …

windows git filenames
PDF Handler : content-disposition filename

I am outputting a PDF file in a Web browser (IE8) HttpContext.Response.writefile(fileName) and it works great. When …

handler filenames ashx content-disposition save-as
Delete Files with same Prefix String using Java

I have around 500 text files inside a directory with a same prefix in their filename say dailyReport_. The latter part …

java filenames java-io
What is the naming standard for path components?

I keep getting myself in knots when I am manipulating paths and file names because I don’t follow a …

path language-agnostic cross-platform filenames terminology