Delete Empty Directory Folders within Directory Folder Structure

Completed Posted Mar 21, 2015 Paid on delivery
Completed Paid on delivery

DELIVERABLE:

VB Script

NAME THE SCRIPT:

directory_folder_empty_remover

FUNCTION:

The script's function is to remove (delete) ALL empty Directory Folders within a Directory Folder Structure. If there is a file in any folder - the file and the enclosing folder must NOT be deleted.

I will be creating a script in a Filemaker database application that will provide the "Directory Folder Name" (I think you will need a UNC Path) of the directory folder as input for where your script will start its operations from.

Your script needs to operate on the "Directory Folder Name" provided by my script, and work down through the nested directory folder directory examining each folder to see if it is empty, and if it is, delete it.

I'm not sure if your script would be better (initially) to prompt the User to navigate to a directory folder to select where it should run from. I think for testing purposes I will need the ability to navigate to a folder and run it. Later, the VB Script might need to be tweeked to allow a variable passed into it based on my script that will pass the variable which would be the directory folder to run it on.

To help visually explain what I want, I have provided a compressed file with files and folders inside. Not sure if there is a size limit to uploaded here, but I will find out. In the compressed file is an “INPUT PROVIDED” folder whose contents should make it clear as to what the input is. I have also include a “OUTPUT NEEDED” folder whose contents should make it clear as to what the script should deliver as a result.

My application will be Filemaker which is a cross-platform database for Mac and PC. My script will be activated by a button on the interface that will then examine the Users platform, and branch accordingly to run the appropriate script: AppleScript for Mac OSX Users, VB Script for Windows Users.

If you have any questions or need clarification - please feel free to ask.

Thanks

Shell Script VB.NET

Project ID: #7348475

About the project

2 proposals Remote project Active Mar 21, 2015

Awarded to:

mdkass

Hi, Thank you very much for inviting me, I'll do my best in this project and deliver it like the last one. Best Regards.

$34 USD in 3 days
(10 Reviews)
3.7

2 freelancers are bidding on average $45 for this job

prabakarm23

Greetings for the Day!!! I have 6 years of experience in .NET, VBA Macros, VB script,PS Script and VB creation with application like SAP, Internet explorer, Microsoft Outlook,PDF& Text files, MS Access and SQL Serv More

$55 USD in 2 days
(11 Reviews)
3.6