WCAT gives an error: "at least one of the following parameters must be specified -run, -update, -terminate, -showclients or -setclients"

When running WCAT on my Windows XP machine through the command line, the following error occurs:

error: at least one of the following parameters must be specified: -run, -update, -terminate, -showclients or -setclients

The command I'm trying to run is:

wcat.wsf -terminate -run  -t scenario.wcat -f settings.ubr -s localhost -singleip -x

And it is copied directly from readme.

+3
source share
2 answers

The problem is that in readme these are not hyphens.

If you look at the hexadecimal code, you will see that the fake hyphen in readme is 0x96, the hyphen is 0x2d

, . .

+11

- wcat.wsf. :

 var run_regular_expression = /[-\/]run$/;

"-run"

:

 var run_regular_expression = /[\-\/]run$/;

run.

- :

wcat.wsf /terminate /run  -t scenario.wcat -f settings.ubr -s localhost -singleip -x

+5

Source: https://habr.com/ru/post/1761279/


All Articles