Hi All,
I'm trying to get two custom bed files to auto-load when the IGV bat file is executed, and to maintain these two files after I create a new session. The two bed files are located in the same directory with the IGV bat file, and both can be loaded without any issues after IGV starts, so I'm confident it's not an issue with the file format.
I'm running Windows 10 and my bat file looks like this:
::Get the current batch file's short path
for %%x in (%0) do set BatchPath=%%~dpsx
for %%x in (%BatchPath%) do set BatchPath=%%~dpsx
jre1.8.0_131\bin\javaw -Xmx10G -Dproduction=true -Djava.net.preferIPv4Stack=true -Dsun.java2d.noddraw=true -jar %BatchPath%lib\igv.jar -o C:\Users\<hidden>\igv\prefs.properties -o File1.bed -o File2.bed %*
I tried adding the text in red to options above, which didn't work. If I change the text to -o *.bed then one of the files loads, but the other never does. Is there a (better) way to get these two bed files to auto-load on startup? And once they are loaded, is there a way to get these two files to persist if I open a new session?
Thanks for any help. I'm stuck using Windows and am trying to make sense of modifying windows batch files.
-Adam