<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>RE: [cvsnt] Unix Slashes on Temp Drives</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2716.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>The DOS/Windows command line utilities use slash as
the option character; therefore file name arguments cannot contain
slashes.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The Windows API, however, treats forward slashes
and backslashes identically. So </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>
CreateDirectory("\\cvstemp\\test1", 0);</FONT></DIV>
<DIV> </DIV>
<DIV>and</DIV>
<DIV> </DIV>
<DIV>
<DIV><FONT face=Arial size=2>
CreateDirectory("/cvstemp/test1", 0);</FONT></DIV>
<DIV> </DIV>
<DIV>both work.</DIV>
<DIV> </DIV>
<DIV>-Torsten</DIV>
<DIV> </DIV></DIV></FONT>----- Original Message ----- </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=Chris.Clipper@PacifiCorp.com
href="mailto:Chris.Clipper@PacifiCorp.com">Clipper, Chris</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=cvsnt@cvsnt.org
href="mailto:cvsnt@cvsnt.org">cvsnt@cvsnt.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, October 17, 2002 4:10
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [cvsnt] Unix Slashes on Temp
Drives</DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT
face=Arial size=2></FONT><FONT face=Arial size=2></FONT><BR></DIV>
<P><FONT size=2>When at the command prompt I get the following:</FONT> </P>
<P><FONT size=2>C:\cvstemp>mkdir \cvstemp\test1</FONT> </P>
<P><FONT size=2>C:\cvstemp>mkdir /cvstemp/test1</FONT> <BR><FONT size=2>The
syntax of the command is incorrect.</FONT> </P>
<P><FONT size=2>C:\cvstemp>mkdir \cvstemp/test1</FONT> <BR><FONT size=2>The
syntax of the command is incorrect.</FONT> </P>
<P><FONT size=2>Win2K doesn't seem to like the forward slashes.
</FONT></P></BLOCKQUOTE></BODY></HTML>