Reply
Consistent Contributor
VaughnH
Posts: 10
Registered: 09-18-2009
0

File System Directory

Is there a way to get a list of files in a directory inside a script?  Maybe an array of filenames?  Or would I need to keep and update a directory file of my own every time my scripts create or delete a file?

Moderator
MarkR
Posts: 45
Registered: 11-25-2008
0

Re: File System Directory

Natively, there isn't away to do that.  I have never done this, but it might be possible to integrate the script with insideWS to get the information that you are after. 

 

Here is the method that I was thinking of that may get you what you need: https://inlogin.com/insidews/insidews.asmx?op=File_GetList

Consistent Contributor
logos
Posts: 75
Registered: 12-05-2008
0

Re: File System Directory

You might try a VBSCRIPT and see if you can access dir info from in that.

Tyler Style
IT Operations Manager
Healthy Habits, LLC

http://malthusian-solutions.com
http://nirdvana.com