Login | |
|
 |
RE: mass change local admin pw - 10/13/2005 11:39:11 PM
|
|
 |
|
| |
mbouchard
Posts: 1986
Score: 18
Joined: 5/15/2003
From: USA
Status: offline
|
Nice, if you don't mind, I have a couple suggestions and a comment. First the comment, please comment your code(no pun intended), while some have not problem following what is going on some do and comments might help prevent questions. Now to the suggestions: - You have a the echo if the password has special characters, enclose it in quotes. Why not just enclose it yourself, this way you won't have to depend on the user doing it. - It seems that both your elses for If Not objArgs.count = 0 and If ObjArgs.Count = 2 do the same thing, why not do away with one IF. Something like If Not objArgs.Count = 2 then Usage Else Do what you need here. End If
_____________________________
Mike For useful Scripting links see the Read Me First stickey! Always remember Search is your friend.
|
|
| |
|
|
|
|
|