Jump to content

How do i execute a dos command using sysexec


Recommended Posts

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

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.