Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: File versions: HELP!

From: mario:cassani:icl at: 6-Jul-2001 13:21

At first thankyou very much, this last minute check is a real PITA... OK> - you have two cd's
OK> - you want to go through the whole directory
> structure of each cd >
OK> - for each .bat/.cmd file in the cd's, you would
> like to look inside > > - if you find a copy/isql command, you want to > check that the filenames supplied as arguments > actually exist on the cd ?
not necessarily copy/isql but sure %1\something.ext where %1 has to be substituted with a fixed string. In other words: ; CD ROM CD-path: /r/installation/data ; SourceSafe local checkout SS-path: /d/customer1/data either exists? CD-path/something.ext [ ;compare with SS-path/something.ext is-common? CD-path/something.ext SS-path/something.ext ;compare with SS-path/something_thai.ext is-thai? CD-path/something.ext SS-path/something_thai.ext ;compare with SS-path/something_china.ext is-china? CD-path/something.ext SS-path/something_china.ext ... ] [ if exists? SS-path/something.ext [ print join "Missing " CD-path/something.ext ] ]
> - if you are copying a _thai file, in one of the > copy commands, would you want to check that > the destination is also a _thai file as well? > > - should the filename for the next isql command > also be _thai as well? > > - will it be the same for _china as well? > - and same again except no _thai/china at all? ie. myprog.exe >
See above, the CD files don't have _thai/_china in their names YES> - you want to report all discrepancies from the
> above rules? > > If you quickly respond I can help more.
As quick as possible, I am scripting too... Read you soon Mario