## set working directory

Use this for suggestions about improvements in RATS

### set working directory

It would be nice to have a command that allows setting the working directory inside a program. execpath is almost the same except that it requires you have started the program... There exists a menu command to set working directory, so the functionality exists, but there does not seem to be a programming command for the same functionality. (I searched the reference manual in Acrobat, and did not locate such a function...)

My apology if I missed such a command.

Richard Anderson
randerson

Posts: 2
Joined: Wed Dec 01, 2010 12:24 pm

### Re: set working directory

randerson wrote:It would be nice to have a command that allows setting the working directory inside a program. execpath is almost the same except that it requires you have started the program... There exists a menu command to set working directory, so the functionality exists, but there does not seem to be a programming command for the same functionality. (I searched the reference manual in Acrobat, and did not locate such a function...)

My apology if I missed such a command.

Richard Anderson

I'm not sure why it's not documented, but (for instance)

env path=c:\rats\textbooks\greene

will do the trick. We will also be adding a "recently used directories" operation to a future release.
TomDoan

Posts: 2725
Joined: Wed Nov 01, 2006 5:36 pm