I have a basic text file with lines of information. Each line is a requested file to open.
I want a simple script to loop each line, opening each file until the document is empty.
For example
images.txt
contains:
pic1.jpg
pic2.jpg
pic3.jpg
pic4.jpg
I've tried creating an array and can get the information to echo
correctly, but having issues setting up a basic loop and having it stop when there are no more lines!
I've had some coding experience before but I'm pretty new to PS! Any help is appreciated :)