Wednesday, 3 June 2026
MAKE NEW OR RENAME FILE IN WINDOW
----------------------------------------------------------------------------------------------------------------------
MAKE NEW OR RENAME FILE IN WINDOW
https://www.youtube.com/watch?v=BWocJkt8ht4
----------------------------------------------------------------------------------------------------------------------
To change a file extension from
.txt to .html or .php in Windows 10, you must first make hidden file extensions visible. By default, Windows hides extensions, which prevents you from changing them properly. [1, 2, 3]Follow these simple steps:
Step 1: Make file extensions visible [1]
- Open File Explorer (open any folder or press
Windows Key + E). - Click on the View tab at the very top menu bar.
- Check the box next to File name extensions.
(You will now see.txtappear at the end of your file names). [1, 2, 3]
Step 2: Rename your file
- Right-click your text file and select Rename (or click the file and press
F2). [1] - Delete the
.txtat the end of the name. - Type the new extension:
- For an HTML page: Change it to
.html(e.g.,popup.html) - For a PHP page: Change it to
.php(e.g.,popup.php) [1]
- For an HTML page: Change it to
- Press Enter.
Step 3: Confirm the change [1]
A warning message will pop up saying: "If you change a file name extension, the file might become unusable. Are you sure you want to change it?"
Click Yes. Your file icon will change to reflect your web browser or code editor. [1]
Would you like help setting up a default application (like VS Code or Notepad) so these files always open in your code editor when double-clicked?
----------------------------------------------------------------------------------------------------------------------
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment