- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have recently converted from Visual Studio 6 with Compaq Visual Fortran to Visual Studio 2005 with Intel Fortran Compiler Integration for Microsoft Visual Studio 2005, 10.1.4156.2005. My complaint is with the IFPORT function CHANGEDRIVEQQ. The help file states:
CHANGEDRIVEQQ changes only the current drive. The current directory on the specified drive becomes the new current directory. If no current directory has been established on that drive, the root directory of the specified drive becomes the new current directory.
This is not true, although it was exactly correct in the Compaq Visual Fortran. Any time the function is called, the root directory of the specified drive becomes the curent directory, regardless of whether a current directory has been established.
If you are aware of any fixes to this problem, please let me know.
CHANGEDRIVEQQ changes only the current drive. The current directory on the specified drive becomes the new current directory. If no current directory has been established on that drive, the root directory of the specified drive becomes the new current directory.
This is not true, although it was exactly correct in the Compaq Visual Fortran. Any time the function is called, the root directory of the specified drive becomes the curent directory, regardless of whether a current directory has been established.
If you are aware of any fixes to this problem, please let me know.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"Current drive" and "Current directory" are fictions which died with MS-DOS. Suggest you eliminate this entire problem by explicitly coding the complete path as a prefix to your filenames, then you always know exactly where each file is located.

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