[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Real simple question about strings...
- From: Jonathan Castello <twisolar@...>
- Date: Wed, 16 Jun 2010 01:15:15 -0700
On Wed, Jun 16, 2010 at 1:06 AM, Sean Conner <sean@conman.org> wrote:
>
> Little known, but Windows does support '/' as a path separator in addition
> to '\'. To windows,
>
> c:\a\b\c\d
>
> and
>
> c:/a/b/c/d
>
> are the same. This doesn't apply to the shell (CMD.EXE these days, CMD.COM
> back in the MS-DOS days) but the underlying APIs will accept either '/' or
> '\'. This has been the case since MS-DOS 2.0.
>
> -spc (So I would try it with forward '/' slashes and see if that works)
>
They both work for me in cmd.exe. I'm using Windows Vista.
~Jonathan