<?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 copy Directories from one place to another? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-copy-Directories-from-one-place-to-another/m-p/252203#M49513</link>
    <description>Hi mark,&lt;BR /&gt;If I run Pick Directory() function and Show() or print the output, I always get a "/" in the beginning of the path and "/" at the end of the path. That's why I use it and it worked too.&lt;BR /&gt;&lt;BR /&gt;Anyway, it seemed like there was something wrong with the system. I don't see the problem anymore.&lt;BR /&gt;&lt;BR /&gt;Thanks for your inputs!</description>
    <pubDate>Fri, 13 Mar 2020 11:33:45 GMT</pubDate>
    <dc:creator>AD1</dc:creator>
    <dc:date>2020-03-13T11:33:45Z</dc:date>
    <item>
      <title>How to copy Directories from one place to another?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-copy-Directories-from-one-place-to-another/m-p/251818#M49455</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have run into a problem all of a sudden. I wish to copy files and directories and I am not able to do that anymore.&lt;/P&gt;&lt;P&gt;I use Copy File() and Copy Directory().&lt;/P&gt;&lt;P&gt;Somehow Copy Directory() doesn't recognize my paths anymore or occasionally fails.&lt;/P&gt;&lt;P&gt;So, I would like to know:&lt;/P&gt;&lt;P&gt;1. How to copy a directory (say D:/copyme) inside another directory (D:/destination) ? So that I have D:/destination/copyme as the final result.&lt;/P&gt;&lt;P&gt;2. How can I copy the contents of a directory (say D:/copyme) inside another directory (D:/destination)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything was working fine but it stopped working and I couldn't copy reliably anymore. I thought the path is longer for windows to handle that's why it doesn't work but it turns out the path is less than 260 characters for each file. The path contains spaces and hyphens beside numbers and letters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for your inputs!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 17:18:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-copy-Directories-from-one-place-to-another/m-p/251818#M49455</guid>
      <dc:creator>AD1</dc:creator>
      <dc:date>2020-03-11T17:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy Directories from one place to another?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-copy-Directories-from-one-place-to-another/m-p/252041#M49481</link>
      <description>&lt;P&gt;Update: Another thing is that if I specify a path as a string, say,&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;path = "/D:/some_directory/some_other_directory";&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and then pick this directory&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt; same_path = Pick Directory();&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The two paths visually look exactly the same but on comparison&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;if( path == same_path,
    print("same path");,
    print("not same");
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I always get "not same". It was working earlier. Why specifying the path as a string not working?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 14:53:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-copy-Directories-from-one-place-to-another/m-p/252041#M49481</guid>
      <dc:creator>AD1</dc:creator>
      <dc:date>2020-03-12T14:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy Directories from one place to another?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-copy-Directories-from-one-place-to-another/m-p/252048#M49483</link>
      <description>Correction : path = "/D:/some_directory/some_other_directory/";</description>
      <pubDate>Thu, 12 Mar 2020 15:05:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-copy-Directories-from-one-place-to-another/m-p/252048#M49483</guid>
      <dc:creator>AD1</dc:creator>
      <dc:date>2020-03-12T15:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy Directories from one place to another?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-copy-Directories-from-one-place-to-another/m-p/252082#M49486</link>
      <description>&lt;P&gt;Should your literal character string for the first path start with a slash?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 17:05:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-copy-Directories-from-one-place-to-another/m-p/252082#M49486</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-03-12T17:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy Directories from one place to another?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-copy-Directories-from-one-place-to-another/m-p/252203#M49513</link>
      <description>Hi mark,&lt;BR /&gt;If I run Pick Directory() function and Show() or print the output, I always get a "/" in the beginning of the path and "/" at the end of the path. That's why I use it and it worked too.&lt;BR /&gt;&lt;BR /&gt;Anyway, it seemed like there was something wrong with the system. I don't see the problem anymore.&lt;BR /&gt;&lt;BR /&gt;Thanks for your inputs!</description>
      <pubDate>Fri, 13 Mar 2020 11:33:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-copy-Directories-from-one-place-to-another/m-p/252203#M49513</guid>
      <dc:creator>AD1</dc:creator>
      <dc:date>2020-03-13T11:33:45Z</dc:date>
    </item>
  </channel>
</rss>

