» ShellExecute (Windows)
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

ShellExecute (Windows)

Help Execute a specified file.
Author vvvv group

Here you are supposed to see an image (rendered with SVG) describing the pins of this node. However, this does not work with Internet Explorer. You may want to consider using another browser, like FireFox, Chrome, Safari or Opera that do support SVG.

Credits
Warnings
Bugs

related discussions

start a forum thread about this node

about ShellExecute (Windows)

FAQ

I want to use a simple DOS command (like mkdir for creating a directory) but it doesnt work as expected. What can I do?

Shellexecute for some reason does not execute the built-in DOcommands like mkdir. It just executes commands physically existing as .exe, .com or .bat files.

There would be two solutions:

Batch file method

Create a batch file which calls the built in command and takes the directory as a parameter:

so create a file called e.g. makedirectory.bat containing something like

 mkdir %1

then you can shellexectute that file with the directory as a parameter. The advantage is, that you can call up quite complex sequences of calls with parameters.

read more about BAT files here: http://www.chebucto.ns.ca/~ak621/DOS/BatBasic.htmlhttp://www.chebucto.ns.ca/~ak621/DOS/Bat-Adv.html

use COMMAND.COM

call up the old DOS command line as a program, and your command as a parameter:

in ShellExecutes first input set the path to command.com like e.g.:

 C:\Windows\System32\command.com

as command line arguments give it something like:

 /c mkdir c:\test

where /c instructs command.com to execute the built-in DOS commands.

anonymous user login

Shoutbox

~3mth ago

joreg: END OF SHOUTBOX! As this page has is now legacy, it will no longer feature new content. For latest news, see: http://vvvv.org

~4mth ago

joreg: vvvvTv S0204 is out: Custom Widgets with Dear ImGui: https://youtube.com/live/nrXfpn5V9h0

~4mth ago

joreg: New user registration is currently disabled as we're moving to a new login provider: https://visualprogramming.net/blog/2024/reclaiming-vvvv.org/

~4mth ago

joreg: vvvvTv S02E03 is out: Logging: https://youtube.com/live/OpUrJjTXBxM

~4mth ago

~4mth ago

joreg: Follow TobyK on his Advent of Code: https://www.twitch.tv/tobyklight

~4mth ago

joreg: vvvvTv S02E02 is out: Saving & Loading UI State: https://www.youtube.com/live/GJQGVxA1pIQ

~4mth ago

joreg: We now have a presence on LinkedIn: https://www.linkedin.com/company/vvvv-group

~5mth ago

joreg: vvvvTv S02E01 is out: Buttons & Sliders with Dear ImGui: https://www.youtube.com/live/PuuTilbqd9w

~5mth ago

joreg: vvvvTv S02E00 is out: Sensors & Servos with Arduino: https://visualprogramming.net/blog/2024/vvvvtv-is-back-with-season-2/