General

General

Using UNC path as a working directory

    • FAQFAQ
      Participant

      Error message : “The working directory is a unc path, but the windows command shell is currently not configured to support UNC paths. this may cause failure of the CFX solver. command shell support for unc paths can be enabled by setting the windows registry key disableuncccheck” If you get this message when launching a CFX simulation, it is because you were using a UNC path for the working directory. For instance \servernamedirectory This error is the result of a limitation of the Windows command shell. The first work-around is to use map a drive in Windows to your network path and then use the mapped drive as your working directory so that you are having a working directory like D:\directory instead of \servernamedirectory. The second work-around to override this behavior of the Windows OS and use UNC paths is to set an entry in the Windows registry. This is outlined in https://support.microsoft.com/en-gb/kb/156276 It amounts to setting: HKEY_CURRENT_USERSoftwareMicrosoftCommand Processor add a new REG_DWORD called DisableUNCCheck set to 1