Hi, I am trying to create two directories using the preexec command but I must be missing something very simple. I just can´t figure out the syntax. How would I continue this so that I could create dir2? preexec = if [ ! -e /home/%U/dir1] then /bin/mkdir /home/%U/dir1; fi Regards Robert ----------------------------------------------------------