On windows I get an error when starting SQLcl
WARNING: Failed to load history
java.nio.file.AccessDeniedException: C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming\sqlcl\history.log
I see no way to specify where the file shoudl be created.
There is however a parameter -nohistory for which the helps says “Switch off history logging.”.
To me using that ought to result in history not being read. Though it could be argued that one could have acce3ss to history while not writing more.
Any idea for how to suppress the error message.
This is on a DevOps environment where everything is new so I cannot fix it so it works next time.