The tag has no usage guidance, but it has a tag wiki.

learn more… | top users | synonyms (1)

63
votes
30answers
107k views

How to force Windows to rename a file with a special character?

I have a song that Windows can't play because there is a question mark in the name of the file. "Where Have All the Cowboys Gone?.ogg" // as an example So I try to rename it and Windows complains ...
144
votes
8answers
212k views

How to delete a file in Windows with a too long filename? [duplicate]

My wife has several files and folders that somehow ended up having filenames that have caused them to be undeleteable (can't be deleted) by normal means or via the command line. I believe the ...
43
votes
17answers
64k views

How do I delete a folder which is nested quite deep and avoid “File name too long”?

Eclipse created a temp folder in one of the directories which is nested quite deep, e.g. dir1\dir1\dir1\dir1\... I am unable to delete this folder in Windows via Explorer, the del or rmdir ...
3
votes
6answers
6k views

Files with illegal filenames [duplicate]

Possible Duplicate: How to force Windows XP to rename a file with a special character? I have a few files whose names have characters such as "?" and ":" that are forbidden by windows. I'm ...
9
votes
2answers
2k views

Any option to change Windows XP default Copy Here naming from “Copy of {name}.{ext}” to “{name}.{ext}.copy”

Is there an option or tool that will allow me to change the default naming convention for files copied into the same directory in Windows (XP) and above. e.g. from: Copy of {name}.{ext} to: ...
10
votes
3answers
10k views

How to delete file with this name on linux: -]???????q

Somehow a file named -]???????q got created on my terminal. I tried rm -f "-]???????q" (in double quotes), but it did not get deleted. (Error:: rm: invalid option -- ]). How do I delete it?
18
votes
1answer
46k views

How to prevent long file name error copying from an external drive?

I have an external hard drive with many files (800 GB). I want to copy the entire contents of the external hard drive to my local drive. get many errors about long file name or long file path. ...
4
votes
1answer
963 views

How are filenames stored?

I noticed that renaming a file doesn't change its hash. I also noticed that creating an empty file gives a file of zero bytes, yet it has a filename. Since the filename seems to travel with the file ...
12
votes
4answers
15k views

Filenames too long and Windows can't open the files

There's a bunch of files on a network drive, on a fairly deep path and the directories on most of of have long names. I think that these were originally created when someone copied & pasted the ...
3
votes
11answers
4k views

How to batch rename files copied from OSX to Windows with ':' in filenames?

This is really puzzling. I have lots of videos that were stored using Mac OS, and now I have to edit them on Windows XP. I copied files using HFSExplorer. Editing software refuses to open the files ...
112
votes
4answers
242k views

How to delete a file with a path too long to be deleted [duplicate]

I was working with some computer vision source code I found and didn't realize that it creates a cache file that has a VERY LONG name and now I can't delete the 2 of them. I tried to rename it to a ...
19
votes
7answers
20k views

How can I create a zip / tgz in Linux such that Windows has proper filenames?

Currently, tar -zcf arch.tgz files/* encodes filenames in UTF, so Windows users see all characters spoiled in filenames which are not english, and can do nothing with it. zip -qq -r arch.zip files/* ...
9
votes
4answers
46k views

How do I recursively list filenames (only) in DOS/Windows? [duplicate]

Possible Duplicate: Get bare file names recursively in command prompt I would like to recursively list all files in a directory, showing filenames only (without extensions and without the ...
21
votes
3answers
12k views

What characters are safe in cross-platform file names for Linux, Windows and OS-X

Currently, I use a YYMMDD-NAME+PAGE name for most of my files. NAME has spaces converted to underscores. I'd like to use the YYYY-MM-DD date format, but I am not sure how to separate it from the ...
8
votes
5answers
11k views

How would I go about creating a filename with invalid characters such as :?> ?

I need to do create a file with a filename such as :>?, is this possible somehow? Windows stops it.
5
votes
5answers
2k views

Removing file with strange characters in filename in OS X

After a memory error in my program, I am stuck with a file with a strange filename. It's proving quite resistant to all normal methods to remove files with strange names. The filename is: ...
12
votes
1answer
17k views

What does a blue filename in Windows Explorer mean?

I am viewing a network share where some filenames are in blue instead of black. I am using Windows 7. This question mentions green filenames, which indicates encrypted file. What does a blue ...
11
votes
2answers
23k views

Get bare file names recursively in command prompt

I ran into a little snag trying to get only the filenames (no extensions or file paths) recursively.This worked for me in the root folder: dir /b But when i added /s to scan recursively i also got ...
10
votes
3answers
31k views

Windows 7 file name length limited to 129 characters

I'm trying to properly name MP3s and I hit some arbitrary length of 129 characters (not 128?). NTFS supports 255 characters in file names, how do I fix this? Star Wars - 6 - Return of the Jedi - 2 ...
5
votes
3answers
2k views

On Windows 7, how do I find all my files whose filenames are too long

Dropbox tells me many of my files are not syncing because their name exceeds the max character length https://www.dropbox.com/help/145/en Max character length Windows only allows file and ...
3
votes
2answers
7k views

function to automatically remove special characters from file names during saving in MacOS X

I'm often creating PDF files from web pages in MacOS X (10.6) and very often I have the problem that the automatically proposed file name (based on the name of the web page) contains many special ...
4
votes
2answers
5k views

Renaming/deleting impossible filenames in Windows 7

I have some files with 'impossible filenames'. I'm not talking about special characters or anyting, but really impossible ones. (filesystem NTFS) One file is called images\receipt.jpg (yes, this is ...
0
votes
3answers
3k views

Filename too long - IMPOSSIBLE to delete/move/rename [duplicate]

I can`t delete a folder because it has LOTS of folders inside it. Believe me, it is really lots. ...
12
votes
3answers
3k views

On Windows, what filename extensions denote an executable?

On Windows, *.exe, *.bat, *.cmd, and *.com all represent programs or shell scripts that can be run, simply by double-clicking them. Are there any other filename extensions that indicate a file is ...
5
votes
3answers
3k views

extracting file with too long of a name

I have a rar archive that I downloaded, except some of the filenames are too long to be created by ubuntu. How can I extract all of the files? The default archive manager on ubuntu goes through most ...
5
votes
2answers
1k views

How to create a file with a “#” character in the name in Unix?

I've tried many commands already for creating a file and deleting a file with a # character, but it does not work. Can anyone tell me the command to create and then delete a file that begins with #?
3
votes
2answers
619 views

How can zsh be configured to autocomplete directory name with camelcase matching?

Eclipse and Resharper have a nice way of navigating files. If I have the following folders (or files) in my current directory MyReallyLongName MyReallyLongAndFunName MyReallyLongAndNotReallyFunName ...
3
votes
1answer
3k views

How to configure folder name case sensitivity in Windows 7?

I need to create files named abc.txt and ABC.txt. By default, Windows 7 will not allow this. Somebody please help me to solve. NB: nfsadmin is not working in my system.
1
vote
1answer
515 views

How to delete a file with a bad file name? [duplicate]

I had a file downloaded from torrent by a media center device on an external hard disk. The file has an invalid filename such as "Movie ** 480p ** NEW.wmv" (without the quotes). I cannot delete or ...
0
votes
2answers
916 views

How to organize files in accordingly named directories from command line under Linux

I have a directory filled with various files, differently named (i.e. not named with a specific pattern) and with different extensions, and I want to put each file in a newly created subdirectory ...
11
votes
1answer
5k views

Windows explorer sees different file name from cmd

I just got a new computer, and put my old hard drive (which contained Windows) in the new computer to keep my old files. I was successfully able to remove the Windows directory from this drive, but ...
7
votes
3answers
3k views

Why do I have identical files in one directory, in Windows 7?

I just rebuilt my system after a new Power supply fired my CPU, MBD, Video card & a Blu-Ray drive. During all this I had to restore Windows from a backup (sector copy). All seems well, but ...
3
votes
5answers
8k views

While renaming, How can I disable Windows 7 highlighting the entire filename when I click'n'drag across part of it?

This is super annoying. If I highlight one word in the long filename, the entire filename gets highlighted (usually 1 millisecond before I tap delete or type something else). I just want Windows to ...
2
votes
2answers
3k views

Escaping %’s in file-/folder-names at the command-line

Does anybody of a way to access files and directories that have a % in their name (which is valid) from the command-line? Specifically, if there are two %’s and the text between them happens to ...
1
vote
2answers
1k views

How do I rename an illegally long filename to be short enough to use normally?

I have a file with a very long filename (in excess of the 255 char limit) copied onto a FAT32 ubs stick from a power mac. How can I rename it to be less the 255 chars?
0
votes
4answers
360 views

bash - directories ending in . and whitespace cannot be removed

On my external hard drive are two directories, Fun. and Complex_, where that _ is a whitespace. I cannot empty from my trash or remove them with rm -rf and I want to. Neither show up in Finder on ...