|
Kent,
Yes, I could read reg for that, but then that would add a couple more lines, as Windows 9x would not store in the same place, etc... And as far as MCA on that point, It was my recommendation many times in the past to do Reg reads for locations. MCAs was the <>0 <>1 etc.. However, in this case I'm not sure it is the best or not. The environment "should" mimick the reg for that. If the environment is not, then that workstation is going to be having other pathing problems beyond your script as well.
Sorry Lonkero, I've been using/working/fixing NT since 3.1 days. .DLL files should not go anywhere else. I'm not saying you can't, I'm saying that they should not go anywhere else except the %windir%\system(32) folders.
2000 now has a dllcache folder under system32 which puts back .DLL files into the SYSTEM32 folder if a user deletes them.
As far as optional, I'm still not sure what you're meaning. I put it as C:\TEMP because I used c:\temp for testing, but in your own useage I would expect one to put in their location which may be %NETLOGON% folder. (Windows 9x would not find it that way though).
How or what more specifically are you alluding to? Maybe show a code example of what you're thinking of. Sorry, but I'm drawing a blank as to what you're asking for.
|