|
Post by jpoling2004 on Jan 10, 2019 19:12:14 GMT
I would like to create a check condition that determines if a particular file exists. Normally, this would be a short VBScript script . . . is there an example of how I would include vbscript in the check condition?
Thanks,
Jeff
|
|
|
Post by Jason on Jan 16, 2019 1:51:56 GMT
Amazingly, VBScript is more Powerful than most folks think, even me :-) I'd never tried before, but the following works perfectly:
<Action Type="TSVar" Name="FTWFileExists" Condition='CreateObject("Scripting.FileSystemObject").FileExists("C:\Users\Jason\Desktop\ConfigMgrFTW.dox")'>"True"</Action>
|
|