Physical Drives

Currently I have all my items located relative to where the FBPROJECTDIR is located at.  I now have a situation where some items may reside on a different drive location on the local machine.  Example

FBProjectdir = c:\test\Application1

Relativeitemlocation = %FBProjectdir%\..\Newlocation.

This works fine for most my items, but I now need to iterate the drive letter looking for the folder/file on other drives.

Right now c:\test\Newlocation is okay, but they want to move it to G:\test\Newlocation

I can check the relative location first but then I will need to iterate the drive letter looking for the other location.

Is there an iterate physical drive location or do I have to code it via vbscript?

 

 

Hi Dennis

Unfortunately there isn’t a drive iterator action, so you will need to use some Script to do this.


I did it with a Content Iterator and looked for the folder.  This seems to work. It would be nice to be able to have a drive iterator and then be able to decifer between what type drives are available as well as other information about the drives.