So when i save a duplicate file from the net, the system automatically adds a (1) right at the end, before the extension and I have no idea if I can change it.  How do i keep the original file name so I can overwrite the existing one without manually removing the (1)?  Can it be done?
121426
When I save a file (e.g. Images) to a folder which already exist there, Chrome adds a (N) where N is first available number. This causes I have multiple copies of same file! How can I disable Chrome's auto file renaming?   Thanks
101699
I have a bunch of files in a directory (with sub directories) with similar names except the last digit is a different number. I would like to keep the version with the largest file size. However some files will not have any duplicates but I do need to keep that file.  files will look like  111~1.mp4    (1mb) 111~2.mp4    (5mb) 111~3.mp4    (2mb)  222~1.mp4    (3mb)  333~1.mp4    (2mb) 333~2.mp4    (4mb)  444~1.mp4    (1mb) 444~2.mp4    (5mb) 444~3.mp4    (3mb) 444~4.mp4    (7mb)   I would like to keep only the largest version size.  111~2.mp4    (5mb)  222~1.mp4    (3mb)  333~2.mp4    (4mb)  444~4.mp4    (7mb)   Im afraid I got stumped, Ive been searching but havent been able to get it going what I have done so far is able to get the size of the files  set "filename=*.*" for %%A in (%filename%) do echo.Size of "%%A" is %%~zA bytes   but now I have to compare the duplicates to each other and delete the smaller size version and only keep the larger size version and if their is no duplicate than keep that version.
25249
I realized I had named a bunch of files in an off-by-one fashion so I wanted to rename any file starting with "1" to the same thing except starting with 2.  For example mv 1.4.5.txt 2.4.5.txt or mv 1-chart.jpg 2-chart.jpg etc.  I tried mv 1* 2* but this was not accepted because it interprets 2* as a directory.
90524
I'm sure this is a really simple setting I'm having trouble finding. If I delete a web part then add it again, there is a number in brackets after the title that goes up by 1 each time. How do I get rid of this?
95308
Windows still uses ~ for shortening files and directories with long names. You can see the "short" name by typing dir /X in the command prompt.  My question is how are the digits assigned to the short file names? It doesn't seem to be alphabetical nor does it seem to work by file creation time.  For example:  I create a new text file: C:\reallylongfilenameB.txt  Then I run dir /X and see the short name of fileB is REALLY~1.TXT  I create a second text file: C:\reallylongfilenameA.txt  Then I run dir /X and see the short name of fileA is REALLY~2.TXT  Then I set the clock back a day, delete C:\reallylongfilenameA.txt and then re-create it, essentially making the create date of C:\reallylongfilenameA.txt 1 day before C:\reallylongfilenameB.txt.  I run dir /X and C:\reallylongfilenameA.txt short name is still REALLY~2.TXT.  Given this example, is there any way to make the short name of C:\reallylongfilenameA.txt be REALLY~1.TXT?
98998
I need to do create a file with a filename such as :&gt;?, is this possible somehow? Windows stops it.
49075
I'm trying to figure out exactly when I created a file. Windows 7 thinks I don't know how to subtract two times, and tells me it was created "1 hour ago." I need a little more detail than this, but I can't seem to find a setting to toggle this "feature" off.  Example below:
116730
I received some important files via mail. There are about 150 files like these. The extensions of the files are named as zip1,zip2,zip3, zip_ etc. I just want to change the extension of these files back to zip using a single command to avoid the manual task of renaming each file.
72262
Initially I thought it was a coincidence, but now I see there's even  for it: all hidden file names start with a dot. Is this a convention? Why was it chosen? Can it be changed? Or in other words (as a related question @evilsoup suggested that implies the answer to a bunch of others): can I hide files without renaming them (using . as the first character of their name)?
37579
This is a link I have in a column of a table:  http://earthexplorer.usgs.gov/browse/etm/1/11/2000/LE70010112000130KIS00.jpg   There are like 1000's of rows like this.    Is it possible to extract the FileName like LE70010112000130KIS00 (without the path and filename extension) and put it in another column?    I am new to SQL Server.
42913
Is there a convenient way to rename a file (or dir) without redundantly repeating the path or directory-changing to it?  For example …  mv -some_flag db/migrations/abc_201911201243.php abc_20191101090000.php   … to rename the file without moving it out of that directory.  I looked into the man pages for mv, rename and rsync but didn't find anything, so I'm wondering if there is by chance a non-obvious trick to do this.
57019
Normally we use a different file to redirect the output.  For example :  cat &lt; first &gt; temp   In this command the contents of first are redirected to temp instead of the standard output.  Then why does it truncates the file if I use the same file name?  Why can't it overwrite the same file?  cat &lt; first &gt; first
1807
I've got bunch of files with ill-formed numbering:  prefix-#.ext       | for files with number 1-9 prefix-##.ext      | for files with number 10-99 prefix-###.ext     | for files with number 100-999   Due to further processing I need all of their names to be in format: prefix-###.ext. Is there any easy way to do that?
105999
Traditionally  at the end of a filename after uploading it via the image uploader. That doesn't seem to work any more. I've tested it on Q&amp;A as well as chat.        (Yes, I know big M doesn't work)  Could we have this fixed please?
112078
I am trying to determine a perl method to add an extension to a list of files. I can already rename a list of files with a certain extension to some other extension, but I need to be able to do this for any file name, whether or not it already has an extension.  For example, I have a list of files such as:  file1 file2 file3 ps.dir   And I want to rename them ALL to filename.extension:  file1.bad file2.bad file3.bad ps.dir.bad
93841
When I try to delete one of these two shortcuts, a message appears saying, "If you remove this file, Windows or another program may no longer work correctly."! I don't think that it is possible to keep same named files into a single directory. Is this any malware or anything harmful for my PC?
27098
I once read that one way to obtain a unique filename in a shell for temp files was to use a double dollar sign ($$).   This does produce a number that varies from time to time... but if you call it repeatedly, it returns the same number.  (The solution is to just use the time.)  I am curious to know what $$ actually is, and why it would be suggested as a way to generate unique filenames.