• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Move a folder (and subfolders + Files) to another folder

Community Beginner ,
Jun 12, 2022 Jun 12, 2022

Copy link to clipboard

Copied

Hi,

 

I've search all over and tried many different scripts, I can't get this to work.

 

I need to move a folder (plus all subsolders and files) from one folder to another on the same USB Stick, OS Windows

 

Source = 'D:\\Etsy\\Photoshop Action Output'

Destination = 'D:\\Etsy\\ReadyToRelease\\Photoshop Action Output'

 

(After which I have a working script to rename the folder) This enables me to complete a piece of work, move it, rince and repeat. 

 

Thank you

 

 

 

 

TOPICS
Actions and scripting , Windows

Views

129

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
People's Champ ,
Jun 12, 2022 Jun 12, 2022

Copy link to clipboard

Copied

LATEST

In your specific case, try this option.

var src="D:\\Etsy\\Photoshop Action Output";
var dst = "D:\\Etsy\\ReadyToRelease";

var f = new Folder(dst);

if (!f.exists) f.create();

var cmd = "move " + "\""+src+"\""+ " " + "\""+dst+"\""; 

//alert(cmd)

system(cmd);

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines