ShellExecute

have a little issue:

executing cmd.exe with an argument like
systeminfo /fo csv >C:\Dokumente und Einstellungen\user\Desktop\systeminfo.txt"
should result in a textfile on the desktop.

executing this within the commandline (via WIN-R -->cmd) works as expected.
same with ShellExecute (Windows) doesn’t.

Renderer (TTY) doesn’t help here.

if “Block until finish” is set vvvv seems to be blocked very long…

systeminfo.v4p (9.2 kB)

hi kalle,

well, there seems to be a problem with setting the PATH environment variable… i’ll look into that next week.

but for now here a quick fix:
download the attached batch file and execute it with shellexecute.

systeminfo.bat (156 Bytes)

oh thanks,

but no workaround necessary. was only playing around.

Did you try "start systeminfo … "?
otherwise you have to give the full path C:\windows…\systeminfo