Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

*.bat file

keremusu1
Beginner
611 Views

Hello!

I have written a subroutine with the extension *.f

I want to create the file with the extension *.bat

What do I need to do?

(For example, when I build my solution, I got *.exe, *.obj, etc.)

Thanks!

0 Kudos
1 Reply
jimdempseyatthecove
Honored Contributor III
611 Views

The .exe file is the execuitable file.

To run the program from Windows Explorer - double click on the file with the .exe extension.

To run the program from the command line. Set current directory to that of the .exe file then type in the file name (without the .exe). You can supply additional arguments on the command line if your program requires additional arguments.

C:
CD YourFolderRelease
YourProgramName

You can also run the .exe file while the current directory is other than that of where the .exe file resides if you explicitly enter in the path name

C:YourFolderReleaseYourProgramName

The extension .BAT is used for text files containing command lines. It is not used to hold execuitable program files.

Jim Dempsey

0 Kudos
Reply