Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Generate text files with Dynamic values

$
0
0

Hi,

I have to run the following command

Djoin.exe /Provision /Domain /MachinePC1/SaveFile C:\PC1.txt

The above command generates a text file called PC1.txt

I have to generate the text file for several PCs, like PC2, PC3, MyPC1, MyPC5 etc.

If I have the Excel File with two columns called Machine and TextFile (or anything similar)

Can we automate the procedure to generate the text files? The PC1 andPC1.txt are the things that will be changed in each time.

If someone can assist me, I will be thankful.


N.A.Malik


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>