none
Windows Script Command

    Question

  • I have somehow inadvertently changed my CMD file settings from Windows Command Script to Notepad. How do I get back the original setting ? Thanks in advance.
    Wednesday, February 10, 2016 5:29 PM

Answers

  • ".cmd" files are just text files anyway, but with the ".cmd" extension. Just rename the file from script.txt to script.cmd.

    Windows might hide the file extension by default, but you can change it in the command prompt with the ren command, or open notepad and when choosing save-as, select "all file types" and type .cmd.

    You could also show file extensions in windows to fix it in explorer https://support.microsoft.com/en-us/kb/865219


    Mike Crowley | MVP
    My Blog -- Baseline Technologies

    Wednesday, February 10, 2016 5:54 PM

All replies