I have a CSV file with a printer name, printer ip address, and printer type. I am using vbscript in a hta to read the csv file and put it in a list box. I can get it to work fine but the ip address does not all come up. If I have a IP of 10.20.34.5 it shows up as 10.20 and that's it. My code is...
I am making a HTA with vbscript. I want to run a dos command from the HTA with the wscript.run and then capture the text from the dos window and put it into a text box on the HTA so I know what is happening. Is there a way to do this with vbscript. Or a way to put that dos text into a variable...
Thanks jges. I think that will work. Only one problem. When it reads in the ip address on my text file it does not display all of it. My header reads
Name,IPAddress,DriverPath,PCLDriverName,PSDriverName
I used the example from the msdn site and when I echo the IPAddress it comes back as...
I have a text file with a list of printer info.
IE:
Printername,ipaddress,location,drivername
I want to read each line into a multidimensional array so I can display the printer name and ip on one part of a HTA and the location and driver name on a different part. I can read in one line and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.