SFC.exe
sfc.exe
Msconfig.exe
With function system or popen.
The user interface interprets the command and passes the program name to the file system, which reads the directory.
Rules for file extensions are based mainly on the underlying operating system and/or file system. Generally speaking, file extensions are just a part of the file name, and can be set to whatever you like.
Files are named in the method: filename.extension When the file is a program, the extension is 'exe' so if a file called 'hello' was a program, it would be called: hello.exe
A compatible file is a file name extension (or format) that a program can read.
.exe (extension of the file name)
That is the file extension. Each file has this extension to tell the system what to do with the file. For example, a program has .exe at the end. This means that it is an executable file, so the system will launch it as a standard executable. A document has .doc or .docx. The system checks file association when you run it, and tells whatever program is set to handle documents to open that file. If you have MS Word, then it will open the file. If you use Open Office, then that program will open it. If you change the extension, then a different program will try to open the file. For example, changing a .jpg to a .txt will open notepad. However, the file is not actually plain text, so you will see many pages of gibberish, since notepad doesn't really know what to do with the image file.
File extensions are simply part of the file name. Your operating system will often use the extension part of the file name (after the dot) to determine which program to open the file with. You could make a simple batch script by opening a .txt file, adding the scripting stuff into it and saving it as a .bat file. Your operating system will then treat it as a script you can run rather than opening it directly in a text editor.
Tools executed from a command line have an .exe file extension and MMC Snap ins have .msc file extension.
Program file extensions simply identify the type of program. For example, an executable program will have a file extension of .exe, and some music files will have the file extension of .mp3
Batch Mode.