Question-and-Answer Resource for the Building Energy Modeling Community
Get s tarted with the Help page
Ask Your Question
1

command prompt error

asked 2019-02-26 04:16:43 -0500

Eyal zilber gravatar image

updated 2019-02-26 04:21:34 -0500

Hello, when I try to use the command line interface for running the example file as directed in the command line interface documentation. I get the error:

D:>/path/to/openstudio.exe run -w /path/to/compact.osw The system cannot find the path specified.

I added the path as an environment variable.

Can you tell me please what is the reason for this error?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2019-02-26 07:44:34 -0500

If openstudio.exe is in your PATH, then you can just do openstudio.exe run ....

To give the path to the OSW, either you give: * a full path (eg C:\path\to\compact.osw or perhaps C:/path/to/compact.osw), or, * a relative path given the current directory by using the ./ prefix ./path/to/compact.osw or omitting itpath/to/compact.osw.

If you pass /path/to/compact.osw it thinks of it as an absolute path (which would be valid on Unix, but not windows)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

 

Question Tools

1 follower

Stats

Asked: 2019-02-26 04:16:43 -0500

Seen: 74 times

Last updated: Feb 26 '19