Is there a command line?
Is there a command line?
Hi,
I would like to know how to address a command line in XYplorer if there is any. In the menu, I did not find any, neither in the help file.
Thank you.
I would like to know how to address a command line in XYplorer if there is any. In the menu, I did not find any, neither in the help file.
Thank you.
Re: Is there a command line?
I mean, I see lots of entries for "command line commands" and such, but if there is not any such command line, how to enter command line commands? Seriously, I do not find a command line here.
Re: Is there a command line?
In the special "List of all commands", there is a control-alt-p under "command" but that is a Dos window, I am just looking for a command line such as is in any other file commander I have ever seen.
-
admin
- Site Admin
- Posts: 64828
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Is there a command line?
Just type ! in the Address Bar, then type your command line.
FAQ | XY News RSS | XY X
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Is there a command line?
Hi and Welcome,
By command line you mean command line switches? or you want to run XYplorer.exe from command line?
If its the second, then no, XY runs from GUI only.
With that said you can hide/minimize XYplorer totaskbar tray and trigger XY commands (Help>Help on Scripting commands)
There is a special option /flg=2 to trigger commands from DOS
Could you describe what exactly you plan to do with command line?
By command line you mean command line switches? or you want to run XYplorer.exe from command line?
If its the second, then no, XY runs from GUI only.
With that said you can hide/minimize XYplorer to
There is a special option /flg=2 to trigger commands from DOS
Could you describe what exactly you plan to do with command line?
Re: Is there a command line?
Thank you! But if I select an item, then enter "copyto a" in the address line, a being a subfolder to be created under the current folder where to item is, Xyplorer says the command is unknown, when in fact, from the help file, I except that XYplorer asks me if I want to create the subfolder a.
If I do the same, but enter "!copyto a" or "!copyto a\" in the address line, I get a Dos box, saying the command is unknown or misspelled.
If I do the same, but enter "!copyto a" or "!copyto a\" in the address line, I get a Dos box, saying the command is unknown or misspelled.
Re: Is there a command line?
The same when I enter the full path, instead of hoping XYplorer will get that I enter a relative path as above.
Re: Is there a command line?
And on top of that, now before my address line, I have a steady Dos symbol, so my address line only accept Dos commands now it seems, no more internal XYplorer commands.
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Is there a command line?
use :: before any command.PeterB wrote:The same when I enter the full path, instead of hoping XYplorer will get that I enter a relative path as above.
XY doesn't know if you are entering path or entering command.
::copyto...
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Is there a command line?
if you enter ! it triggers DOS mode, remove ! to get normal address bar mode.PeterB wrote:And on top of that, now before my address line, I have a steady Dos symbol, so my address line only accept Dos commands now it seems, no more internal XYplorer commands.
Re: Is there a command line?
Thank you very much, serendipity! Both versions, relative path and full path, now work as I had hoped. Thank you a lot!
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Is there a command line?
Tip: if you are going run lot of scripts from address bar and don't want to enter :: everytime, then tweak this ini entry:PeterB wrote:Thank you very much, serendipity! Both versions, relative path and full path, now work as I had hoped. Thank you a lot!
ScriptSmartDetect=1
How to tweak:
http://www.xyplorer.com/xyfc/viewtopic.php?f=10&t=3543
Re: Is there a command line?
Hi,
a simple address line command
::moveto D:\Ph\0\M
(this folder is existant, an item is selected)
brings a message:
XYplorer Scripting
Script:
File: (Internal)
Script: (Untitled)
1moveto D:\Ph\0\M;
Error:
!Überlauf
0\0
Continue
Cancel Script
"Continue" brings the same error message again.
The same with other such commands, items or folders. Where could lie the problem?
So this command did function 2 or 3 times, then never again.
a simple address line command
::moveto D:\Ph\0\M
(this folder is existant, an item is selected)
brings a message:
XYplorer Scripting
Script:
File: (Internal)
Script: (Untitled)
1moveto D:\Ph\0\M;
Error:
!Überlauf
0\0
Continue
Cancel Script
"Continue" brings the same error message again.
The same with other such commands, items or folders. Where could lie the problem?
So this command did function 2 or 3 times, then never again.
Re: Is there a command line?
Here is one of many identical screenshots, with 1 or several items (here it was 2 items), with many different folders...
I closed down XYplorer, and reopened it, this screenshot is from the reopened XYplorer (10.80).
I closed down XYplorer, and reopened it, this screenshot is from the reopened XYplorer (10.80).
- Attachments
-
- xybug.gif (9.32 KiB) Viewed 3564 times
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Is there a command line?
You have to put quotes " to avoid errors.
::moveto "D:\Ph\0\M";
::moveto "D:\Ph\0\M";
XYplorer Beta Club