How do I edit and save my license.dat file without a ".txt" extension?

I am following the instructions from the MATLAB Installation Guide for PC but each time I try to save the license.dat file, Windows adds a ".txt" extension making it unrecognizable to the installer.

 Accepted Answer

Windows expects that each file extension will be associated with an application. On your system, the "dat" extension is not associated with any application and so Windows is assuming you want the license.dat file to be associated with a text editor.
To workaround this:
1. Open the file in a text editor (like Notepad).
2. Go to File->Save As
3. In the dialogue box, enter the filename surrounded by double quotes. Instead of simply typing:
license.dat
you must type:
"license.dat"
By placing quotes around the filename, you tell Windows to refrain from adding an extension to the filename.

More Answers (0)

Categories

Products

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!