<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Executing windows cmd command</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3a763e1a8b/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3a763e1a8b/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/3a763e1a8b/</id><updated>2023-01-12T13:04:34.195000Z</updated><subtitle>Recent posts to Executing windows cmd command</subtitle><entry><title>Executing windows cmd command</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3a763e1a8b/?limit=25#6195" rel="alternate"/><published>2023-01-12T13:04:34.195000Z</published><updated>2023-01-12T13:04:34.195000Z</updated><author><name>spiritcore</name><uri>https://forge.codesys.com/u/spiritcore/</uri></author><id>https://forge.codesys.comc43886b22c9c3ee7b326344a22759b5da8f2000f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have the same situation.&lt;br/&gt;
It seems like the staff doesn't reply to questions about SysProcess.&lt;br/&gt;
As far as I understand, it does work better on Linux.&lt;br/&gt;
Let's try solving it.&lt;br/&gt;
I already tried 'python --version &amp;gt; c:\test\text.txt' but it doesn't work.&lt;br/&gt;
When trying 'cd c:\test &amp;amp;&amp;amp; dir &amp;gt; c:\test\text.txt' I can see the directory listing.&lt;br/&gt;
I wonder if something is allowing it to access only CMD core commands.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Executing windows cmd command</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3a763e1a8b/?limit=25#5911" rel="alternate"/><published>2023-01-11T19:51:31.729000Z</published><updated>2023-01-11T19:51:31.729000Z</updated><author><name>dave</name><uri>https://forge.codesys.com/u/dave/</uri></author><id>https://forge.codesys.comb3c2c77e9ba1e1e6556d839878240b23b7a1cbb0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'm looking to find a way to execute a windows command prompt command to either run a python script, or a curl command. Currently my code looks like:&lt;br/&gt;
    command := 'cd C:/Users/laptop/Desktop &amp;amp;&amp;amp; python file.py';&lt;br/&gt;
    SysProcess.SysProcessExecuteCommand(pszComand:=command,pResult := ADR(Result));&lt;/p&gt;
&lt;p&gt;If I change the command to shutdown it works and will turn off my computer. Everything else I've tried does not work.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>