Page 1 of 1
xyplorer command line arguments
Posted: 19 Feb 2013 08:55
by BBL
I hope this wasnt covered before, but i spent quite some time searching: Is there any command line reference for xyplorer? Google didnt find anything, the included chm file shows just some 'website cannot be displayed' error message.
More specifically, i would like to specify at startup where xyplorer should store its user specific files (data folder, settings, etc.). I found hints that this is possible via commandline arguments, but nothing further.
I use multiply users, that should not share their config. Some of them cant even write to the program folder. So it would put the data folder somewhere into the user profile directory.
A commandline argument, that tells xyplorer to search for its files in the users appdata folder right away would be nice as well.
Thanks in advance.
Re: xyplorer command line arguments
Posted: 19 Feb 2013 09:54
by Borut
Hi and welcome!
BBL wrote:the included chm file shows just some 'website cannot be displayed' error message.
If I understand it correctly, you should first make the hep file usable. See here for that:
http://www.xyplorer.com/faq-topic.php?id=chm
Then, for your other questions, copy&paste the following line into the address bar and press ENTER:
Code: Select all
::rtfm("idh_commandlineswitches.htm")
Re: xyplorer command line arguments
Posted: 19 Feb 2013 10:04
by admin
Slightly offtopic:
help is a working synonym to
rtfm. I know that some fellow humans in a big country on the other side of a fairly big ocean can be a bit touchy, at least compared to people from this side of that ocean, especially to those from Cologne.

Re: xyplorer command line arguments
Posted: 19 Feb 2013 11:27
by PeterH
If you can't get your helpfile to work you at least could use the PDF help - it includes the same information as the help embedded in the program.
Re: xyplorer command line arguments
Posted: 20 Feb 2013 09:11
by BBL
The help file is now cleared up, rtfm is ok with me
This might be useful to others, so i'm posting it here: I run xyplorer with the commandline
Code: Select all
XYplorer.exe /title="%USERNAME%" /ini="%APPDATA%\XYplorerData\"
The idea is, to have the config in the users app data folder, and the window title show the username.
The specific ini-directory works (that was my main concern, thanks!)
The title parameter doesnt seem to work. No matter if i have it first or last or with a static text.
And, the ini parameter behaves somewhat weird. When the specified directory does not exist, i get a messagebox with this message:
Code: Select all
Thecommandlineswitch/inipointsanon-existingpath:\n\n<$p>\n\nDefaultswillbeusedinstead
No blanks, seems a bit unprocessed. I think it would be great, if yxplorer would aks to create that folder, as it does with the default Data-folder.
Re: xyplorer command line arguments
Posted: 20 Feb 2013 09:17
by admin
BBL wrote:The help file is now cleared up, rtfm is ok with me
This might be useful to others, so i'm posting it here: I run xyplorer with the commandline
Code: Select all
XYplorer.exe /title="%USERNAME%" /ini="%APPDATA%\XYplorerData\"
The idea is, to have the config in the users app data folder, and the window title show the username.
The specific ini-directory works (that was my main concern, thanks!)
The title parameter doesnt seem to work. No matter if i have it first or last or with a static text.
And, the ini parameter behaves somewhat weird. When the specified directory does not exist, i get a messagebox with this message:
Code: Select all
Thecommandlineswitch/inipointsanon-existingpath:\n\n<$p>\n\nDefaultswillbeusedinstead
No blanks, seems a bit unprocessed. I think it would be great, if yxplorer would aks to create that folder, as it does with the default Data-folder.
Confirmed, weird message...

.... will check that.
Tip: What you want can be achieved simpler:
1) Use
startup.ini (see help) to define the soft data path:
2) Put %USERNAME% to the titlebar template in Configuration / Templates.
Re: xyplorer command line arguments
Posted: 24 Feb 2013 12:14
by BBL
I finally tried the window title, but it seems the %USERNAME% variable isnt recognized at this location. It is shown as "%USERNAME% ..." in the window title.
Re: xyplorer command line arguments
Posted: 24 Feb 2013 12:37
by admin
BBL wrote:I finally tried the window title, but it seems the %USERNAME% variable isnt recognized at this location. It is shown as "%USERNAME% ..." in the window title.
Environment variables are not supported here. But they will be from the next beta version onwards.
Re: xyplorer command line arguments
Posted: 24 Feb 2013 12:39
by PeterH
admin wrote:BBL wrote:I finally tried the window title, but it seems the %USERNAME% variable isnt recognized at this location. It is shown as "%USERNAME% ..." in the window title.
Environment variables are not supported here. But they will be from the next beta version onwards.
But you already can use <get username>

Re: xyplorer command line arguments
Posted: 24 Feb 2013 12:44
by admin
True, but why not allow ENV? Cannot harm.
Re: xyplorer command line arguments
Posted: 24 Feb 2013 23:00
by PeterH
admin wrote:True, but why not allow ENV? Cannot harm.
Nonono - no problem with it
Just wanted to point to other ways: many interesting things to do with <get ...>

Re: xyplorer command line arguments
Posted: 01 Dec 2023 02:05
by Skettalee
Not sure if this is the same thing but I have been using FlowLauncher (a really cool command prompt thats elegant and has lots of plugins and ways to interact with the computer but it also has a Default File Manager and in there it allows you to name the file manager (like as a profile) and put the file manager path and then the ARg for Folder and Arg for File, those are currently set to "%d" and actually both "%d" Just came searching to see if there are certain arguments to place there but I didn't really see that from this post.
Screenshot 2023-11-30 190210.png
Re: xyplorer command line arguments
Posted: 01 Dec 2023 07:40
by highend
And what exactly is the problem now?
Re: xyplorer command line arguments
Posted: 02 Dec 2023 01:16
by Skettalee
Sorry I seem to have problems learning how to use the software correctly but its not a problem, not that i can think of. I was just showing the settings to see if what i have in there was right. Im still not even sure how I use that program to do anything with a file manager even yet, so if you dont see a problem with that screenshot then Im sure thi0ngs are fine and I just need to learn more on that other program. Thank you again and sorry for all my questions
Re: xyplorer command line arguments
Posted: 02 Dec 2023 07:57
by highend
XY supports navigating to files so the second option can be "%f"