Hello,
I have a batch file that checks whether a text file exists. This works fine. What I would like it to do now, is to read and set the contents of that text file into one variable so that I can execute a shutdown command.
This file is created by another standalone program that works fine, and creates the text file to have arguments in it. These arguments would be something like -f or something of the sort. Sometimes in this file, there would be a -c command, and this would signal for another text file to be opened with a comment in it.
I tried doing some of the basic stuff of this with the type command but to no avail. Does anyone have any suggestions?
Thank you all in advance for any help.
Hess Smith