Set QT_SCALE_FACTOR is not working

For Apps programed by QT I can use DOS batch commands to setting the font scale factor for my 4K monitor when launch it. Such as:

qBittorrent.bat

cd "C:\Apps\qBittorrent"
set QT_SCALE_FACTOR=1.25
qBittorrent.exe

But it's not working when I added these commands in a button with DOS Batch Function. When I click this button nothing happen. What went wrong? Thanks in advance.

Set is an Opus command, so that will be running the Opus command rather than the DOS Batch command.

You can use the @externalonly modifier to change that.

Thanks so much and It's working. :slight_smile: