Windows vs. Linux
Bryan Olson
fakeaddress at nowhere.org
Fri Aug 4 02:48:05 EDT 2006
Christopher Weimann wrote:
> On 08/02/2006-08:06AM, bryanjugglercryptographer at yahoo.com wrote:
>> From a WinXP command prompt:
>>
>> C:\>
>> C:\>cd /windows/system32
>>
>> C:\WINDOWS\system32>
>>
>>
>
>
> This doesn't work the way you think it does.
>
> C:\>cd /windows
>
> C:\WINDOWS>cd /system32
>
> C:\WINDOWS\system32>
>
> C:\WINDOWS\system32>cd /windows
> The system cannot find the path specified.
>
> It IGNORES a leading / char.
Ah, yes, I see.
As Gerhard Fiedler pointed out, they use '/' elsewhere on
command lines to introduce options, so it could be ambiguous as
the first character of a path name.
--
--Bryan
More information about the Python-list
mailing list