Changing config location on Windows 11

35 views
Skip to first unread message

Chuck Hackett

unread,
Mar 10, 2026, 1:26:10 PM (8 days ago) Mar 10
to OpenPnP
I want to change my config location from <user>/.openpnp2 to a OneDrive location so that I can work on board setups from my desktop computer and execute them on my P-n-P computer.

I have tried adding "-DconfigDir=C:\Users\cdh84\OneDrive\OpenPnP" to the end of the shortcut "Target" but it seems to be ignored.

I tried installing the Java runtime so that I could execute:
java -DconfigDir=C:\Users\cdh84\OneDrive\OpenPnP -jar "C:\Program Files\openpnp\openpnp-gui-0.0.1-alpha-SNAPSHOT.jar"

but I have not been able to get the correct JRE installed (not very familiar with Java as a whole).  Through the Java Configuration app I was able to search for and add the java version contained within the openpnp folder but executing the above in a CMD window still did not work.

I would prefer the Windows shortcut method if possible.

I'm running Windows 11.

Thanks for your help ...
Reply all
Reply to author
Forward
0 new messages