set working directory

Use this for suggestions about improvements in RATS

set working directory

Unread postby randerson » Mon Apr 11, 2011 10:27 pm

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: 14
Joined: Wed Dec 01, 2010 12:24 pm

Re: set working directory

Unread postby TomDoan » Tue Apr 12, 2011 8:42 am

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: 7387
Joined: Wed Nov 01, 2006 5:36 pm


Return to Suggestion Box

Who is online

Users browsing this forum: No registered users and 2 guests

cron