psokolo
asked on
How to write a batch to register DLLs
I need to write the following logic into batch file that would be run when user logs on
If PathExists("C:\MyApplicati on") 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"
end if
The inside of if statement is already correct just the folder exists check and if statement syntax I dont know.
If PathExists("C:\MyApplicati
net use I: "Data_SERV\Data"
regsvr32 -s "I:\MIS\Source Codes\DLL\clsLend.dll"
regsvr32 -s "I:\MIS\Source Codes\DLL\clsLendSrv.dll"
end if
The inside of if statement is already correct just the folder exists check and if statement syntax I dont know.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.