Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

Confusion re placement of INPUT files

WSinc
New Contributor I
373 Views

When I first open a project, how do I know where to put whatever input files are needed?

Of course I could use GETCWD to find out, but is there some rule that says where that would be by default?

I used to think its where the EXE is, but apparently that is not always the case.

 

0 Kudos
1 Reply
Steven_L_Intel1
Employee
373 Views

If you are running from within Visual Studio, the default is the "project directory" - that is, the directory where the executable project's .vfproj file is located. You can change this in the Debugging property of the project.

If you just double-click on an EXE in Windows Explorer, the default is the directory with the EXE. If you use a shortcut to start the EXE, you can set a "Start In" property of the shortcut - if it is not set then it is the same as double-clicking the EXE.

0 Kudos
Reply