Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-04-2003, 03:35 PM
Shuang Shuang is online now
Registered User
 
Join Date: 09-04-2003
Posts: 6
Question 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
Reply With Quote
  #2  
Old 09-04-2003, 03:47 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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.
Reply With Quote
  #3  
Old 09-04-2003, 04:24 PM
Shuang Shuang is online now
Registered User
 
Join Date: 09-04-2003
Posts: 6
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
Reply With Quote
  #4  
Old 09-04-2003, 04:38 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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
Attached Files
File Type: bld proclog.bld (901 Bytes, 1684 views)
Reply With Quote
  #5  
Old 09-05-2003, 09:40 AM
Shuang Shuang is online now
Registered User
 
Join Date: 09-04-2003
Posts: 6
Many thanks for the help. My project is now working after renaming some macros.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 10:59 AM.


Copyright © 1999-2023 Kinook Software, Inc.