mkdir faster than shell command

Any alternatives? Thx.

.os.quickMkdir:{

    dir:`$“:”, x, “/”;

    dir set (dummy:til 0);

    hdel sv dir,$“.d”;

    hdel sv dir,$“dummy”};

system "cd ",x;

though, side effect is that you’ll also chdir…  

strace of q process:

read(0, “\ts system "cd abc"\n”, 4080) = 20

gettimeofday({1427256462, 20344}, NULL) = 0

mkdir(“abc”, 0777)                      = 0

chdir(“abc”)                            = 0

gettimeofday({1427256462, 20760}, NULL) = 0

write(1, “0 304\n”, 6)                  = 6

write(2, “q”, 1)                        = 1

write(2, “)”, 1)                        = 1

I have found it. Thx guys :)

http://code.kx.com/wiki/Reference/SystemCommands#.5Ccd\_.5Bname.5D\_-\_change\_directory

Does “mkdir -p” requires splitting and iterating? Thx.

q)system “cd /tmp/a/b/c”

'/tmp/a/b/c: The system cannot find the path specified.