Can you give a specific example of a complete protoc command and the error
it produces?  protoc should not care about spaces in file names as long as
they are properly quoted.

On Mon, Oct 27, 2008 at 6:49 AM, sdx <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> While trying to invoke the protoc compiler on the windows platform on
> a file placed in a path containing spaces the compiler returns with an
> error saying that the given path was not found (it shows an incomplete
> path up until the first space in the path as part of the error
> message)
>
> I am using the following batch file as a work around for now but I
> hope the maintainers will rectify this error in any case.
>
> @echo off
> ::File: Runprotoc.cmd
> ::%1 = Path to source .proto file
>
> ::push the current dir onto the directory stack and change to the
> input file's directory
> pushd "%~dp1"
> echo protoc --cpp_out=. "%~nx1"
> protoc --cpp_out=. "%~nx1"
>
> ::revert to the directory in use before entering the script
> popd
>
> Regards,
> Sandeep Datta
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to