Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Template filling up using csv Config file

$
0
0

Hi Friends,

I'm new to autoit, so plz forgive me if this is a silly question

 

We have got a config file as below

IPAddress,ServerHostname,Env,Type 10.2.60.121,belgiumserver1,NP,WEB 10.2.61.121,belgiumserver2,NP,WEB 10.2.60.57,belgiumserver3,NP,WEB 10.2.60.82,belgiumserver4,DEV,WEB 10.2.60.98,belgiumserver5,DEV,WEB 10.2.60.99,belgiumserver6,DEV,WEB 10.2.61.101,belgiumserver7,DEV,WEB 10.2.90.82,belgiumserver8,PROD,WEB 10.2.58.82,belgiumserver9,PROD,WEB 10.2.90.83,belgiumserver10,PROD,WEB 10.2.58.83,denmark1,PROD,CORP 10.2.90.98,denmark2,PROD,CORP 10.2.90.99,denmark3,PROD,CORP 10.2.90.120,denmark4,PROD,CORP 10.2.91.82,denmark5,PROD,CORP 10.2.59.82,denmark6,PROD,CORP 10.2.91.98,denmark7,PROD,CORP 10.2.91.99,denmark8,PROD,CORP

We are trying to automate "Putty" session creation using autoit & Putty_Portable (

 

Template Sample..

WinTitle\DYNAMIC_PUTTY_TITLE\ LogType\0\ LogFileName\putty.log\ HostName\DYNAMIC_HOSTNAME_IP\

Is there a ready-made script for such csv "Config" file lookup and string replacement?

 

Cheers
 

 


Viewing all articles
Browse latest Browse all 12506

Trending Articles



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