Zur Navigation | Zum Inhalt
Version 6.4 Released
See the changelog for details of this new release.
FVCML0208 10

Create PDF Email Print

How does RocketDMS determine folder paths?

Author:
Administrator
Date added:
Sunday, 07 February 2010
Last revised:
Tuesday, 01 June 2010
Hits:
952
Rating:
 
Vote for this:
Good - Bad

Answer

 

Document Paths on Windows

"I have just tried to install RocketDMS and although it installs it assumes that the "My Documents" folder on my system resides in the default location i.e on the C: drive i.e "C:/Documents and Settings/xxxxxx/My Documents/_ROCKET Document Store"
I have moved "My Documents" to another drive so that I can split my System from my Data
However this assumption by the RocketDMS installer now means that Rocket DMS will not start and even though I have manually edited the RocketDMS COnfig.INI file I still can't get RocketDMS to work.

Is there any way I can get over this problem?"
 
RocketDMS uses the windows registry to locate your local profile and my
documents location as per the Microsoft documentation:
http://support.microsoft.com/kb/310746

"The path to the My Documents folder is stored in the following egistry key, where path is the complete path to your
storage location:HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders"

This registry entry may, in turn, include a reference to the environment variable %USERPROFILE%.

There are no assumptions or paths hard-coded in RocketDMS. It is, in fact, written to be cross-platform and hardcoding paths like C:\Documents and Settings....' is going to be very broken when running on OSX and Linux. When running on MS Windows we use the techniques as published by Microsoft to locate the 'My Documents' folder.

There are no hard-coded paths, apart from some  absolute last resort values should these environment variable not exist.

It is possible that your current environment variables don't reflect the true state of your system.
Open a DOS Command Prompt window and enter the command :set<enter>

You will see a list of all of your environment variables.

Category

Tags for this item