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

chamoun

#1
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.

Thanks.
profile picture

Eugene

#2
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

chamoun

#3
All Set - Thank you.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).