Command Line component fails to create directory

I’m not sure if this is a bug or not, but if I try to create a directory using the command line component it always returns the error: 'The system cannot find the file specified.'
When I run the same command using windows cmd, it runs fine.
Should I be doing something specific with my commands to make them work, or should they look exactly like they do on windows cmd?

You can use the DirectoryOperations function to create a directory.
http://linx.twenty57.com/Support/Plugins/File/Functions/DirectoryOperations/

While it is simpler doing it with DirectoryOperations you can do it using the CommandLine function by specifying something like this in the Command property.

cmd  /c "mkdir d:\temp\test"

Cmd.exe is the windows commandline interpreter.