cwd for cmd basepath