User Profile
Collapse
-
Wow thanks!!! All that pain and suffering because I was putting the working directory in quotes. -
The batch files works fine if you click on it. Or if you create a shortcut to it. Both mybatchfile_cal led1.bat, and mybatchfile_cal led1.bat are located in the same directory provided by pathToScripts.
I really believe that C# should be able to able to emulate the functionality and behavior of a shortcut.Leave a comment:
-
Chaining batch files from within a C# application
So I've read a lot of post about how to run a batch file from within the C# program. And I followed the instructions with a few alterations to fit my needs. First I am using cmd.exe to actually run the script because I want to take advantage of the /K option, so that the log will be onscreen. And second the batch file must be able to call other batch files in a cascading effect. Which it isn't able to do.
So when I run the follow...
No activity results to display
Show More
Leave a comment: