Read directory contents
Is there a way to read the contents of a directory that is not part of a registry? For example on the ORC. server, If I wanted to read the contents of the "C:\TEMP\unzipped" folder and load the file names into an object array, how would I be able to accomplish this with xmscript?
Thanks,
Paul
Tagged:
0
Comments
-
There are a few ways. One is to call out to the system and make a directory call using the XMUtilities::systemCall().
Alternatively, you can build a local registry within XMScript. See the attached example.
0 -
This worked out well, thank you for the help
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 155 General Questions
- 149 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 33 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories