Up and down in folder hierarchy

If the name's always the same then you can use Go ..\B. Otherwise, have a look at Command: Go-Relative (go to next/prev sibling folder).