Help - Search - Members - Calendar
Full Version: Change working directory
Modelica Forum > Modelica > Modelica
Pingen
Hi,

I installed OpenModelica on my D-drive. But the program keeps looking for files on C:. How do I change the working directory?

(PC user)

Regards,
Pingen
Pingen
It seems like the working directory was never really the problem. I had messed up things in the code and consequently, no result files where produced. Thus there where no results to be found.


adrpo

Hi,

By default OpenModelica 1.4.4 is omc process is started
in %OPENMODELICAHOME%/tmp by OMShell or OMNotebook.
You can use the cd command to change directories:
cd("drive:/path/to/where/you/want")

Cheers,
Adrian Pop/
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.