[cvsnt] Unix Slashes on Temp Drives
Torsten Martinsen
torsten at tiscali.dk
Thu Oct 17 21:34:55 BST 2002
RE: [cvsnt] Unix Slashes on Temp DrivesThe DOS/Windows command line utilities use slash as the option character; therefore file name arguments cannot contain slashes.
The Windows API, however, treats forward slashes and backslashes identically. So
CreateDirectory("\\cvstemp\\test1", 0);
and
CreateDirectory("/cvstemp/test1", 0);
both work.
-Torsten
----- Original Message -----
From: Clipper, Chris
To: cvsnt at cvsnt.org
Sent: Thursday, October 17, 2002 4:10 PM
Subject: RE: [cvsnt] Unix Slashes on Temp Drives
When at the command prompt I get the following:
C:\cvstemp>mkdir \cvstemp\test1
C:\cvstemp>mkdir /cvstemp/test1
The syntax of the command is incorrect.
C:\cvstemp>mkdir \cvstemp/test1
The syntax of the command is incorrect.
Win2K doesn't seem to like the forward slashes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.cvsnt.org/pipermail/cvsnt/attachments/20021017/f6d52147/attachment.html
More information about the cvsnt
mailing list