
- #How to change default program file type how to#
- #How to change default program file type windows 10#
I would like to warn you once again, that this trick can lead to unexpected behavior of the operating system - use it only if you exactly know what you are doing. Now you can reboot your PC and start using Windows normally. Create a symbolic link from the new folder to the new folder: mklink /D "D:\Program Files" "E:\Program Files".If you're not sure what extension the file is using, open File Explorer to find the file and use the View > File name extensions option to show file extensions. Locate the file extension for which you want to change the default program. Delete your current C:\Program Files folder. Scroll down a little and select Choose default apps by file type.

I assumed that drive E: is the desired new location for your Program Files folder. Close the Open dialog and then close Notepad and type the following in the command prompt: xcopy "D:\Program Files" "E:\Program Files" /e /i /h /s /k /p.Note the proper drive letter of your Windows partition where you have the Program Files directory. Click "This PC" in the left pane of the Open dialog to see your PC drives. key (period), followed by the file extension. Place the cursor in the text box at the top of the screen.
#How to change default program file type how to#
When Notepad opens, open the File menu -> Open. How to set a default program for a file type or link type on Windows 11 1.
#How to change default program file type windows 10#
Personally, I never change this location and do not recommend you to change it unless you know exactly what you are doing. Windows 10 uses file associations to determine which program will automatically open a specific file type on your computer.
/DefaultApps-56d4ac765f9b5879cc9143ee.png)

Note that you can always change the location where software will be installed, almost all software installers have this option.
