Environment variables in the path name to an External Tool

Support for our DiffMerge utility.

Moderator: SourceGear

Post Reply
mateiacd
Posts: 1
Joined: Tue Jun 19, 2018 9:27 am

Environment variables in the path name to an External Tool

Post by mateiacd » Tue Jun 19, 2018 9:42 am

Hi,

Do DiffMerge 3.3.x and 4.2.0 support environment variables in the path name to an External Tool ?

This works : C:\Users\MateiACD\AppData\Roaming\PT\DiffPdf\diffpdf.exe
This doesn't work : %APPDATA%\PT\DiffPdf\diffpdf.exe

where the Windows environment variable is this
APPDATA=C:\Users\MateiACD\AppData\Roaming

I get the errors in the attached file.
Attachments
DiffExternalToolsEnv.png
DiffExternalToolsEnv.png (66.62 KiB) Viewed 1710 times

joe_sg
Posts: 25
Joined: Tue Oct 28, 2008 1:20 pm
Location: SourceGear

Re: Environment variables in the path name to an External To

Post by joe_sg » Tue Jun 19, 2018 2:56 pm

Thank you for contacting SourceGear Support.

I've tested and reproduced your example, getting the same errors that you provide. Apparently this functionality was not built into the External Tools execution. I have logged Feature Request # P1959 so that it can be addressed in a future release.

Thank you for bringing this to our attention.
Joe Ream
SourceGear Technical Support

Post Reply