<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Hide/suppress CMD.exe prompts? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Hide-suppress-CMD-exe-prompts/m-p/631284#M187023</link>
    <description>You could also use FCOPY to avoid the issue and have the code be system agnostic.</description>
    <pubDate>Wed, 11 Mar 2020 16:43:38 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2020-03-11T16:43:38Z</dc:date>
    <item>
      <title>Hide/suppress CMD.exe prompts?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hide-suppress-CMD-exe-prompts/m-p/631281#M187020</link>
      <description>&lt;P&gt;Hello all I'm running the following code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%sysexec( copy "\\uncpath\file.xlsm"
               "\\uncpath\file.xlsx" ) ;

Proc export data = want
	outfile = "\\uncpath\file.xlsx";
	Dbms = Xlsx replace ; 
	sheet='sheet 1';
run ; 
%sysexec( copy "\\uncpath\file.xlsm"
               "\\uncpath\file.xlsx" ) ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The above works fine, but I do get a prompt for each %sysexec() command I run.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/36766iAB9DBF5797D9F143/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to hide this cmd.exe window? It copies my .xlsx sheet to my .xlsm sheet just fine but I'm trying to automate this to run on it's own and currently I have to close out of this window each time. I haven't been very successful in finding a way to prevent this thus far. Any help would be appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 16:31:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hide-suppress-CMD-exe-prompts/m-p/631281#M187020</guid>
      <dc:creator>Krueger</dc:creator>
      <dc:date>2020-03-11T16:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hide/suppress CMD.exe prompts?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hide-suppress-CMD-exe-prompts/m-p/631283#M187022</link>
      <description>options noxwait noxsync;&lt;BR /&gt;&lt;BR /&gt;It's one of those, can't remember which does what though.</description>
      <pubDate>Wed, 11 Mar 2020 16:43:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hide-suppress-CMD-exe-prompts/m-p/631283#M187022</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-03-11T16:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hide/suppress CMD.exe prompts?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hide-suppress-CMD-exe-prompts/m-p/631284#M187023</link>
      <description>You could also use FCOPY to avoid the issue and have the code be system agnostic.</description>
      <pubDate>Wed, 11 Mar 2020 16:43:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hide-suppress-CMD-exe-prompts/m-p/631284#M187023</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-03-11T16:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Hide/suppress CMD.exe prompts?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hide-suppress-CMD-exe-prompts/m-p/631348#M187058</link>
      <description>Noxsync took care of the cmd.exe prompt and the windows prompt that shows up. FCOPY for some reason corrupted both of my files. Maybe there was something else to it though? &lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 11 Mar 2020 19:00:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hide-suppress-CMD-exe-prompts/m-p/631348#M187058</guid>
      <dc:creator>Krueger</dc:creator>
      <dc:date>2020-03-11T19:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Hide/suppress CMD.exe prompts?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hide-suppress-CMD-exe-prompts/m-p/631350#M187060</link>
      <description>Try as binary?&lt;BR /&gt;&lt;A href="https://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=n10dz22b5ixohin1vwzilweetek0.htm&amp;amp;docsetVersion=3.1&amp;amp;locale=en#n1srxqduw2jfagn1fbfcc5d5d249" target="_blank"&gt;https://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=n10dz22b5ixohin1vwzilweetek0.htm&amp;amp;docsetVersion=3.1&amp;amp;locale=en#n1srxqduw2jfagn1fbfcc5d5d249&lt;/A&gt;</description>
      <pubDate>Wed, 11 Mar 2020 19:12:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hide-suppress-CMD-exe-prompts/m-p/631350#M187060</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-03-11T19:12:12Z</dc:date>
    </item>
  </channel>
</rss>

