RE: Current Directory
- Posted by Al Getz <Xaxo at aol.com> Feb 13, 2003
- 490 views
Derek, Because your questions seem very detailed the best thing you can do is supply us with a list of file entries (line by line) and a comment as to what is supposed to happen with that particular entry. I would say you should supply at least 20 fully commented examples. It would be a good idea to use the format shown in another reply: [line1] D:\ThisDir\ThatDir\file1.txt --file #1, location only [line2] D: --command [line3] D:\ThatDir\file1.txt --file #2, location only [line4] D:ThatDir\file1.txt --file #2 again [line5] blah blah --command Some additional comments... >D:FolderName\..\test2.dat >Notice that there is NO "\" between the ":" and the "FolderName". This >is >the situation that I don't know how to handle. This doesnt sound that hard. You have to answer the question: Does this format differ from the standard format for a reason, or should it be converted into: "D:\FolderName\..\test2.dat"? >Then if D:\XYZZY\test2.dat is supplied, how can I know if that is the >same >file as D:\FolderName\..\test2.dat ? It is possibly the same file, but >maybe not also. The file cant be exactly the same file, but might be a replica. The only way to determine this is to test the checksum because the date and time might be different even though it contains the same file contents. Also, you'll have to avoid writing to files if this is the case, because which file do you write to, and if you choose to write to both, there may yet still be another copy in another directory that hasnt been updated. Good luck with it, Al