-
Assigning an .ADO directory on the Windows Terminal Server.
Assigning an .ADO directory on the Windows Terminal Server.
Question:
Help! I’m trying to download an .ADO file in Stata (using ssc), but the Windows Terminal Server won’t let me – it seems write-protected.
Answer:
The Windows Terminal Server in indeed write protected, and as such we’ll need to change the .ADO directory. In the Stata command window type
Sysdir
This will list the current assignments of Stata’s default directories. Notice the PLUS directory is assigned as “C:\ado\plus”. This C: drive is actually on the WTS, as Stata is running on the server. This is what we’ll need to change.
To start, create a new folder in you’re My Documents directory on the WTS. Double-click the My Documents folder on your desktop on the WTS. Create a new folder here called Stata. Within your new Stata folder create an ADO folder.
Now, in Stata type the following:
sysdir set PLUS "U:\My Documents\Stata\ADO"
This will re-assign the PLUS directory to the U: drive – your personal drive on the WTS tied to your UT EID. Now, you are free to download the ado file of your choice. For example:
ssc install newprogramname
Typing the above will load everything associated with the .ADO file on the ssc server (http://www.repec.org).
|