Let's suppose that you are going to rename test (a text file) file and give it the name file1. When renaming your text file test.txt, you should let it be file1.txt. So, don't forget the extension.
If you change its extension and if this extension is not known by Microsoft Windows, it will give you the command open with.
This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.