home recent topics recent posts search faq  

RC-WinTrans Forum



register | lost password | |
Messages in this topic - RSS

Home » RC-WinTrans Support » Update files reference

For support issues and specific questions related to RC-WinTrans' use, features and functions.
04.12.2012 15:59:28

jmv
jmv
Posts: 18
Hi,
I have a huge RCWintrans project with more than 500 files.
The folder structure changed and I would like to know if it's possible to update the "file reference" properties by script or macro.
It will be very time consuming and risky to do this file by file throught the interface.
I tried to open the fsmdb with msAccess, and changed the "FileName" in the ""SourceFiles" Table, but when I open the project then, I got an error "file not exist...'
Thanks for the help
0 permalink
04.12.2012 22:20:16

Support
Support
Administrator
Posts: 245
Hello,
> I tried to open the fsmdb with msAccess, and changed the "FileName" in the ""SourceFiles" Table, but when I open the project then,
> I got an error "file not exist...'
>
This does not work because the path must be changed in the project definition file .rwtproject and in the database (.fsmdb).
Do not change the path manually!

Question: Is your database file (.fsmdb) located in a root directory relative to (all) the source files?
..then you can move your project structure (folders + files + RC-WinTrans database) to the new location.
This is possible when RC-WinTrans is using a relative path from the project file (.rwtproject, .fsmdb) to each source file.
.
You can check if a relative path to a source file is used:
- open the project definition file .rwtproject (it is a Windows INI file)
- for a/each file check the entry...

Example for two entries with a relative path:
[ROJECTFILE0]
WorkingFile=..\sub2\srcfilea.rwtxlf
[ROJECTFILE1]
WorkingFile=subdir\srcfileb.rwtxlf

When no drive or server name is used for the 'WorkingFile' then it is a relative path and the whole project can be moved.
Please check this and let me know.

With a script the path cannot be changed. Only via the GUI but file by file: "Changing a Source File Reference"

Regards,
Support, Schaudin.com
0 permalink
05.12.2012 11:15:59

jmv
jmv
Posts: 18
Hi,
Changing path in both xxx.rwtproject and xxx.fsmdb seems worked (even manually)
Thanks a lot
0 permalink
06.12.2012 19:19:28

Werner
Werner
Administrator
Posts: 14
Very good! Thank you to let us know.
Regards,
Werner, Schaudin.com
0 permalink

Home » RC-WinTrans Support » Update files reference





Powered by AspNetForum 6.9.6.0 © 2006-2010 Jitbit Software