KBA - 197478

  • Thread starter Thread starter Barney
  • Start date Start date
B

Barney

The scripts in Microsoft's Knowledge Base Article 177478
have proven frustrating for two reasons:.

1. They do not work. I observe the following:

The system cannot find the file specified.
Could Not Find C:\Scripts\Output.txt
The system cannot find the file specified.
The system cannot find the file specified.

2. I am a novice when it comes to scripting but I
question if so many scripts are necessary. Can they not
be combined into one or, at least, fewer?

I understand joeware.net has just posted a program that
accomplishes the very thing these scripts attempt but it
has become a bit of a challenge for me. Do any of you old
pros have any ideas on how to improve on Microsoft's work
as presented in KB177478 (or at least make them work)?
 
Barney said:
The scripts in Microsoft's Knowledge Base Article 177478
have proven frustrating for two reasons:.

1. They do not work. I observe the following:

The system cannot find the file specified.
Could Not Find C:\Scripts\Output.txt
The system cannot find the file specified.
The system cannot find the file specified.

2. I am a novice when it comes to scripting but I
question if so many scripts are necessary. Can they not
be combined into one or, at least, fewer?

I understand joeware.net has just posted a program that
accomplishes the very thing these scripts attempt but it
has become a bit of a challenge for me. Do any of you old
pros have any ideas on how to improve on Microsoft's work
as presented in KB177478 (or at least make them work)?

Shure you are in the proper ng?
Your subject kb number differs from body?
KB177478 being:
PRJ98: Changing Fixed Work Tasks Duration Results in Wrong Value

Hmm, the subject is the right one, why didn't _you_ supply a link?
http://support.microsoft.com/default.aspx?scid=kb;EN-US;197478

On complex scripts it depends partly on *your* environment where errors
occur. Since it's a challenge to you, some tips.

- At a relevant position insert a line with echo on,
- insert also pause commands to see where errors might occur.
- to observe contents of variables insert echo %var% lines
And see my signature to learn about the used commands.

HTH
 
Sorry - I got the article number correct in the subject
but wrong in the body. The number is in fact 197478.

http://support.microsoft.com/default.aspx?scid=kb;EN-
GB;q197478

I tried inserting PAUSE statements at various locations
within oldms.bat and I think the problem may be with one
of the scripts it CALLs (oldms2.bat . . . ).

Are you saying that the script(s) works for you Matthias?
Anyone else?
 
Barney said:
Sorry - I got the article number correct in the subject
but wrong in the body. The number is in fact 197478.

http://support.microsoft.com/default.aspx?scid=kb;EN-
GB;q197478

I tried inserting PAUSE statements at various locations
within oldms.bat and I think the problem may be with one
of the scripts it CALLs (oldms2.bat . . . ).

Are you saying that the script(s) works for you Matthias?
Anyone else?
IIRC there are some more batches on that site, did you get all of them?
The other batches are called from the first, so they have all to
copied to your location.

No, I didn't try it myself.

HTH
 
Yes I have them all saved in the same directory.
-----Original Message-----

IIRC there are some more batches on that site, did you get all of them?
The other batches are called from the first, so they have all to
copied to your location.

No, I didn't try it myself.

HTH
--
Greetings
Matthias________________________________________
For help on nt commands enter in a cmd window:
W2K>HH windows.chm::ntcmds.htm XP>HH ntcmds.chm
.
 
The scripts in Microsoft's Knowledge Base Article 177478
have proven frustrating for two reasons:.
has become a bit of a challenge for me. Do any of you old
pros have any ideas on how to improve on Microsoft's work
as presented in KB177478 (or at least make them work)?

I rewrote them into one script which is archived here:

http://groups.google.com/[email protected]

As you can see, the "::NetDom ..." will have to be uncommented to
actually delete the accounts.



Clay Calvert
(e-mail address removed)
Replace "W" with "L"
 
The KB article also mentions that you need to get the necessary Resource Kit
tools -- do you have them in the same directory as well (in particular,
netdom.exe and nltest.exe that is used by the scripts). I suspect that it's
the lack of these tools which is causing your script failures.

I think the reason that things are split out over several files has to do
with how NT4 (which is what this KB article targets) parses and executes
batchfiles. I've never scripted batch files on NT4, so I can't tell you.
But, I know that if run on W2K and later, all the scripts can all be placed
in one batch file.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
Yes I have them all saved in the same directory.
 
Back
Top