* optimize cmd cpwd