Just copy it renaming the destination file with the .bat extension and then run it. I assume, as you posted, the .cfg file contains executable batch commands and comment lines.
It's like this. I have a main blabla.bat file with the script itself. I want that script to read all the variables from the blabla.cfg So other people easy just can change the config file. And also wan other scripts to read from the same config file aswell.
To help you, a more accurate description of the content of the config file is needed, as the way the main batch has to exploit to access the related configuration script is bound to the .cfg structure.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE