Jump to content

Recommended Posts

Posted

I am attempting to make a switchless addon for nlite (2k slip).

The program comes with batch file for installing.

When I run the batch on my XP machine I get errors on the following lines.

wmic nicconfig where index=1 call SetTcpipNetbios 1
wmic nicconfig where index=2 call SetTcpipNetbios 1
wmic nicconfig where index=3 call SetTcpipNetbios 1
wmic nicconfig where index=4 call SetTcpipNetbios 1
wmic nicconfig where index=5 call SetTcpipNetbios 1

My machine complains that wmic is not a recognized command.

Are there any alternatives?


Posted

Well, I just typed wmic into Command Prompt and it said: Please wait while wmic is installed. So it has to be installed first, and then you can run it. So (from RunOnce), you can first give it a wmic command, then some timeout of 10-20 seconds, and then let the commands run. It's worth a try.

Posted

Additional note:

You can do that in a single command.

WMIC NICConfig WHERE "Index <> '0' AND Index <= '5'" CALL SetTCPIPNetBios 1

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...