17

Just coding in C++ on visual studios and when i run the program it executes and then outputs this.

I believe it may be because i am running VS on parallels? Could this possibly be why? and if so, any way to get rid of it?

error message:

'\\psf\home\documents\visual studio 2010\Projects\Object_Oriented_Coursework\Object_Oriented_Coursework' 
CMD.EXE was started with the above path as the current directory. 
UNC paths are not supported. Defaulting to Windows Directory. 
mwild
  • 1,483
  • 7
  • 21
  • 41

1 Answers1

22

without more details... it looks like you've opened your sln file from a UNC path... which means the execution when running from within VS should use the UNC path but it is not allowed.

Solution to be clear: Instead of accessing \share\folder\file.sln, create a drive Z: that maps \share\folder and then open Z:\file.sln

Itchydon
  • 2,572
  • 6
  • 19
  • 33
NirMH
  • 4,769
  • 3
  • 44
  • 69
  • 1
    my answer is valid. map a network drive to your path and use it – NirMH May 15 '14 at 10:30
  • 3
    how do i got about doing that? sorry for seeming oblivious to simple things :) – mwild May 15 '14 at 10:43
  • 1
    no worries i think i have solved it, i had it mapped to the Z: drive but was opening it locally. Thanks for your help – mwild May 15 '14 at 10:48
  • 6
    Solution to be clear: Instead of accessing `\\share\folder\file.sln`, create a drive `Z:` that maps `\\share\folder` and then open `Z:\file.sln` – KrisWebDev Dec 06 '15 at 13:32