Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

net use not executing in dos 1

Status
Not open for further replies.

mldmld

Technical User
Joined
Jul 22, 2003
Messages
95
Location
US
I am trying to execute the bat files for network connections in dos, after running cmd in Win2K. The commnand will not execute. It will work on any other computer.

The error I get after typing "net use" at the command prompt is :
'net' is not recognized as an internal or external command, operable program or batch file

Thanks Mark
 
open the command using cmd command

then type path

and tell me what is the output of it ?

Mohamed Farid
Know Me No Pain , No Me Know Pain !!!
 
PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;D:\Program Files\Common File\Autodesk Shared\;c:\hec\hms;c:\hec\hms\bin
 
Mark,

Go to the command prompt and search for net.exe.

for example

type "cd \"
type "dir net.exe /s"

If nothing is found the file needs to be restored.

My system shows these results:

C:\>dir net.exe /s

Volume in drive C has no label.
Volume Serial Number is 2C43-6C44

Directory of C:\WINNT\system32

05/08/2001 05:00a 42,768 net.exe
1 File(s) 42,768 bytes

Directory of C:\WINNT\system32\dllcache

05/08/2001 05:00a 42,768 net.exe
1 File(s) 42,768 bytes

Total Files Listed:
2 File(s) 85,536 bytes
0 Dir(s) 38,162,649,088 bytes free

Daniel.
 
right click on My computer and Select Properties
Go to Advanced --> Environment Variables --> System Variables --> Path --> Add this to your paths :
c:\winnt\system32 ,, so that your path will be :
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;D:\Program Files\Common File\Autodesk Shared\;c:\hec\hms;c:\hec\hms\bin;c:\winnt\system32


Check and feed me back



Mohamed Farid
Know Me No Pain , No Me Know Pain !!!
 
That worked netwalker, somehow it lost the path.
Thanks
 
Where is the star ?! :)

Mohamed Farid
Know Me No Pain , No Me Know Pain !!!
 
I forgot to confirm it last time. Thanks again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top