Is there a way to start xplorer2 from the command line? Don't confuse this with xplorer2 issuing command lines, which are discussed in the help file.
If I issue the command "explorer.exe \n:" I get a new Windows Explorer session open to n:\.
If I issued the command "c:\program files\2xexplorer\2xexplorer.exe \n:" I get an error message.
I have many applets which open a Windows Explorer session for me using the above method. I'd like to switch them so that they start a 2xExplorer session instead.
Command Line
Moderators: fgagnon, nikos, Site Mods
-
fgagnon
- Site Admin

- Posts: 3737
- Joined: 2003 Sep 08, 19:56
- Location: Springfield
Yes.
Command line options for starting x2 are described in the help file
Help | Quick start
They are missing from the User Manual. (narayan pls take note)
The syntax to open a single pane to drive n is:
"c:\program files\2xexplorer\2xexplorer.exe" /1 n:
Note the quotes around the executable (because there is a space in the full path), but the arguments are outside the quotes.
complete syntax is in the help file.
Command line options for starting x2 are described in the help file
Help | Quick start
They are missing from the User Manual. (narayan pls take note)
The syntax to open a single pane to drive n is:
"c:\program files\2xexplorer\2xexplorer.exe" /1 n:
Note the quotes around the executable (because there is a space in the full path), but the arguments are outside the quotes.
complete syntax is in the help file.
-
soonerlater
- Member

- Posts: 56
- Joined: 2007 Jan 16, 17:01
-
fgagnon
- Site Admin

- Posts: 3737
- Joined: 2003 Sep 08, 19:56
- Location: Springfield
-
soonerlater
- Member

- Posts: 56
- Joined: 2007 Jan 16, 17:01
I had mistakenly asked about 2xexplorer.exe (obsolete), but I meant to ask about xplorer2.exe (current). Forgive me. I've been using the obsolete 2xexplorer.exe for years. I just started using xplorer2.exe this week. This is my first forum visit and the 2xexplorer versus xplorer2 name thing is confusing.fgagnon wrote:@ wrong program (?) -
Syntax is same for both Lite & Pro (just name the right executable)
-
fgagnon
- Site Admin

- Posts: 3737
- Joined: 2003 Sep 08, 19:56
- Location: Springfield
so you got the answer you wanted (for xplorer²), no?
...
If you really care, the syntax for 2xExplorer has fewer options,
the pattern is somewhat similar, viz:
"full path\2xExplorer.exe" [leftfolder [rightfolder]]
But if you want to open it as a single pane, it must have had that mode saved from a prior use.
...
If you really care, the syntax for 2xExplorer has fewer options,
the pattern is somewhat similar, viz:
"full path\2xExplorer.exe" [leftfolder [rightfolder]]
But if you want to open it as a single pane, it must have had that mode saved from a prior use.
-
soonerlater
- Member

- Posts: 56
- Joined: 2007 Jan 16, 17:01