#1
|
|||
|
|||
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 |
#2
|
|||
|
|||
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. |
#3
|
|||
|
|||
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 |
#4
|
|||
|
|||
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 |
#5
|
|||
|
|||
Many thanks for the help. My project is now working after renaming some macros.
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|