Can Spark run off a portable drive?

Can Spark run off a portable drive such as a usb flash drive? I can see the path settings in the .ini files which can be modified but can the the profile (logs and such) also be modified to read / save in an alternate location other than the NT profile path?

Hi,

it may help to run Spark using a Spark.cmd file instead of the Spark.exe or by using a vmoptions file and set -Duser.home=“F:\foobar”.

LG

References:

-Duser.home=… is what I was after. Thank you.