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

Automatically follow the link in a shortcut

r4
Beginner
362 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
362 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