/Fe (Name EXE File)
| Overview | How Do I | Compiler Options
The /Fefilename option names an .EXE file or DLL or creates it in a different directory. No space is allowed between /Fe and filename. By default, CL names the file with the base name of the first file (source or object) on the command line plus the extension .EXE (or .DLL if you use the /LD option to create a dynamic-link library).
If you specify the /c option to suppress linking, /Fe has no effect.
Examples
The following example compiles and links all C source files in the current directory. The resulting executable file is named PROCESS.EXE and is created in the directory C:\BIN.
CL /FeC:\BIN\PROCESS *.C
The following example is similar to the first example, except that the executable file is given the same base name as the first file compiled instead of being named PROCESS.EXE. The .EXE file is created in the directory C:\BIN.
CL /FeC:\BIN\ *.C