Reputation: 1704
I have Tortoise Git, but it works much slower than calling "git status". I wrote the batch file:
cd /d %1
git status
pause
exit
According to this question How add context menu item to Windows Explorer for folders I try to add command as
C:\Windows\System32\cmd.exe /K "C:\BATs\ShowGitStatus.bat %1"
But I get the "The file does not have a program associated with it for performing this action. ..." What I'm doing wrong?
Upvotes: 1
Views: 730
Reputation: 1704
C:\BATs\ShowGitStatus.bat %1
This should work.
Upvotes: 1