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

Is there a way to get the full path to executable at runtime?

Greynolds__Alan
Beginner
401 Views
I know the "old" GETARG(0,...) returns the executable's name but I also need its full path at runtime. Anyway to do this in IVF (even its non-standard)?

Al
0 Kudos
1 Solution
Steven_L_Intel1
Employee
401 Views
Two Win32 calls - GetModuleHandle(NULL) followed by GetModuleFileName.

View solution in original post

0 Kudos
1 Reply
Steven_L_Intel1
Employee
402 Views
Two Win32 calls - GetModuleHandle(NULL) followed by GetModuleFileName.
0 Kudos
Reply