I want to add a Python script in the context menu in the Windows explorer. I found these 2 useful webpages:
This works quite well but still there is one question open:
When using this as command line
C:\cygwin\bin\bash -c "/bin/myPythonScript.py -p '%l' -d /d/myResultFileDirectory/%l"
in %l there is the full path. I just want the directory name to use the same directory name in my output directory. How are these parameters called? Which one cuts off the absolute path stuff?
I am not quite sure whether it is still windows that expands the parameters (my attempts using modifiers that are described in
failed since they are not expanded. What would this be in bash script?