Questions tagged [filenames]

A filename (also written as two words, file name) is a name used to uniquely identify a computer file stored in a file system. Filenames are a human-friendly label for the references or pointers that operating systems use to identify files within a file system.

Filter by
Sorted by
Tagged with
1 vote
0 answers
38 views

Rearranging parts of a filename in Windows 10 [closed]

I have over 100 photos of deep-sky objects (galaxies, Nebulae, star clusters, etc.) taken by a Seestar "smart telescope". The Seestar creates files starting with "Stacked_" ...
1 vote
4 answers
12k views

How do I delete a part of a file name for a batch of files in Windows 8.1?

I have lots of files in a folder but they all start with a line of numbers and are separated from the actual file name by a "_" For example: 123123123_filename.txt 456456456_filename2.txt ...
-2 votes
0 answers
28 views

Automatic Renaming: Stop Overriding Files [closed]

How do you automatically rename or change the naming of the files in Avidemux and VirtualDub2 to prevent overwriting previous ones? I mean, how do I automatically add timestamps to the names of my ...
1 vote
3 answers
5k views

What file names are not allowed in OneDrive?

I have been having some trouble lately with OneDrive files not syncing properly, and each time it turns out to be some obscure naming restriction. Is there a full list somewhere of what filenames ...
2 votes
1 answer
4k views

batch-rename filenames with numbers to sort alphabetically

I want to batch-rename files containing numbers, padding the numbers with zeroes. The goal is to sort numbered sets of files alphabetically in the correct order in any application. In a set of files ...
0 votes
1 answer
79 views

Folder names and file names text wrapping in wrong position

File names and folder names on windows 10 - the text wraps down to the next line and it is visually distracting and, frankly, horrible to read. How do I stop the text from wrapping? Letters of the ...
0 votes
1 answer
5k views

MobaXterm - Why is my LOG filename shows "localhost" instead of my hostname when establishing an SSH session?

I'm quite new with MobaXterm. For each SSH session that I open to a given host, I want to log the terminal output to an individual file whose filename includes the given hostname + timestamp. I have ...
6 votes
4 answers
20k views

Can I change the way Windows 10 gives names to screenshot?

Is it possible, by a registry hack or other method, to change the way Windows 10 names my screenshot taken and saved with Windows + Print Screen? Currently my screenshots in C:\Users\[Username]\...
56 votes
9 answers
79k views

Why can't I name a folder or file 'CON' in Windows?

In all versions of Windows, we are unable to rename a file or a folder name as CON without third-party file renaming software. Trying to do this in Windows 7 results in an error: The specified ...
4 votes
1 answer
5k views

Unicode filenames in Windows vs. Mac OS X

I was trying to use a couple of Windows file syncing programs (Microsoft SyncToy, FreeFileSync) to sync between two folders: a local Windows folder and a OS X folder mounted on the Windows machine ...
7 votes
5 answers
4k views

Automatically strip invalid characters from Windows filenames

I often paste titles of PDFs into their filenames so I can easily search for them. They often have invalid characters like newlines or :, and Windows pops up a stupid error and then reverts the ...
14 votes
6 answers
28k views

How to show file names instead of metadata title in VLC?

Metadata from various artists and music websites is a gigantic inconsistent mess and much harder to edit than filenames. To actually know which file is currently playing, I would like to see it in the ...
0 votes
0 answers
92 views

How to force Windows file explorer to display files that have invalid names?

I was searching journals on a research topic. I eventually got to some old exotic site containing a zip file which according to the description contained multiple documents. However when I unzipped it ...
1 vote
1 answer
32 views

Make a list of files that contain just numbers as the filename in Windows [closed]

I have a large number of files on multiple hard drives, some of which are just in a format like 1.mkv Sometimes that 1 is actually multiple digits, but in all cases (that I'm currently looking for) it ...
0 votes
1 answer
305 views

Some files have truncated filenames with mkisofs -J -R

I have installed mkisofs 3.02a09 (i686-pc-mingw32) on Windows 10. I'm trying to create an ISO with mkisofs but some filenames are truncated : PS C:\tools> mkisofs -J -R -o VDI-Michelin-Editions-...
20 votes
4 answers
89k 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 -...
0 votes
1 answer
4k views

Which Unicode characters cannot be used for NTFS file names?

Typically, my programs are creating files with Extended Latin, CJK or Arabic characters in file names without issues and according to input data. I was under impression that only officially named ...
0 votes
1 answer
572 views

Asterisk in Windows filename

I'm trying to copy and paste the asterisk in a filename in Windows, but I got an error; I copied also the asterisk from charmap, but nothing to do. Is there a symbol also similar to the asterisk that ...
1 vote
0 answers
27 views

Windows 11, Filename of C:\Users\name was misspelt, renamed the file however when I open the command line It still shows the misspelt name [duplicate]

When setting up my laptop I misspelt Artoid as Artoi, this meant the filename of the user file was Artoi, I changed the filename as shown in the photo below: The file is named Artoid in file explorer. ...
1 vote
1 answer
149 views

Is there a simple way to specify whether a webp is lossy (like jpg), lossless (like png), or animated (like a gif)?

For example, is it possible to name something "file.lwebp" to explicitly designate that it is lossy, or "file.awebp" to designate it is animated? Or is there no such method, and ...
5 votes
1 answer
21k views

Windows Server 2012 R2 Standard “Enable NTFS long paths policy” option missing

A similar problem as in Windows 10 occurs in Windows Server 2012 R2 Standard. The Enable NTFS long paths policy is neither in Local Computer Policy > Computer Configuration > Administrative ...
0 votes
0 answers
89 views

How can I restrict filenames to only allow [A-Za-z0-9_-.] in Windows?

For reasons, I want to limit filename characters to the set [A-Za-z0-9_-.] (upper & lowercase alphabet, numerals 0 to 9, underscore, hyphen, and period). No spaces, exclamation points, @ signs, ...
15 votes
7 answers
13k views

Linux copy to fat32 filesystem: invalid argument

When I copy files from an ext3 partition to a fat32 one using cp: cp -R /ext3/stuff /fat32/partition/ I get invalid argument messages for all files with colons and question marks in. Is there any ...
2 votes
2 answers
1k views

Cannot open Powershell script with comma in filename via "context menu » edit"

I noticed that Windows 10 (at least the current stable build 1607) does not properly escape filenames when you try to open a PowerShell script (.ps1) via context menu » Edit. While ampersand and ...
0 votes
0 answers
23 views

Is there a program that can select the smallest files by size during a file conflict in windows 10

So I'm resizing some VTFs by converting them back into PNGs then sizing them down to 512x512 as maximum anything smaller stays what it is. that said I have 2 folders 1.oldmats 2.newmats. now while ...
6 votes
3 answers
8k 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
1 answer
104 views

Windows 10 - script with regex to compare partial filenames and copy over ones that don't exist

I'm running Windows 10. I'd like to copy many files from a folder into another, and probably I need a script, or any else solution that can do it. I have 2 folders: the folder A contains files named ...
1 vote
3 answers
3k views

Windows 7: "Hide file names" for all files?

So, I just discovered that you can hide the file names of pictures and videos when you are in a thumbnail view in explorer (via View - Hide file names)... but often I have other files mixed in. This ...
93 votes
5 answers
72k 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 name....
0 votes
0 answers
118 views

Excel Macro error prompting Save As dialog box with weird file name

I made a code for a friend something like this : Sub SaveToMainData() Application.DisplayAlerts = False Application.ScreenUpdating = False pfn = ThisWorkbook.Path & "\Backup\MainData.xlsb&...
0 votes
2 answers
383 views

Is there a tool to check filenames before burning to discs?

Is there a software that can check for filenames in a certain folder so that there wouldn't be any error when trying to burn those files into a DVD or any optical media? I always burn different kinds ...
3 votes
0 answers
499 views

Microsoft Word Print/Save as PDF now “Untitled” instead of DOCX filename

Just recently my copy of Microsoft Word for Mac Version 16.72 (2021) has stopped titling filenames of PDFs when exported from the Print dialog. Steps: Open or create a Word DOCX file. Hit commandP, ...
28 votes
6 answers
46k views

Windows Explorer sorting order for special characters?

What is the sorting order used in Windows Explorer? I was specifically wondering what special characters sort after the alphabets? As far as I can tell (test), all special characters seem to be ...
28 votes
7 answers
171k views

How do I find and replace a character in filenames in Windows 7 using Explorer?

I want to replace all the underscore characters (_) with a space () in a filename. How can I do this quickly, when I have lots of _ characters to replace?
0 votes
2 answers
777 views

Delete all files with names longer than 100 characters?

A beta software I installed accidentally created a log file with file name longer than 100 characters in each folder. It's taking a very long time to delete them one by one Is it possible to bulk ...
0 votes
3 answers
383 views

How to check in Bash if there is a file with an asterisk it its name

I've got an error in a Bash script that creates files with an asterisk ("*") in the name. I do not want this, so I'm trying to test at various points in the script if such a thing exists ...
6 votes
2 answers
6k views

Dots at the end of file name?

Silly question: If you rename a file, Say: image.jpg to image.jpg.. it disappears. Is this the way Windows handles deletes or something?
1 vote
1 answer
1k views

Is there a way to copy the file path of an asset in Adobe Bridge?

Is there a way to copy the file path of an asset in Adobe Bridge? I am using Adobe Bridge on Microsoft Windows. According to this thread in the Adobe forums: Click the last item in the path bar or ...
1 vote
0 answers
71 views

How do I print from an application to a line printer in Linux Mint?

I'm using Linux Mint and I have a BASIC interpreter that normally sends the output of LPRINT, LLIST, etc. to /dev/null. I want to send it to the line printer (network connected). BASIC has a command ...
3 votes
2 answers
3k views

rsync "File name too long (36)" error for filenames with UTF-8 characters

Trying to copy files from an NTFS-formatted HDD to an EXT4-formatted HDD, rsync fails to copy some of them having relatively long file names consisting of Asian (UTF-8) characters. For example, there'...
0 votes
2 answers
445 views

Remove all characters in multiple filenames, that follow a specific character, in Mac OS

Trying to find a script, or app, that batch removes filename clutter following proper formatting. For example this Exercise [2009] previous version.png into this Exercise [2009].png I need the final ...
0 votes
0 answers
84 views

How to Break lines of the displayed file names under extra large icons' miniatures at specified points in Windows Explorer?

How to Break lines of the displayed file names under extra large icons' miniatures at specified points in Windows Explorer? I want to optimize this file name display mode for the Extra large icons ...
1 vote
3 answers
3k views

How to trim multiple file names using batch file

I need to trim all file names in a folder on a daily basis and therefore am searching for batch file recommendations. Any help is much appreciated!! The numbers behind the file names are changing on a ...
1 vote
1 answer
47 views

How do I correctly execute 'vim $(grep -rli pattern | sed 's/\(.*\)/"&"/')' in bash?

I am trying to edit files that contain text matching a regular expression with vim and use the following command in bash to do that: vim $(grep -rli pattern | sed 's/\(.*\)/"&"/') I ...
2 votes
2 answers
4k views

Renaming a file with mv: "cannot move to a subdirectory of itself"

I'm trying to rename a file using the regular mv command which has worked countless times before. $ ls -l |grep "Picture 001" -rwxrwxrwx 1 rolf rolf 657711 Feb 19 21:42 Picture 001_19.jpg $ mv "...
0 votes
2 answers
4k views

Windows 10 Long File Names

I built a new computer from ebay scraps after my laptop died. I began transferring files from my old hard drive (Windows XP to Windows 10) and ran into an issue where I could not either move or delete ...
39 votes
4 answers
35k views

How to diff file names in two directories (without writing to intermediate files)?

I am trying to do something along the lines of: diff `ls -1a ./dir1` `ls -1a ./dir2` But that doesn't work for obvious reasons. Is there a better way of achieving this (in 1 line), than this? ls -...
0 votes
1 answer
977 views

How to remove all files from GIT repo history with path having colon : in filename?

I have ISCSI node filenames with colons stored in GIT repository on Debian 10 Linux. Example: 'iscsi/nodes/iqn.2000-01.com.synology:NAS01-DS916.nas/ff11::111:11ff:ff1f:1ff1,3260,1/default' 'iscsi/...
2 votes
5 answers
5k views

Can't delete Linux folder in Windows / Dos - no 8.3 filename

Same problem as this question - Can't delete folder in Windows 7 - I have a folder I created in Ubuntu, and from Windows I cannot delete the folder. "Could not find this item: This is no longer ...
0 votes
0 answers
156 views

Extract files in order by numbers at end of filename (windows)

I want to use a Windows .bat file to extract a number of files in a folder. I have files with numbers at the end of filename, just before the extension, and I need to extract them in order of these ...

1
2 3 4 5
10