FILEMONKEY FAQ
Copyright MonkeyJob Systems 2005
All rights reserved

Home FAQ Forums Contact
Download Tutorials FAQ Awards Reviews Report Bugs
 Search For Data
   

Deleting Empty Sub-Folders



The following tutorial will demonstrate how to use FileMonkey to delete all empty folders on the target path.

An empty folder is a folder that contains no files or sub-folders (including hidden and system files and folders).

This will be done using the "Command Line" feature.

1.

Right click on the FileMonkey icon and select "Run as administrator". Use the folder tree on the left of the main window to target the path that you wish to work on. This operation will delete all empty sub-folders on that path.

2.

Select the "Quick-Find, Command Line" menu item from the main window.

The "Create/Run Batch File" window should now be open.

Fig 1
make batch jobs


3.

From the menu bar at the top of this window, select the "File / Load Code" menu item.

Fig 2
load delete job


4.

This will open the "Load File" dialogue box (Fig 2).

Use this box to navigate to the folder that FileMonkey is installed in (This is usually something like: C:\Program Files\FileMonk)

Select the file Delete Empty Folders.FM and click the "Load" button.

Fig 3
delete empty folders


5.

Please verify that you have loaded the correct script ("Delete Empty Folders.FM").

The command line window should now look like Fig 3 above.

6.

To delete all empty folders on the target path, select the "File / Compile And Run" menu item.



Related Topics:
FileMonkey Tutorials
Frequently Asked Questions
FoldMonkey - Create folders based on file names
How do I empty a folder
Using the command line feature to back up files
Using the command line feature to move or copy files
Using the command line feature to unzip many files

  | About Us | Privacy Policy | Terms Of Use | Affiliates | Forums | Copyright 2003 MonkeyJob Systems All Rights Reserved |