I need to write the following logic into batch file that would be run when user logs on
If PathExists("C:\MyApplication") then
net use I: "Data_SERV\Data"
regsvr32 -s "I:\MIS\Source Codes\DLL\clsLend.dll"
regsvr32 -s "I:\MIS\Source Codes\DLL\clsLendSrv.dll"
The inside of if statement is already correct just the folder exists check and if statement syntax I dont know.