We have a user that uses an external hard drive for working folders and moves the drive between locations. It is possible to configure where SOS 4.0 stores the database1.sos and index.sos files so we can put them on the removable drive?
With SOS 3.5 these files were created in the application install directory so we could instal SOS on the removable drive. SOS 4 puts them in the "application data" directory.
Regards,
Julian
SourceOffSite 4.0, removable drives and database1.sos
Moderator: SourceGear
-
- Posts: 11
- Joined: Thu Mar 04, 2004 12:16 am
- Location: Melbourne, Australia
Hi Julian,
The index.sos file in the application area identifies database1.sos without a path, presumably, identifying the current directory. You may be able to add a path to that name to allow the database file go anywhere. (I'd stop the client and back up that directory before trying it, though )
Regards,
Geoff
The index.sos file in the application area identifies database1.sos without a path, presumably, identifying the current directory. You may be able to add a path to that name to allow the database file go anywhere. (I'd stop the client and back up that directory before trying it, though )
Regards,
Geoff
Editing index.sos does not work.
My work around (hack) is to provide my own implementation of SHGetFolderPathA for sos.exe to call that returns the path we want. This appears to be working well for us.
Perhaps a mechanism for setting the path to be used by SOS could be logged as a feature request by SourceGear for future consideration.
Regards,
Julian
My work around (hack) is to provide my own implementation of SHGetFolderPathA for sos.exe to call that returns the path we want. This appears to be working well for us.
Perhaps a mechanism for setting the path to be used by SOS could be logged as a feature request by SourceGear for future consideration.
Regards,
Julian