View Single Post
  #3  
Old 08-29-2007, 09:58 AM
teognost teognost is online now
Registered User
 
Join Date: 05-25-2004
Location: Prague,Czech Republic
Posts: 200
Wow,thanks a lot,without your help it would have been quite difficult for me to solve it!
One more thing-I need to do this operation for more files ,basically I have a cycle where the path for current file (e.g "D:\SVNExport\ffng\MockUp\AutoTrader\AutoTrader.BI C\Commands\General\LogoffCommand.cs") is written for every step in a macro CURRENT_FILE_LOCALFULLPATH.
So I do not know how many folders would contain the path for current file,this info is dynamically determined.
I am thinking now about how can I change the sample you put here in order to adapt it to this request....
So to have some cycle that would split the path from CURRENT_FILE_LOCALFULLPATH into folders FIND_DIR like
D:\SVNExport\ffng\MockUp\AutoTrader\AutoTrader.BIC \Commands\General
D:\SVNExport\ffng\MockUp\AutoTrader\AutoTrader.BIC \Commands
D:\SVNExport\ffng\MockUp\AutoTrader\AutoTrader.BIC
D:\SVNExport\ffng\MockUp\AutoTrader
D:\SVNExport\ffng\MockUp
D:\SVNExport\ffng
and for each of this folders to search for the csproj files containing the related string FIND_STR (FIND_STR would be the difference between CURRENT_FILE_LOCALFULLPATH and FIND_DIR)
Reply With Quote