I am trying to run a vbs script on a Windows NT machine and it tells me that "The library is not registered". I have installed the latest version of the WSH 5.6 for NT. Has anyone run into something like this? (The same script runs on a Windows XP machine)
Line 18
Char 3
This is the code:
Dim FSO
Set FSO = wscript.CreateObject("wScript.shell")
Select Case day(now)
Case "15"
FSO.run "F:\DAD\MLTMAINT\FINNEEDA.BAT"
case "16"
FSO.run "F:\DAD\MLTMAINT\NFNEEDA.BAT"
case "17"
FSO.run "F:\DAD\MLTMAINT\FINNEEDB.BAT"
case "18"
FSO.run "F:\DAD\MLTMAINT\NFNEEDB.BAT"
case "19"
FSO.run "F:\DAD\MLTMAINT\FINNEEDA.BAT"
case "20"
FSO.run "F:\DAD\MLTMAINT\NFNEEDA.BAT"
case "21"
FSO.run "F:\DAD\MLTMAINT\FINNEEDB.BAT"
case "22"
FSO.run "F:\DAD\MLTMAINT\NFNEEDB.BAT"
case "23"
FSO.run "F:\DAD\MLTMAINT\FINNEEDA.BAT"
case "24"
FSO.run "F:\DAD\MLTMAINT\NFNEEDA.BAT"
end select
Set FSO = Nothing
Line 18
Char 3
This is the code:
Dim FSO
Set FSO = wscript.CreateObject("wScript.shell")
Select Case day(now)
Case "15"
FSO.run "F:\DAD\MLTMAINT\FINNEEDA.BAT"
case "16"
FSO.run "F:\DAD\MLTMAINT\NFNEEDA.BAT"
case "17"
FSO.run "F:\DAD\MLTMAINT\FINNEEDB.BAT"
case "18"
FSO.run "F:\DAD\MLTMAINT\NFNEEDB.BAT"
case "19"
FSO.run "F:\DAD\MLTMAINT\FINNEEDA.BAT"
case "20"
FSO.run "F:\DAD\MLTMAINT\NFNEEDA.BAT"
case "21"
FSO.run "F:\DAD\MLTMAINT\FINNEEDB.BAT"
case "22"
FSO.run "F:\DAD\MLTMAINT\NFNEEDB.BAT"
case "23"
FSO.run "F:\DAD\MLTMAINT\FINNEEDA.BAT"
case "24"
FSO.run "F:\DAD\MLTMAINT\NFNEEDA.BAT"
end select
Set FSO = Nothing