<?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 Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-move-file-folder-to-folder/m-p/67393#M6767</link>
    <description>Yep. That's the message you get with NOXCMD as I explained in one of your threads.&lt;BR /&gt;
&lt;BR /&gt;
You have to ask your SAS Admin to change this to XCMD (in SAS Metadata on the logical Server under Advanced Options - I think...).&lt;BR /&gt;
&lt;BR /&gt;
As long as NOXCMD is set there is no way to issue an OS command (shell escape).</description>
    <pubDate>Thu, 19 May 2011 14:40:56 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2011-05-19T14:40:56Z</dc:date>
    <item>
      <title>How to move file folder-to-folder</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-move-file-folder-to-folder/m-p/67392#M6766</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 13:51:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-move-file-folder-to-folder/m-p/67392#M6766</guid>
      <dc:creator>shankar_kumar</dc:creator>
      <dc:date>2011-05-19T13:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to move file folder-to-folder</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-move-file-folder-to-folder/m-p/67393#M6767</link>
      <description>Yep. That's the message you get with NOXCMD as I explained in one of your threads.&lt;BR /&gt;
&lt;BR /&gt;
You have to ask your SAS Admin to change this to XCMD (in SAS Metadata on the logical Server under Advanced Options - I think...).&lt;BR /&gt;
&lt;BR /&gt;
As long as NOXCMD is set there is no way to issue an OS command (shell escape).</description>
      <pubDate>Thu, 19 May 2011 14:40:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-move-file-folder-to-folder/m-p/67393#M6767</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2011-05-19T14:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to move file folder-to-folder</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-move-file-folder-to-folder/m-p/67394#M6768</link>
      <description>Hello&lt;BR /&gt;
&lt;BR /&gt;
I work exclusively in SAS Enterprise Guide and have had the same problem that you have.  I solved mine by directly accessing the Windows DLL that contains the copy/move function by using the SASCBTL attribute table with the MODULE family of call routines and functions.  Below is a link to a paper that I wrote for SESUG 2010 that describes how to do this.&lt;BR /&gt;
&lt;BR /&gt;
paper&lt;BR /&gt;
&lt;A href="http://analytics.ncsu.edu/sesug/2010/CC06.Putnam.pdf" target="_blank"&gt;http://analytics.ncsu.edu/sesug/2010/CC06.Putnam.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
SAS DOC&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/63285/HTML/default/viewer.htm#accdll.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/hostwin/63285/HTML/default/viewer.htm#accdll.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Enjoy&lt;BR /&gt;
D</description>
      <pubDate>Thu, 19 May 2011 15:22:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-move-file-folder-to-folder/m-p/67394#M6768</guid>
      <dc:creator>darrylovia</dc:creator>
      <dc:date>2011-05-19T15:22:15Z</dc:date>
    </item>
  </channel>
</rss>

