Victoria,
Don't know a direct approach, however one workaround could be:
Let your WM program write the FolderName to a fixed registry location with RegistrySetValue. And let your WD program read this registry location with ceRegistryQueryValue
HTH
Merijn