CREATE NEW TEXT FILES FROM THE COMMAND LINE

You can create a simple text file in Notepad that will return functionality to the Fonts folder in Control Panel. But if you often have to create small files and batch files, you might wonder if there's an easier method than using Notepad. Instead of opening extra programs to write new files, you can create these files from the command line.

Now, let's try to create the Desktop.ini from the command line. (We'll call it Desktop_test.ini for safety reasons.) At the command line, type the following commands and press [Enter] at the end of each line.

cd\windows\fonts
copy con desktop_test.ini

[.ShellClassInfo]
UICLSID={BD84B380-8CA2-1069-AB1D-08000948F534}
Press [Ctrl]Z, and you'll see the following appear on the next line:

^Z

Press [Enter], and you'll see the following response:

1 file(s) copied.

The copy con command takes the text that you type after the command and copies it to the file you name when you close using the [Ctrl]Z command.