문제

I want to launch a software in Chrome, then I used an external protocol like this(in a .reg file):

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\ATS]
@="URL:ATS Protocol Handler"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\ATS\shell]

[HKEY_CLASSES_ROOT\ATS\shell\open]

[HKEY_CLASSES_ROOT\ATS\shell\open\command]
@="D:\\ATS\\ATS.exe \"%1\""

But for some reasons, I need to get into the D:\ATS\ folder first, and then launch the ATS.exe program. I think I should add some commands like

cd d:\ATS

but how and where to write this?

도움이 되었습니까?

해결책

Try changing the last line to

@="cd D:\\ATS & D:\\ATS\\ATS.exe \"%1\""
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top