That's NOT the correct way to do it.

If I type "Hi :.mkdir c:\x" that would create a directory using your method. I already gave you the correct code several posts back.