1. Re: DOS/Win and Linux path separator

At home I run Microsoft DOS 6.20 on one machine and Microsoft Windows 95
(OSR2) on my second machine.  I'll try out using '/' when I get home.  At
work I'm on Microsoft NT version 4.0 Service Pack 5.  In a NT DOS box this
works:

  type c:\autoexec.bat

but this:

  type c:/autoexec.bat

does not.  I get the following error message:

  The syntax of the command is incorrect.

It's all coming back now.  '/' is used for switches on commands.  You have
jogged my memory and I seem to recall that DOS could be "tweaked" (maybe via
something obscure in CONFIG.SYS) to use a different character for switches
or was it path separators?  I can't recall.

Regards,

Andy Cranston.

-----Original Message-----
From: mic _ [mailto:stabmaster_ at HOTMAIL.COM]
Sent: 18 September 2000 11:58
To: EUPHORIA at LISTSERV.MUOHIO.EDU
Subject: Re: DOS/Win and Linux path separator


>The problem was that DOS/Win uses '\' to separate components of a
>directory path and Linux (well UNIX in general) uses '/'.

What version of Windows are you running ?  Under Win98, using '/' instead of
'\' works just fine. The same thing goes for DOS (well, for DOS boxes
anyway, I haven't tried plain DOS).


_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu