Thank you! Just one more question. Le'ts just say you wanted to pipe DIR into a var.

dir|set dir1

could you use something like that for the syntax?