To run the batch file:
cmd /c "c:\Users\Rakesh Kumar\Desktop\protolearn\Generate-JavaClass-ForProto.bat"To run the .ps1 file:
powershell -ExecutionPolicy ByPass -File "c:\Users\Rakesh Kumar\Desktop\protolearn\Generate-JavaClass-ForProto.ps1"or
pwsh -ExecutionPolicy ByPass -File "c:\Users\Rakesh Kumar\Desktop\protolearn\Generate-JavaClass-ForProto.ps1"