Welcome, Guest
Please Login or Register.    Lost Password?

ini file
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: ini file
#16156
ini file 2 Years, 11 Months ago  
Hello, I want to store the ini file in another folder than .rainlendar2. The FAQ says that I have to start Rainlendar2 with -c [path] command line parameter (the [path] defines the path to the settings). I know almost nothing about programming, so please tell me more in detail how this is done.
LarsLj
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#16162
Re: ini file 2 Years, 11 Months ago  
Linux: rainlendar2 -c /opt/rainlendar2/rainlendar2.ini
Windows: rainlendar2 -c C:/yourfolder/rainlendar2/rainlendar2.ini

Or only the path to the folder

Linux: rainlendar2 -c /opt/rainlendar2
Windows: rainlendar2 -c C:/yourfolder/rainlendar2
sausi
Gold Boarder
Posts: 179
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Germany, Magdeburg Birthday: 02/17
Last Edit: 2011/10/11 10:43 By sausi.
The administrator has disabled public write access.
 
#16163
Re: ini file 2 Years, 11 Months ago  
If you don't know how to use the command line arguments you could just copy everything from the Rainlendar's program folder to the target folder and make it a portable version as explained in here: www.rainlendar.net/cms/index.php?option=com_easyfaq&Itemid=26#faq2

If you don't want to do that you can create a new shortcut from the Rainlendar.exe and add the -c argument to the target line in the properties dialog. E.g.

"C:\Program Files\Rainlendar2\Rainlendar2.exe" -c C:\Temp

You then need to use the new shortcut to start Rainlendar.
Rainy
Moderator
Posts: 5956
graph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
#16167
Re:ini file 2 Years, 11 Months ago  
Thank you both it was very helpful. However if the path goes like C:\Documents and Settings\All Users\............. I become a message saying unexpected parameter 'and'. If the ini file is put in a directory which path doesn't contain the word 'and' it works well. Is there any work around for this.
LarsLj
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#16169
Re:ini file 2 Years, 11 Months ago  
The problem isn't the word, but the spaces. Try the path with quotes.
e.g.: "C:\Program Files\Rainlendar2\Rainlendar2.exe" -c "C:\Documents and Settings\All Users\..."
Jorge_Luis
Platinum Boarder
Posts: 795
graphgraph
User Online Now Click here to see the profile of this user
Gender: Male My Rainlendar Skins Location: Argentina Birthday: 03/15
The administrator has disabled public write access.
 
#16170
Re:ini file 2 Years, 11 Months ago  
Thank you Jorge_Luis this solved it. Now everything works the way I want it to do.
LarsLj
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop