In my BAT file, i want to read these data from .txt file and need to set each data into one variable
SQLUserName=MFiles WrapperSQLServerName=usa.com WrapperDatabase=Wrapper WrapperAssemblyLocation=D:\Assembly MFilesNetworkAddress=USA-S1 MFilesVaultName=MF2 MFilesUsername=User MFilesPassword= MFilesVaultGUID={26F30-E120-408C-8035-04D85D6} MFilesWebServerURL=www.WebServer.com SQLMailProfileName=NoReply [email protected] I tried with this code
FOR /F "tokens=2 delims==" %%a IN ('find "WrapperSupportEmail" ^<config.txt') DO SET SupportEmail=%%a But it throws error
find is not recognized as an internal or external command operable program or batch file Please help me
Thejus T V
findin an interactive command prompt.