I need to create a batch file that will ping in excess of 25 IP addresses and generate output to a .txt file. I'm sure this is a nice easy one for someboy to answer. I have already tried running the command below but am prompted with the message C:\Computers.txt was unexpected at this time. I'm sure this is something very simple..
For /f %a in C:\Computers.txt do ping %a -n 2 >> C:\Ping_Results.txt
First %i or %a doesn't matter. either can be used - that's not the problem. You're running this in a batch file, right? Well, in a batch file, when using the for command, you need to double the % signs.
Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that.
In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel.
Part 1 of this series discussed basic error handling code using VBA.