I typically work on windows, but in virtually all of the software I use
I use paths in the form of:
A/B/C
Windows seems to interpret this OK in the lower level API's (at least in
.NET, havent actually tried directly win32 stuff in ages). So I suspect
that you could use paths in that form prett
> I am trying to use the path combine operation to launch an exec task with
> the correct executable. I was hoping that path combine would correctly
> combine for the correct OS A/B/C for mac and A\B\C for windows.
> path::combine ( "A", "B/C") would correctly give A/B/C for mac and A\B\C for
> path::combine( "A", "B" )
>
> correctly gives A/B for mac and A\B for window
>
> but I was hoping that
>
> path::combine ( "A", "B/C") would correctly give A/B/C for mac and
A\B\C
> for
> windows.
Path::combine(Path::combine("A", "B"),"C") or similar should work.
BOb
---
hey all
I am trying to use the path combine operation to launch an exec task with
the correct executable. I was hoping that path combine would correctly
combine for the correct OS A/B/C for mac and A\B\C for windows.
path::combine( "A", "B" )
correctly gives A/B for mac and A\B for window