Advertisement

08.04.2008 at 12:23PM PDT, ID: 23620128 | Points: 500
[x]
Attachment Details

Check if folder exists VB Script

Asked by ITRSupport in VB Script

Tags:

Hello,

I am looking for a solution to create a vbscript that will do the following:

Check if a particular folder exists on the target pc.  If that folder exists, exit and do nothing.  If the folder does not exist, rename another folder in that same directory and then run an .msi installer.

To be more specific...

I want to see if C:\Program Files\Microsoft Business Solutions\Great Plains Old 3 exists...if so do nothing.
If not, I want to rename C:\Program Files\Microsoft Business Solutions\Great Plains to C:\Program Files\Microsoft Business Solutions\Great Plains Old 3 and then execute a packaged .msi file.  Also, I would like to do this via a group policy object if possible.

Thanks for any help on this one.Start Free Trial
[+][-]08.04.2008 at 12:43PM PDT, ID: 22155432

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.04.2008 at 12:44PM PDT, ID: 22155449

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.04.2008 at 05:30PM PDT, ID: 22157301

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.11.2008 at 12:12PM PST, ID: 22933765

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628