Quantcast
Channel: Adobe Community : Discussion List - After Effects Scripting
Viewing all articles
Browse latest Browse all 2143

system.callSystem with xcopy

$
0
0

Hey guys,

I'm trying to copy a directory from one location to another using system.callSystem with the command xcopy. I've tested the string that I'm using as the parameter directly in the command prompt and it works, so I know that I'm feeding the function correctly. However, when I run it, nothing happens. Any ideas what could be going wrong? Is there something I'm missing?

 

here's the call:

system.callSystem('xcopy "' + sourceDir + '\\*.*" /e "' + targetDir + '"');

 

that string I'm feeding it is the equivalent of

xcopy "\\SOURCE_NETWORK\SOURCE_DIRECTORY\*.*" /e "\\TARGET_NETWORK\TARGET_DIRECTORY"


Viewing all articles
Browse latest Browse all 2143

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>