RaviPaike Posted January 28, 2005 Report Share Posted January 28, 2005 how do i execute a dos command using sysexec.vi can anyone help me Thanks Quote Link to comment
grmc Posted January 31, 2005 Report Share Posted January 31, 2005 how do i execute a dos command using sysexec.vi can anyone help me Thanks 3700[/snapback] Just right click on the command line node, create a constant or control, and inside that type in cmd /C filename.xxx To give you an idea, inside the constant / control, type in cmd /C dir/w and then right click on the standard output node, and create an indicator. This will execute the dos command "dir", which will list the files in the current directory, and output them to the standard output indicator. Note that the /w is a command line argument for dir, which just produces the list in wide format (just proof that the command line input also allows command line arguments) By the way, if you right click on System Exec.vi, and then select Help, more often than not it will give you enough information for you to be able to do what you want to do :beer: grmc Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.