RFE: '.' obtains current working directory for command line

English support for the software AllDup
Post Reply
therube
Posts: 322
Joined: 07 Nov 2012, 00:28

RFE: '.' obtains current working directory for command line

Post by therube »

RFE: '.' obtains current working directory for command line usage.
Further, but less important, allow the use of relative pathnames.


It appears that "Folder1" as used on the Command Line requires a Fully Qualified Pathname.

It would be nice if relative pathnames could also be used.

So "C:\TMP\DUPS\" will work, but "\TMP\DUPS\" will not.

When used with a Command Line, most often I will be in the current working directory that I'm wishing to search. And in that case a simple "." (CWD) is what I would expect to use, but that also does not work.

.\ or \.\ are allowed, are added to the Source Folder list, & while the search appears to proceed as expected, nothing actually happens.

Being able to set up a batch file, pointing to alldup.exe, & passing the CWD (.) would be a great help.
therube
Posts: 322
Joined: 07 Nov 2012, 00:28

Post by therube »

Appears this (current directory) can be worked around relatively simply with something like this:

ALLDUP.BAT:

Code: Select all

SET XDIRNAME=%CD%
C:\alldup\AllDupPortable.exe %XDIRNAME%
The %CD% picks up the CWD.
Post Reply