The command Tools.Shell will run an external executable out of process from VS. To run, it is basically
Shell <executable>
But of course, we got optional arguments...
Shell [/commandwindow] [/dir:folder] [/outputwindow] <executable> [/args]
/commandwindow (or /c) - to display the executable's output in the command window
/outputwindow (or /o) - to display the executable's output in the output window
/dir:folder - specifics the working directory
For example,
Shell /o /c xcopy.exe c:\users\saraf\documents\cmdwinlog.txt c:\users\saraf\pictures
will display the xcopy output in the output window.
Click Screenshot To Play Video
#89 Run external executables from the VS command lineRuntime: $post.Custom("MovieRuntime") - Resolution: 900 by 580 - File Size: $post.Custom("MovieFileSize")
Direct Download: If the video does not work for you,
Click Here to download it.


0 comment(s) so far