AnsweredAssumed Answered

Dispatch to apply a variable value from one file to another file?

Question asked by Keith Schultz on Aug 15, 2011
Latest reply on Aug 11, 2019 by Kamil Wilkosz

We want to take a variable value stored in the data card of one file and apply it to other files within the same immediate directory using a Dispatch - Administrative Action.  Using "set card variables" we are able to apply the variable value to the parent folder data card and to another file by using '%CurrentFolderPath%\target file name.doc' (the "target file name" must be exact); however we cannot figure out how to apply this to any other file in the folder without identifying its complete path with file name.


Is there a way to apply this to any file in the current folder location?  It is unclear if a wildcard can be used to apply this to anthing in that immediate path, or if we know part of the file name.  Everything we have tried returns an error like this "error, file CurrentFolderPath\*.doc doesn't exist" where CurrentFolderPath\*.doc is the path we specify.

 

If not, is there another way to accomplish this?

Outcomes