1

command prompt error

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?

Eyal zilber's avatar
111
Eyal zilber
asked 2019-02-26 04:16:43 -0500, updated 2019-02-26 04:21:34 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

3

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)

Julien Marrec's avatar
29.7k
Julien Marrec
answered 2019-02-26 07:44:34 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments