Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] photran cygwin problem with "mkdir"

You have to escape \, it is a special character or replace with /.

'D:\\read_data'

Cheers
--
Sasha


2013/7/4 Simon Krebietke <simon.krebietke@xxxxxx>
Hello,

I'm using Eclispe Juno for Fortran programming (Windows 8). I installed cygwin and everything is compiling fine and the program is running.
I use the command "call system('mkdir'//' '//'D:\read_data') to create a directory but i get the following error:

mkdir: cannot create directory 'D:read_data': File exists

The backslash is just gone. If I replace it with a "/" than everything works fine.

Does anybody know where the problem is?

Thanks a lot!

Simon

_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran


Back to the top