I copied all my files from Ubuntu to a new Windows 10 computer. Many of these files (literally thousands of them) are plain text files without extensions ...
Every time I try to open one of these files in Windows it doesn't know which app to use, so it asks me. Then I have to first click the "EditPad Lite" icon (my default app for plain text files), then I have to click the "OK" button. Only then will Windows finally open the file. As you can imagine, this is a major PITA when my plan is to open and review all these files manually.
Please note that when I perform the above procedure Windows does NOT give me a checkbox option to "Always use this app to open files of this type", so apparently Windows does not know what type of file it is without an extension. I did not anticipate this issue when moving from Ubuntu to Windows because apparently Ubuntu knows what kind of files they are without extensions.
Ideally I could configure Windows to always use EditPad Lite (or some other Windows-based text editor) to automatically open files without extensions, but this seems impossible -- or at least I have failed to find any online information that explains how to do this. So if this is actually possible, can you please tell me how to do it?
Alternately my second-best option (or maybe this is the better option anyways?) is to have Windows batch-rename all my no-extension Ubuntu files by appending .txt to their names:
All the files I copied from Ubuntu to my Windows computer are located in my Home folder or in a nested subfolder of my Home folder. There could be a dozen or more nested subfolder levels in my Home folder, so any script I might use to rename my no-extension files would need to find and rename these files in all my nested subfolders.
Can you possibly post a script that I can use to perform this batch-renaming task?