Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Process Files for a list of file names (https://www.kinook.com/Forum/showthread.php?t=185)

Shuang 09-04-2003 03:35 PM

Process Files for a list of file names
 
I am trying to get a list of files in a given directory. Process Files seems a good fit. But it just won't work for me. I have tried the sample recurse.bld without any luck.

I am with Visual Build Professional 4.6b and on Win 2000.

I will appreciate your help.

Shuang

kinook 09-04-2003 03:47 PM

A couple possibilities here: http://www.kinook.com/Forum/showthread.php?threadid=170

If that doesn't help, please provide a little more detail on what exactly isn't working for you.

Shuang 09-04-2003 04:24 PM

To get a list of *.log files in a VSS data/loggedin folder is a step in my VSS maintenance project. I want to find out the names of current users by concatenating %PROCFILES_FILENAME% under Process Files. I have tried running the entire project. But I have not been able to get anything from the system macro %PROCFILES_FILENAME%. I can see %PROCFILES_FULLPATH% is not empty, though.

Thanks,
Shuang

kinook 09-04-2003 04:38 PM

1 Attachment(s)
I'm not sure what you're missing. Building the attached file here (w/ v. 4.6b), gives the following output:

Building project step 'create file'...
Building project step 'create file'...
Building project step 'process files'...
Loading a list of matching files...
Processing file 1 of 2: abc.log...
Building project step 'show it'...
%PROCFILES_FULLPATH% = c:\temp\loggedin\abc.log
%PROCFILES_FILENAME% = abc.log
Building project step 'process files'...
Processing file 2 of 2: xyz.log...
Building project step 'show it'...
%PROCFILES_FULLPATH% = c:\temp\loggedin\xyz.log
%PROCFILES_FILENAME% = xyz.log
Building project step 'process files'...
Done processing files

Shuang 09-05-2003 09:40 AM

Many thanks for the help. My project is now working after renaming some macros.


All times are GMT -5. The time now is 09:24 PM.


Copyright © 1999-2023 Kinook Software, Inc.