[cvsnt] Unix Slashes on Temp Drives

Torsten Martinsen torsten at tiscali.dk
Thu Oct 17 21:34:55 BST 2002


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


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 cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook 
  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
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook