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]
  1. Open File Explorer (open any folder or press Windows Key + E).
  2. Click on the View tab at the very top menu bar.
  3. Check the box next to File name extensions.
    (You will now see .txt appear at the end of your file names).
    [1, 2, 3]
Step 2: Rename your file
  1. Right-click your text file and select Rename (or click the file and press F2). [1]
  2. Delete the .txt at the end of the name.
  3. 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]
  4. 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?

----------------------------------------------------------------------------------------------------------------------

0 comments:

Post a Comment

FB Gadgets | Template Designed by Fatakat PhotosCoolBThemes.com
Code by : paid web directory

https://www.google.co.uk/search?q=site%3Ablogspot.com+fbgadgets