From: Anonymous on 7 Apr 2010 14:21 I want to create a new directory which has partly the same name as the current directory. e.g. Current direcory = D:\Simulation\Data\Run 1\ I want to create a new folder: D:\Back up\Results\Data\Run 1\ As you can see, the last two folders have the same names, but the first (two) are different. I tried with regexp and fileparts, but it didn't work... Anyone who did this before or who knows how to fix it? Tnx a lot!!
From: Branko on 8 Apr 2010 14:27 "@ddie ertser" <ivogrunn(a)hotmail.com> wrote in message <hpiiek$3a7$1(a)fred.mathworks.com>... > I want to create a new directory which has partly the same name as the current directory. > > e.g. > Current direcory = D:\Simulation\Data\Run 1\ > > I want to create a new folder: > D:\Back up\Results\Data\Run 1\ > > As you can see, the last two folders have the same names, but the first (two) are different. > I tried with regexp and fileparts, but it didn't work... Anyone who did this before or who knows how to fix it? > > Tnx a lot!! doc mkdir Branko
|
Pages: 1 Prev: Matlab from C++ Next: xPC Target boot disk not being recognized by Target PC |