Re: All DHCP Servers Info HELP!
- From: mlindsey@xxxxxxxxxxx
- Date: 20 Nov 2006 13:54:49 -0800
Recieved bunch of errors. Below are the errors. I am probably doing it
wrong. Thanks again for your help, as you can tell I am new to
scripting.
C:\>dhcptest.bat
C:\>'==================================================
''' is not recognized as an internal or external command,
operable program or batch file.
C:\>' Run DHCP EXP
''' is not recognized as an internal or external command,
operable program or batch file.
C:\>'==================================================
''' is not recognized as an internal or external command,
operable program or batch file.
C:\>set oFs = createobject("scripting.filesystemobject")
C:\>set shell = createobject("wscript.shell")
C:\>set net = createobject("wscript.network")
C:\>'on error resume next
''on' is not recognized as an internal or external command,
operable program or batch file.
C:\>datafile = "\\megaslowtron\DHCP\DCs.txt"
'datafile' is not recognized as an internal or external command,
operable program or batch file.
C:\>logfile = "C:\DHCP\Ex-DHCP-Log.txt"
'logfile' is not recognized as an internal or external command,
operable program or batch file.
C:\>output = "C:\DHCP\"
'output' is not recognized as an internal or external command,
operable program or batch file.
C:\>set svrlist = oFs.opentextfile(datafile, 1)
C:\>set exlog = oFs.createtextfile(logfile)
C:\>dim svr, svrIP,ProcID
'dim' is not recognized as an internal or external command,
operable program or batch file.
C:\>'==================================================
''' is not recognized as an internal or external command,
operable program or batch file.
C:\>function ex()
'function' is not recognized as an internal or external command,
operable program or batch file.
C:\>Set objWMIService =
GetObject("winmgmts:{impersonationLevel=impersonate}!\\"
& was unexpected at this time.
C:\>& svr & "\root\cimv2:Win32_Process")
.
- References:
- All DHCP Servers Info HELP!
- From: mlindsey
- RE: All DHCP Servers Info HELP!
- From: Adam Wylie
- Re: All DHCP Servers Info HELP!
- From: mlindsey
- All DHCP Servers Info HELP!
- Prev by Date: Re: Help with LDAP PagedSearch
- Next by Date: Re: delegate admin rights to an user in an OU
- Previous by thread: Re: All DHCP Servers Info HELP!
- Next by thread: Re: All DHCP Servers Info HELP!
- Index(es):
Relevant Pages
|