Opening of several instances with distinct directories &
Opening of several instances with distinct directories &
Hello,
I was wondering. Is it possible to open several instances of the program, both with custom directories, through a BAT file, or something similar?
Also, could it perhaps be possible to apply for one of them, something similar to this:
https://github.com/bruhov/WinThumbsPreloader
(preloads all thumbnails)
I was wondering. Is it possible to open several instances of the program, both with custom directories, through a BAT file, or something similar?
Also, could it perhaps be possible to apply for one of them, something similar to this:
https://github.com/bruhov/WinThumbsPreloader
(preloads all thumbnails)
Last edited by David233 on 08 Dec 2019 21:28, edited 1 time in total.
Re: Opening of several instances with distinct directories &
Look e.g. at the /script command line switch in the help file...Is it possible to open several instances of the program, both with custom directories
XYplorer.exe /script="::#353; goto 'C:\'; tab('new', 'D:\'); tab('new', 'R:\');"
This closes all other tabs, opens C: in the current tab and with all other
tab()
commands, additional drives/paths...Configuration | General | Startup & Exit | [x] Allow multiple instances
and eventually
Configuration | General | Startup & Exit | [x] Open new instance always
must be ticked...
One of my scripts helped you out? Please donate via Paypal
Re: Opening of several instances with distinct directories &
Thanks for the reply!highend wrote: ↑08 Dec 2019 18:51Look e.g. at the /script command line switch in the help file...Is it possible to open several instances of the program, both with custom directories
XYplorer.exe /script="::#353; goto 'C:\'; tab('new', 'D:\'); tab('new', 'R:\');"
This closes all other tabs, opens C: in the current tab and with all othertab()
commands, additional drives/paths...
Configuration | General | Startup & Exit | [x] Allow multiple instances
and eventually
Configuration | General | Startup & Exit | [x] Open new instance always
must be ticked...
After looking into the Help file, I tired running "run command, [F:\Downloads\@5 Recurring]"
And pic-related
But got the pic-related error, each time...
Re: Opening of several instances with distinct directories &
No clue what command you've executed (and from where)...
One of my scripts helped you out? Please donate via Paypal
Re: Opening of several instances with distinct directories &
Then read my first post again, it shows exactly what you were asking for...
One of my scripts helped you out? Please donate via Paypal
Re: Opening of several instances with distinct directories &
Oh, pardon my ignorance, somehow misunderstood the description... I tried running it through Scripting ➔ Run Script, but got a "Dubious syntax" again, putting the script in BAT, didn't really help either
Re: Opening of several instances with distinct directories &
Putting which script in the .bat?
Post the content of the .bat file^^
Post the content of the .bat file^^
One of my scripts helped you out? Please donate via Paypal
Re: Opening of several instances with distinct directories &
The one posted above
Code: Select all
XYplorer.exe /script="::#353; goto 'C:\Users\Leon\Pictures\VLC'; tab('new', 'F:\Downloads\@5 Recurring'); tab('new', 'R:\');"
Re: Opening of several instances with distinct directories &
And what exactly happens when you run this .bat file?
is not helpful...putting the script in BAT, didn't really help either
One of my scripts helped you out? Please donate via Paypal
Re: Opening of several instances with distinct directories &
Sorry, it just kind of flashes by quickly, and that's about it. Here's how my current content of the script looks like exactly
Code: Select all
XYplorer.exe /script="::#353; goto 'C:\'; tab('new', 'C:\Users\David\Pictures\VLC'); tab('new', 'F:\Downloads\@5 Recurring');
Code: Select all
tab('new', 'F:\Downloads\@5 Recurring');
Code: Select all
goto
Re: Opening of several instances with distinct directories &
Your first script call is missing the trailing double quotes...
And the .bat file is in the same path where XYplorer.exe lies?
If not, you need to call XYplorer with its full path (and in double quotes)!
E.g. (depending on where you've installed XY):
And the .bat file is in the same path where XYplorer.exe lies?
If not, you need to call XYplorer with its full path (and in double quotes)!
E.g. (depending on where you've installed XY):
"C:\Program Files (x86)\XYplorer\XYplorer.exe" /script="::#353; goto 'C:\'; tab('new', 'C:\Users\David\Pictures\VLC'); tab('new', 'F:\Downloads\@5 Recurring');"
One of my scripts helped you out? Please donate via Paypal
Re: Opening of several instances with distinct directories &
Thought I accidentally put the double quotes there myselfhighend wrote: ↑10 Dec 2019 23:19 Your first script call is missing the trailing double quotes...
And the .bat file is in the same path where XYplorer.exe lies?
If not, you need to call XYplorer with its full path (and in double quotes)!
E.g. (depending on where you've installed XY):
"C:\Program Files (x86)\XYplorer\XYplorer.exe" /script="::#353; goto 'C:\'; tab('new', 'C:\Users\David\Pictures\VLC'); tab('new', 'F:\Downloads\@5 Recurring');"
But yeah, thanks a bunch man! Working as intended now ❤
Re: Opening of several instances with distinct directories &
Although... hm, the XYplorer instance seems to be opening alright, but it switches from one directory to the other, without opening a second instance...highend wrote: ↑10 Dec 2019 23:19 Your first script call is missing the trailing double quotes...
And the .bat file is in the same path where XYplorer.exe lies?
If not, you need to call XYplorer with its full path (and in double quotes)!
E.g. (depending on where you've installed XY):
"C:\Program Files (x86)\XYplorer\XYplorer.exe" /script="::#353; goto 'C:\'; tab('new', 'C:\Users\David\Pictures\VLC'); tab('new', 'F:\Downloads\@5 Recurring');"
Got
checkedConfiguration | General | Startup & Exit | [x] Allow multiple instances
and eventually
Configuration | General | Startup & Exit | [x] Open new instance always
must be ticked...
Re: Opening of several instances with distinct directories &
Then you don't have two XY calls (with different directories for the /script part) in the .bat or you didn't save settings at least once after you've set the checkmark for both of the mentioned settings...
One of my scripts helped you out? Please donate via Paypal