Relative path names in textpad workspace
Posted: Thu Aug 25, 2005 1:37 pm
I would like to know how to get the textpad workspace file to contain relative path names to files instead of full paths. This would allow the renaming of directories containing files and workspaces and be able to maintain their relationship.
Example: Currently if I have the dir c:\XXX containing files a.txt, b.txt, and XXX.tws (which contains a.txt and b.txt) and I rename the dir to c:\YYY, XXX.tws will still point to c:\XXX\a.txt and c:\XXX\b.txt. When the .tws is opened the files will not be found. If a relative path is used then the files would be found.
Any ideas?
I'll also take a mechanism to manually alter the .tws if one is available.
Thanks!
Example: Currently if I have the dir c:\XXX containing files a.txt, b.txt, and XXX.tws (which contains a.txt and b.txt) and I rename the dir to c:\YYY, XXX.tws will still point to c:\XXX\a.txt and c:\XXX\b.txt. When the .tws is opened the files will not be found. If a relative path is used then the files would be found.
Any ideas?
I'll also take a mechanism to manually alter the .tws if one is available.
Thanks!