I created a global shortcut to start a command prompt (conemu.exe).
My intention is to open the command prompt at the specified sourcepath.
If there is no Lister logically there is no sourcepath. In this case, the command prompt should be opened at predefined path.
If @ifpath doesn't work without a lister - try other tests to achieve what you want:
This example worked for me:
@ifset:STATE=Source
"C:\Windows\System32\cmd.exe" /s /k pushd {sourcepath}
@ifset:else
"C:\Windows\System32\cmd.exe" /s /k pushd C:\
...obviously, there is no SOURCE state if there is no lister.
HOWEVER, a possible gotcha that probably would have tripped you up even if your @ifpath attempt had worked, is that if there IS a lister window open (or even several), but minimized or otherwise just not in focus - and you hit your hotkey INTENDING for a command prompt to open to C:\ because no lister was on top... it wouldn't work. It would probably open the command prompt to whatever folder you have open in whatever lister is currently recognized as the SOURCE.