I frequently want to start E++ from a command shell and provide parameters to a directory that I'd like to open a tab to. I've created a batch file which performs this action and is listed below. I've noticed that E++ handles this well, except when the
current directory or folder is used as an argument. For instance:
Code: Select all
C:\Temp> "C:\Program Files\Explorer++\Explorer.exe" C:\Temp
will work fine.
but the syntax below, using the unix-like (but supported on windows)
"." as a reference to the current path
does not.
Code: Select all
C:\Temp> "C:\Program Files\Explorer++\Explorer.exe" .
I've worked around this by the creation of the batch file below, but I think it should be relatively straightforward to fix this issue. I'm using the most recent version of E++ as of April 2015
EPP.CMD
Code: Select all
@ECHO OFF
SET DIRPATH=%1
IF %1==. SET DIRPATH=%CD%
START "noTitle" /B "c:\Program Files\Explorer++\Explorer++.exe" "%DIRPATH%"
Cheers,
-a