Hi,
By "Allow access", do you mean that it show files in the C drive, or do you mean it allows writing to the C drive?
Thanks
The initial path can be set by the following (awkwardly-named) property:
extensions.rmiextension.RMIExtension.settings.bluej.projectPath=N:\\
... which you can set in greenfoot.defs (and possibly also in bluej.defs, though I didn't try that). If you have an existing greenfoot.properties file (in the "greenfoot" folder in your own home folder) you will need to delete it for the setting in greenfoot.defs to take effect.
Hi,
Is it possible to move the Scenarios folder out of the C:\Program Files folder. The problem we have is when students open the Greenfoot software and click open scenario they are pointed to the program files folder. Can this pointer be redirected?
Thanks
You can change the folder of a Scenario.
I think greenfoot will indicate the last path which was called.
Otherwise you have to vond the path yourself.
Thanks for the reply, can I set the path using one of the .defs files? So the software does not point to C:\Program Files\Greenfoot\Scenarios when the user is using the software.
Thanks
My post above describes how to do this.
I have put the line
extensions.rmiextension.RMIExtension.settings.bluej.projectPath=N:\\
into both the bluej and greenfoot .defs but it is still pointing to the scenarios folder in Program Files when a user clicks "Choose a scenario" on the initial startup screen. Sorry, am I missing something?
Thanks
I did not realise you were referring to the file chooser that appears after the "first user" dialog. In that case, you can change the "greenfoot.scenarios" setting instead (or as well):
greenfoot.scenarios=N:\\
("N:\\" should be replaced with an appropriate path; backslashes do need to be doubled, however, as in this example).
Changing this setting also affects where Greenfoot looks for the tutorial scenario, so if you want the "open tutorial and tutorial scenario" button to work, you'll need to copy the tutorial scenario ("wombats") to the specified location.
I hope this makes sense!
Nice one. Changing the greenfoot.scenarios has hidden the C:\ from users.
I will put the scenarios etc into a shared drive the users can browse to.
Thanks for the help.