Windows 10: "The file name is not valid." Occurs when saving as new file

Discus and support "The file name is not valid." Occurs when saving as new file in Windows 10 Gaming to solve the problem; Hi,I am pretty sure the name is valid. I can create a file with exactly the same name on my own and then overwrite it instead of save file as.... Discussion in 'Windows 10 Gaming' started by Mingyang Hao1, Jan 19, 2023.

  1. "The file name is not valid." Occurs when saving as new file


    Hi,I am pretty sure the name is valid. I can create a file with exactly the same name on my own and then overwrite it instead of save file as.

    :)
     
    Mingyang Hao1, Jan 19, 2023
    #1
  2. Tatty_One Win User

    Saves log files ?

    You can either read the files in Windows or my preferred method is.....

    Download CCcleaner from here...........

    http://www.piriform.com/ccleaner

    You can then run cleaner, you will see the log files listed, then if you right click you can save as a text file and then have a read. You may also get an "error reporting" log listed seperatly.
     
    Tatty_One, Jan 19, 2023
    #2
  3. slozomby Win User
    Recent File List

    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file1

    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file2
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file3
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file4
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file5
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file6
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file7
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file8
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file9
    ...

    you get the idea. ( too lazy to put it in a for loop and test it.

    or just open regedit and remove all the fileX from that key.
     
    slozomby, Jan 19, 2023
    #3
  4. "The file name is not valid." Occurs when saving as new file

    Default file extension - cannot save file name as .php in notepad.

    Hi Niko,

    Thank you for contacting Microsoft Community.

    I suggest you to follow the below steps to save the WordPad and check if it helps.

    1. Open the “WordPad”, click on “File”.

    2. Click on “Save as”, under file name enter the name abc.php.

    3. Under “Save as type” select as “All files”.

    4. Click on “Save” and check.

    Hope this information is helpful and do let us know if you need further assistance. We will be glad to assist.
     
    Karthicka_R, Jan 19, 2023
    #4
Thema:

"The file name is not valid." Occurs when saving as new file

Loading...
  1. "The file name is not valid." Occurs when saving as new file - Similar Threads - file name valid

  2. "The file name is not valid." Occurs when saving as new file

    in Windows 10 Software and Apps
    "The file name is not valid." Occurs when saving as new file: Hi,I am pretty sure the name is valid. I can create a file with exactly the same name on my own and then overwrite it instead of save file as....
  3. Requested Feature: When saving a file but there's already a file with the same name, add a...

    in Windows 10 Gaming
    Requested Feature: When saving a file but there's already a file with the same name, add a...: Instead of simply asking Yes/No, there should be a third option to save with an automatic 1, 2, 3 etc. added to the end of the filename, exactly like how Windows automatically does in other instances. In other words, it would just be taking something that Windows already does...
  4. File Name Overrides Chosen "Save as type" Extension When Saving Files

    in Windows 10 Network and Sharing
    File Name Overrides Chosen "Save as type" Extension When Saving Files: A customer uses the Windows Snipping Tool often.He'll capture something and when he clicks on "Save As" he'll see the default file name:Capture.PNGHe then changes it to:Project 11.2022Even though the "Save as type" is .PNG, the file is saved as .2022 and obviously won't open...
  5. File Name Overrides Chosen "Save as type" Extension When Saving Files

    in Windows 10 Gaming
    File Name Overrides Chosen "Save as type" Extension When Saving Files: A customer uses the Windows Snipping Tool often.He'll capture something and when he clicks on "Save As" he'll see the default file name:Capture.PNGHe then changes it to:Project 11.2022Even though the "Save as type" is .PNG, the file is saved as .2022 and obviously won't open...
  6. File Name Overrides Chosen "Save as type" Extension When Saving Files

    in Windows 10 Software and Apps
    File Name Overrides Chosen "Save as type" Extension When Saving Files: A customer uses the Windows Snipping Tool often.He'll capture something and when he clicks on "Save As" he'll see the default file name:Capture.PNGHe then changes it to:Project 11.2022Even though the "Save as type" is .PNG, the file is saved as .2022 and obviously won't open...
  7. 'programas' is not a valid short file name

    in Windows 10 Gaming
    'programas' is not a valid short file name: I 've tried to install vmware and virtualbox but I can't because I have this problem, if anyone can help me. https://answers.microsoft.com/en-us/windows/forum/all/programas-is-not-a-valid-short-file-name/515e5a0b-b75c-40df-b8a9-440a5c32cfa5
  8. 'programas' is not a valid short file name

    in Windows 10 Software and Apps
    'programas' is not a valid short file name: I 've tried to install vmware and virtualbox but I can't because I have this problem, if anyone can help me. https://answers.microsoft.com/en-us/windows/forum/all/programas-is-not-a-valid-short-file-name/515e5a0b-b75c-40df-b8a9-440a5c32cfa5
  9. Setup automatic file save naming convention when saving files

    in Windows 10 Ask Insider
    Setup automatic file save naming convention when saving files: I’m not even sure what to Google to try and figure this out. Looking for any help. My goal is when I go to save a file that the name of the file starts with this date format... YYYY-DD-MM Then the highlighted blue area would be editable and I could put whatever in there. But...
  10. Strange file name autopopulated in file name of "save as" when saving from Edge

    in Windows 10 Ask Insider
    Strange file name autopopulated in file name of "save as" when saving from Edge: When I unlocked my computer this morning and tried "save as" for a photo out of Edge, there was one of my financial files names auto populated in the "file name" field. It has been some time since I've used Edge (usually use Chrome). I have not done anything with that file in...