‘net’ is not recognized as an internal or external command

By | 2009-08-04

Today after installing some new software and rebooting a VM, I ran a batch file to do a “net start” on a number of services and it failed with:

'net' is not recognized as an internal or external command, operable program or batch file

Apparently the install messed up my PATH environment variable, which was easy to fix. But it did take a little while to figure out what happened, so I thought I would mention it here.

The net.exe file is found in C:WindowsSystem32 (if that’s where windows is installed).

One thought on “‘net’ is not recognized as an internal or external command

Leave a Reply

Your email address will not be published. Required fields are marked *