Hi, after installing the most recent Stata update whenever I try to set a working directory from a do file I will get the following error:
cd "C:\Users\Dodo\Desktop\projects\fta"
unable to change to C:\Users\Dodo\Desktop\\projects\fta
r(170);
According to the Stata documentation, an error r(170) means that cd was unable to change to the directory you typed because either it does not exist, it is protected, or it is not a directory (moreover, it says that this error is only for Linux or Mac - but I have windows 7).
However, this can't be true as I can still change the working directory manually outside do file but doing so is incredibly annoying. Moreover, before the same do file worked fine and I did not change any setting in windows. The only thing that preceded this was installing the latest update which was shown on the initial result display screen after the start of a program.
Moreover, all other commands in do file work fine except for the cd. Is there any way to make it work again?
Thanks in advance for any help!
cd "C:\Users\Dodo\Desktop\projects\fta"
unable to change to C:\Users\Dodo\Desktop\\projects\fta
r(170);
According to the Stata documentation, an error r(170) means that cd was unable to change to the directory you typed because either it does not exist, it is protected, or it is not a directory (moreover, it says that this error is only for Linux or Mac - but I have windows 7).
However, this can't be true as I can still change the working directory manually outside do file but doing so is incredibly annoying. Moreover, before the same do file worked fine and I did not change any setting in windows. The only thing that preceded this was installing the latest update which was shown on the initial result display screen after the start of a program.
Moreover, all other commands in do file work fine except for the cd. Is there any way to make it work again?
Thanks in advance for any help!
Comment