user command
John Esak
john at valar.com
Tue Oct 6 16:11:21 PDT 2009
Chris,
Are you saying you *can't* for some reason use the proper command to get the
list of files in a directory? Is this Windows share not visible to the
running filePro or something?
Why aren't you using "opendir() which automatically fills the @dirlist_file*
system mainttained arrays... Which can be put on the screen with listbox as
any other array.
Also, I thought you read this list. Not more than a few weeks ago, the exact
same question you just asked was asked and answered. Use opendir().
Now, if there is some reason you are constrained to use the USER command,
then I can't help. It's like using a hammer when you need a screwdriver.
Then: opdndir( exp-of-wildcard-to-search-for ,
exp=for-directory-to-open )
Then: x=listbox(@dirlist_filename)
Where x will equal the number of files found.
Good luck.
John
> -----Original Message-----
> From: filepro-list-bounces+john=valar.com at lists.celestial.com
> [mailto:filepro-list-bounces+john=valar.com at lists.celestial.co
m] On Behalf Of Chris Rendall
> Sent: Tuesday, October 06, 2009 6:17 PM
> To: filePro (filepro-list at lists.celestial.com)
> Subject: user command
>
> I'm using the "user" command to run a script in Linux to get
> a list of files in a directory on a Windows share. Is there
> a way to use a parameter with the "user" command? The name
> of the directory I want to get the list of files from changes
> depending on the job number.
>
> I've done this before with the "user" command, but in that
> program I'm always looking in the same directory to get the
> list of names to display in the listbox.
>
> Thanks,
> Chris
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
More information about the Filepro-list
mailing list