Executing an External Program from WL
Author: chamoun
Creation Date: 11/21/2011 3:03 PM
profile picture


Is there a way to call .bat or .exe from within WL 6?

System.Diagnostics.Process.Start(@"C:\Test.bat") does not appear to work.

profile picture


Not only it appears, it actually works. You just need to start Wealth-Lab with elevated privileges though. In modern operating systems (Vista, Win7 etc.), this is a prerequisite for accessing such areas as disk root (C:\) and Program Files. Or put your file in a different location (AppData, My Documents etc.)
profile picture


All Set - Thank you.