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.
29280 Discussions

Automatically follow the link in a shortcut

r4
Beginner
364 Views
Is it possible for Intel Fortran for Windows to open a file through a shortcut in WinXP Pro? I tried just the OPEN statement on a shortcut that linked to a text file; that did not work. Is there some other way? Does this work on Vista?
0 Kudos
1 Reply
Steven_L_Intel1
Employee
364 Views
Shortcuts are a feature of the Windows shell, not the file system, so no, you cannot "OPEN" a shortcut. There is a COM interface for resolving a shortcut ("Shell link") which might be usable from Fortran using the Module Wizard, but this is not something I have ever looked at.

See this MSDN Library article for more information.
0 Kudos
Reply