|
mseely -> RE: Redemption (RDO) - Suppress missing PST prompt (6/23/2008 6:23:06 PM)
|
I haven't worked with Redemption before, so I don't know if Redemption itself allows a prompt to be suppressed. But, by using the Scripting.FileSystemObject in conjunction with the Redemption.RDOSession object, should be able to tell if File Exists. If it does, move the file, otherwise skip it. Set ofso = Createobject("Scripting.FileSystemObject") Set Session = CreateObject("Redemption.RDOSession") Session.Logon For Each Store in Session.Stores If (Store.StoreKind = 2) or (Store.StoreKind = 1) Then if ofso.FileExists(Store.PstPath) Then ' I think this PSTPath is what is being looked for. Did a quick websearch against the Redemption class, and PSTPath looks like correct property 'my code - and it prompts here Else ' PST was not found ... so don't do anything. End If End If Next
|
|
|
|