Forums Cache
Copyright MonkeyJob Systems 2005
All rights reserved

Home FAQ Current Forums Contact
 Search For Data
   

Plz how too move folder not files!

Related Topics:
Move Folders


Author Message
Plz how too move folder not files!
monkeyjob

Hi,
yes, you can move folders using FoldMonkey but the process is tricky and done in steps. Basically you have to create a new folder, move all files from the source folder to the destination folder then delete the empty source folder:

Using the "Archive" section, check (tick) the "create folder" tick box and enter the tag

<OriginalSubfolder(s)> in the "Create folder" text box.

Next, tick the "folder path" tick box and enter the path to create the folder on in the "Folder path" text box.

Then select the "move file to the above folder" option from the next drop down menu.

If you want to delete the original folder when finished, you can write a batch file to do this and then use the "Launch section" to run the batch file. The command you would use is rd which would delete (remove) the directory only if it is empty.

For example, create a batch file, the contents will look something like this:


@echo off
cls
rd %1%
cls
exit


Save the file as c:\myfile.bat

Enter c:\myfile.bat in the "Program" text box (launch section of FoldMonkey)

Tick the "wait for program to close before moving to next file" tick box.

Enter "<filePath>" (with quotes) in the parameters section (sends the folder name to the batch file).

We recommend that you try the above on a test folder. You may need to tweak it depending on your operating system.




  | About Us | Privacy | Terms | Affiliates | Partners | Copyright ©2003 MonkeyJob Systems All Rights Reserved |