xyplorer command line arguments
-
BBL
- Posts: 4
- Joined: 19 Feb 2013 08:48
xyplorer command line arguments
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.
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.
-
Borut
- Posts: 1472
- Joined: 19 Oct 2010 19:29
- Location: Win10 Pro 64b 22H2, @120DPI (125%)
Re: xyplorer command line arguments
Hi and welcome!
Then, for your other questions, copy&paste the following line into the address bar and press ENTER:
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=chmBBL wrote:the included chm file shows just some 'website cannot be displayed' error message.
Then, for your other questions, copy&paste the following line into the address bar and press ENTER:
Code: Select all
::rtfm("idh_commandlineswitches.htm")Win 10 Pro 64bit
-
admin
- Site Admin
- Posts: 66102
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: xyplorer command line arguments
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. 
FAQ | XY News RSS | XY X
-
PeterH
- Posts: 2827
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
Re: xyplorer command line arguments
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.
-
BBL
- Posts: 4
- Joined: 19 Feb 2013 08:48
Re: xyplorer command line arguments
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
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:
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.
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 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-
admin
- Site Admin
- Posts: 66102
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: xyplorer command line arguments
Confirmed, weird message...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 commandlineThe idea is, to have the config in the users app data folder, and the window title show the username.Code: Select all
XYplorer.exe /title="%USERNAME%" /ini="%APPDATA%\XYplorerData\"
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: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.Code: Select all
Thecommandlineswitch/inipointsanon-existingpath:\n\n<$p>\n\nDefaultswillbeusedinstead
Tip: What you want can be achieved simpler:
1) Use startup.ini (see help) to define the soft data path:
Code: Select all
[Appdata]
Path=%appdata%\XYplorer
FAQ | XY News RSS | XY X
-
BBL
- Posts: 4
- Joined: 19 Feb 2013 08:48
Re: xyplorer command line arguments
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.
-
admin
- Site Admin
- Posts: 66102
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: xyplorer command line arguments
Environment variables are not supported here. But they will be from the next beta version onwards.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.
FAQ | XY News RSS | XY X
-
PeterH
- Posts: 2827
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
Re: xyplorer command line arguments
But you already can use <get username>admin wrote:Environment variables are not supported here. But they will be from the next beta version onwards.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.
-
admin
- Site Admin
- Posts: 66102
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: xyplorer command line arguments
True, but why not allow ENV? Cannot harm.
FAQ | XY News RSS | XY X
-
PeterH
- Posts: 2827
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
Re: xyplorer command line arguments
Nonono - no problem with itadmin wrote:True, but why not allow ENV? Cannot harm.
Just wanted to point to other ways: many interesting things to do with <get ...>
-
Skettalee
- Posts: 136
- Joined: 06 May 2019 20:27
Re: xyplorer command line arguments
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.
To see the attached files, you need to log into the forum.
-
highend
- Posts: 14926
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: xyplorer command line arguments
And what exactly is the problem now?
One of my scripts helped you out? Please donate via Paypal
-
Skettalee
- Posts: 136
- Joined: 06 May 2019 20:27
Re: xyplorer command line arguments
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
-
highend
- Posts: 14926
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: xyplorer command line arguments
XY supports navigating to files so the second option can be
"%f"One of my scripts helped you out? Please donate via Paypal
XYplorer Beta Club