Hello All,
I'm trying to execute the following:
strShell.Run ("netsh exec range.netsh"
where range.netsh is the file I have that has all my commands to add exclusion ranges, add IP, etc...to my DHCP server. I can run this file from a command prompt just fine c:\>netsh exec range.netsh
All the commands in the file execute correctly. The problem is when I try to put this command in VBScript it does NOTHING...it runs thru the program...no errors, but does not make any changes to my DHCP server...is there some special syntax I need to be using in VBScript to get this to run????? Does range.netsh need to be a .txt file instead??? I'm all out of ideas to try...any help would be GREATLY APPRECIATED...
Thanks,
Kathi
I'm trying to execute the following:
strShell.Run ("netsh exec range.netsh"
where range.netsh is the file I have that has all my commands to add exclusion ranges, add IP, etc...to my DHCP server. I can run this file from a command prompt just fine c:\>netsh exec range.netsh
All the commands in the file execute correctly. The problem is when I try to put this command in VBScript it does NOTHING...it runs thru the program...no errors, but does not make any changes to my DHCP server...is there some special syntax I need to be using in VBScript to get this to run????? Does range.netsh need to be a .txt file instead??? I'm all out of ideas to try...any help would be GREATLY APPRECIATED...
Thanks,
Kathi