set name=%~n1 set output_path_csharp=%name%\csharp set plugin_path_csharp=grpc_csharp_plugin.exe md %name% md %output_path_csharp% protoc.exe --proto_path=.\^ --plugin=protoc-gen-grpc=%plugin_path_csharp%^ --grpc_out=%output_path_csharp%^ --csharp_out=%output_path_csharp%^ %name%.proto pause