(init_cmdargs): When setting dir, expand the dir name.
Attach a file by drag & drop or click to upload