Hey all,
I don't know if the scripting stuff counts as programming but I figure I'd give this a shot:
I don't know vbscript well, and I was trying to write a CMD batch file to accomplish a particular function, which was using the netsh command to create a batch file that a tech in the field will use to supply a machine with a static IP address.
I wasn't able to find a way to allow the batch file to let the tech interact with it. One of my friend suggested I use vbscript to accomplish this, but I don't know how to begin. I have a book here that I picked up, and I've been checking the sites and such to learn it, but I haven't found a way to take the input using an inputbox to then output it to a variable which I can then call later to take the place of the addr="static IP address subnet mask default gateway" that I need for the netsh portion to configure the LAN with a manual address. I can probably figure out how to set my objects and such for that portion, but the main issue is grabbing that output.
I'm not asking anyone to write it for me, but to help me understand what I'm doing so I can write it myself. If anyone has a good vbscript resource, flash movie, etc. that would be great. In the interim I will read the book and practice some basic things till I get a better handle on this.
Thanks in advance for any assistance
-Dave
I don't know if the scripting stuff counts as programming but I figure I'd give this a shot:
I don't know vbscript well, and I was trying to write a CMD batch file to accomplish a particular function, which was using the netsh command to create a batch file that a tech in the field will use to supply a machine with a static IP address.
I wasn't able to find a way to allow the batch file to let the tech interact with it. One of my friend suggested I use vbscript to accomplish this, but I don't know how to begin. I have a book here that I picked up, and I've been checking the sites and such to learn it, but I haven't found a way to take the input using an inputbox to then output it to a variable which I can then call later to take the place of the addr="static IP address subnet mask default gateway" that I need for the netsh portion to configure the LAN with a manual address. I can probably figure out how to set my objects and such for that portion, but the main issue is grabbing that output.
I'm not asking anyone to write it for me, but to help me understand what I'm doing so I can write it myself. If anyone has a good vbscript resource, flash movie, etc. that would be great. In the interim I will read the book and practice some basic things till I get a better handle on this.
Thanks in advance for any assistance
-Dave