I tested in my local.
The following command does not works as expected (read on why I meant as expected).
Shell Cursor> sub -t test -of C:\temp\test.txt
But this works
Shell Cursor> sub -t test -of test.txt
Basically the full path is not working. even though if you specify full path, it will remove the folder separator and drive and then create file with rest.
May be the way we need to specify the full path is not correct.
Content of the temptest.txt
Content of the test.txt
Thanks & Regards,