Your technology certification is waiting. Enroll in Cloud Class ®
FOR EACH %%i IN <TextFile> DO
ping %%i >> C:\Outputfile.txt
Open in new window
This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.
FOR /F %%i IN (C:\inputfile.txt) DO ping %%i >> C:\Outputfile.txt
FOR /F %%i IN (%1) DO ping %%i >> C:\Outputfile.txt
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.