<?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: How to move file folder-to-folder in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-move-file-folder-to-folder/m-p/67188#M19213</link>
    <description>You need to enable EG (Workspace server) to perform x cmd's and os tasks.

Message was edited by: twocanbazza</description>
    <pubDate>Thu, 19 May 2011 21:57:41 GMT</pubDate>
    <dc:creator>twocanbazza</dc:creator>
    <dc:date>2011-05-19T21:57:41Z</dc:date>
    <item>
      <title>How to move file folder-to-folder</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-move-file-folder-to-folder/m-p/67186#M19211</link>
      <description>Hi Everyone&lt;BR /&gt;
&lt;BR /&gt;
I am working on SAS Enterprise Guide.&lt;BR /&gt;
&lt;BR /&gt;
As part of an automation work, I need to move some files from one folder to another folder.&lt;BR /&gt;
&lt;BR /&gt;
SAS step used is:&lt;BR /&gt;
&lt;BR /&gt;
options noxwait; &lt;BR /&gt;
x ‘move c:\temp\*.txt  c:\newtemp’;&lt;BR /&gt;
&lt;BR /&gt;
When I run this step, I get following error:&lt;BR /&gt;
ERROR: Shell escape is not valid in this SAS session.&lt;BR /&gt;
&lt;BR /&gt;
Since Enterprise Guide I work on provides a client interface to log in to SAS server located remotely, I found from internet that SAS administrator disables windows cmd commands to avoid their misuses. &lt;BR /&gt;
&lt;BR /&gt;
Please suggest me ways to move files. &lt;BR /&gt;
&lt;BR /&gt;
Note: while I want to move, I want to make sure the "date modified" values of files do not change.&lt;BR /&gt;
&lt;BR /&gt;
Appreciate your co-operation.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
Shankar</description>
      <pubDate>Thu, 19 May 2011 12:27:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-move-file-folder-to-folder/m-p/67186#M19211</guid>
      <dc:creator>shankar_kumar</dc:creator>
      <dc:date>2011-05-19T12:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to move file folder-to-folder</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-move-file-folder-to-folder/m-p/67187#M19212</link>
      <description>I would try placing that move command into a Windows command file and having the SAS X command execute that program.</description>
      <pubDate>Thu, 19 May 2011 14:21:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-move-file-folder-to-folder/m-p/67187#M19212</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2011-05-19T14:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to move file folder-to-folder</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-move-file-folder-to-folder/m-p/67188#M19213</link>
      <description>You need to enable EG (Workspace server) to perform x cmd's and os tasks.

Message was edited by: twocanbazza</description>
      <pubDate>Thu, 19 May 2011 21:57:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-move-file-folder-to-folder/m-p/67188#M19213</guid>
      <dc:creator>twocanbazza</dc:creator>
      <dc:date>2011-05-19T21:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to move file folder-to-folder</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-move-file-folder-to-folder/m-p/67189#M19214</link>
      <description>I normally use PROC Datasets in SAS enhance editor .. I dont know if this is useful to you ..&lt;BR /&gt;
Thanks</description>
      <pubDate>Fri, 20 May 2011 20:05:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-move-file-folder-to-folder/m-p/67189#M19214</guid>
      <dc:creator>SAS83</dc:creator>
      <dc:date>2011-05-20T20:05:17Z</dc:date>
    </item>
  </channel>
</rss>

