Aryeh Gregor wrote:
On Sat, May 1, 2010 at 10:34 PM, Conrad Irwin conrad.irwin@googlemail.com wrote:
- Don't hardcode "\" as the directory separator - windows is not here!
In particular, always hardcode '/' for path separators -- it's easier to read due to lack of escaping, and works on Windows just as well as '\' as far as I know.
For most things, it does work, there is a caveat for shelling out to CMD.EXE though:
http://msdn.microsoft.com/en-us/library/77859s1t%28v=VS.71%29.aspx
-- Tim Starling