链接已复制
7 回复数
For the fortran IFPORT getcwd would be a no. But you can use windows sdk routines, e.g. _wgetcwd, see https://msdn.microsoft.com/en-us/library/sf98bd4y.aspx
But if you just want the unicode working directory then that is OK if you want to do unicode file handling you will have a lot more work to do as fortran file handling has no unicode support, you will need windows sdk routines
1) The only way I know to do this is with a USEROPEN routine, and this is not for the faint of heart
2) Intel Fortran provides a library of routines for dealing with multibyte character strings. Look in the Language Reference > A to Z section for the routines whose names begin with MB. These are all defined in module IFNLS.
