Running NX Journal from command line

Hello

I am trying to run nx journal from command prompt and getting following error:

My Command is :
run_journal -pim=yes -u=admin123 -p=admin321 C:\runJournal.vbs

My Output is :

TSP Binding Implementation 1.0.0(1.0.0) initialized.
====================================================
Failed to handle error condition correctly - exiting
Device index is out of bound.
====================================================
====================
Fatal error detected
====================

I have correctly set TC_DATA and TC_ROOT in env-path, still am getting this error.

Thanks and regards
Vivek

It may be that your journal has no open file to act on. You can pass in a file name as an argument to the journal, then have the journal open the file and operate on it. See the opening comments and code in:
http://nxjournaling.com/comment/1406#comment-1406