Making a batch file to call netscan

Started by edpatterson

Making a batch file to call netscan   05 September 2014, 01:21

I am trying to make a batch file which calls netscan. I keep getting the error Wrong file format (wrong root node) here is my line
... set various environment variables
netscan.exe /load:u:\netscan\configs\serverName.xml /auto:%LOGFILE%
I get the error with and without the /auto: segment and finally the serverName.xml file was generated by saving the current config file.

Thanks,
Ed

Re: Making a batch file to call netscan - Problem fixed   05 September 2014, 01:42

Hate to be one of those people. I had /load: where I needed /config:

Sorry for wasting your time

Ed
SoftPerfect Support forum - Andrew avatar image

Re: Making a batch file to call netscan   05 September 2014, 10:01

No problem. Glad you've found the correct parameter wink

Sometimes you can find a solution faster if you try the forum search, have a look at the knowledge base, or check the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • Write in English. If possible, check your spelling and grammar.

Author:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

 ********  ********   **     **  ********  **    ** 
 **        **     **  ***   ***     **     ***   ** 
 **        **     **  **** ****     **     ****  ** 
 ******    **     **  ** *** **     **     ** ** ** 
 **        **     **  **     **     **     **  **** 
 **        **     **  **     **     **     **   *** 
 ********  ********   **     **     **     **    ** 

Message: