79156708

Date: 2024-11-04 19:17:48
Score: 2
Natty:
Report link

I'm using this:

if not "%~0" == %0 echo Interactive!

Explanation: Interactive %0 / %~0 gives the string %0 and %~0 respectivly. So not == it true! From a batch/cmd file %0 gives the Path with "" %~0 without. So the comparision with the extra "" around %~0 is exactly %0.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Clemens