Try changing the last line to
@="cd D:\\ATS & D:\\ATS\\ATS.exe \"%1\""
سؤال
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\""