- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page