Discussion forum for all Windows batch related topics.
Moderator: DosItHelp
-
becka2kaii
- Posts: 6
- Joined: 26 Mar 2012 05:59
#1
Post
by becka2kaii » 28 Mar 2012 08:48
Hi
everything I try and stop and start net.exe via the command prompt i receive the error
"system error 2 file not found"
but the file is there
can anyone help please
-
foxidrive
- Expert
- Posts: 6031
- Joined: 10 Feb 2012 02:20
#2
Post
by foxidrive » 28 Mar 2012 10:07
Show us an example of what you are typing when the error occurs.
-
abc0502
- Posts: 1007
- Joined: 26 Oct 2011 22:38
- Location: Egypt
#3
Post
by abc0502 » 28 Mar 2012 18:34
it must be the wrong directory
-
becka2kaii
- Posts: 6
- Joined: 26 Mar 2012 05:59
#4
Post
by becka2kaii » 29 Mar 2012 06:18
It happens when I type anything to do with net.exe such as
net.exe start
it is definatly the right directory beacause i can find the file in the right location but it still gives me the error.
-
foxidrive
- Expert
- Posts: 6031
- Joined: 10 Feb 2012 02:20
#5
Post
by foxidrive » 29 Mar 2012 07:49
When you type this can you copy and paste the text from the cmd window?
-
Ed Dyreen
- Expert
- Posts: 1569
- Joined: 16 May 2011 08:21
- Location: Flanders(Belgium)
-
Contact:
#6
Post
by Ed Dyreen » 29 Mar 2012 10:58
'
Hi becka2kaii,
Sometimes, files get corrupted during installation, you could copy the program from a working machine to test.
Make sure the Service Packs are equal if possible.
In that case it is likely more files are corrupted.
-
MrCairney
- Posts: 3
- Joined: 29 Mar 2012 16:02
#7
Post
by MrCairney » 29 Mar 2012 16:10
Hi, I'm also having this problem, it's happened literally overnight. I have a batch file that runs every day that stops/starts the Exchange Information Store.
Now these net commands return the same error as the OP's
I'll be keeping my eye on this!
FWIW when I run 'net start' the following is returned:
System Error 2 has occurred
The system cannot find the file specified
-
MrCairney
- Posts: 3
- Joined: 29 Mar 2012 16:02
#9
Post
by MrCairney » 29 Mar 2012 16:22
Hmm, my machine doesn't and has never had Visual Studio installed. Do you think that matters?
-
foxidrive
- Expert
- Posts: 6031
- Joined: 10 Feb 2012 02:20
#10
Post
by foxidrive » 29 Mar 2012 16:23
Probably yeah. Can you run SFC the system file checker?
-
alan_b
- Expert
- Posts: 357
- Joined: 04 Oct 2008 09:49
#11
Post
by alan_b » 30 Mar 2012 02:27
MrCairney wrote:Hi, I'm also having this problem, it's happened literally overnight.
This is why I never allow Windows to do any patch updates or even notifications until
I create a fresh Partition Image backup ready to neutralise the inevitable Microsoft disasters.
-
Ed Dyreen
- Expert
- Posts: 1569
- Joined: 16 May 2011 08:21
- Location: Flanders(Belgium)
-
Contact:
#12
Post
by Ed Dyreen » 30 Mar 2012 09:22
'
Which version of windows are u people using

-
MrCairney
- Posts: 3
- Joined: 29 Mar 2012 16:02
#13
Post
by MrCairney » 31 Mar 2012 04:42
Sorry, I didn't get notification of reply since my last post.
The machine I'm running is SBS 2003 SP2, without automatic updates enabled. So no changes have been made that way. I'll have to look into what ramifications running SFC would have. I don't want to break anything without a back-up plan first!
[edit]
I can't run SFC remotely, so I'll have to wait until Monday when I can get into the server room.