mbrazeau / morphy.archive

Morphy releases are archived here. This project serves as the root folder for all of the source projects in Morphy.
1 stars 0 forks source link

Folder navigation with relative paths #1

Open ms609 opened 4 years ago

ms609 commented 4 years ago

Running v02b x64 Windows version, I'm struggling to navigate to relative paths.

cd = c:/path/to/morphy

works fine. Then I can go

cd = ../

and I see

Setting working directory to: ../

(Perhaps it would be useful to see the full path here, rather than just ../?)

But if I then go

cd = morphy

or ./morphy or /morphy or morphy/ then I see

 Error: Invalid directory 

I get the same error if I input

cd = c:/path/to
cd = morphy

or

cd = c:/path/to/morphy
cd = ../morphy
mbrazeau commented 4 years ago

Edit: sorry, my initial reply was meant for a different issue!

I will have a look at this and probably add a 'pwd' command. However, the cd command parsing isn't that sophisticated yet to expand relative paths. So just use absolute paths for now. Can try to fix this for subsequent minor-point version.

mbrazeau commented 4 years ago

Edited the title of this issue as it affects Mac and Windows issues as far as I've tested it.