Tag Info

New answers tagged

0

we can try like this filesnames = FileNames["*.jpg",{dir1,dir2,...},2]; extentionfiles = "imag_" <> IntegerString[#, 10, 3] <> ".png" & /@ Range[1, 120, 1] Table[Export[dirdest <> extentionfiles[[i]], Import[filesnames[[i]]]], {i, 1, 120}];


1

try this: CopyFile[First@FileNames[ "E:\\work\\META分析\\source\\GSE28160_RAW1\\" ~~ cases[[1]] ~~"*.CEL"], "E:\\work\\1.CEL"] CopyFile on is own does not do filesystem globbing and so the way you have it its looking for a file that literally has a "*" in its name.


1

Something like... Export["C:\\Temp\\Out.txt",StringJoin[Riffle[Map[ToString[Out[#]]&,{1,2,3}],";"]]] I'd suggest you look up each of Export, StringJoin, Riffle, Map, ToString etc to work out what does what.



Top 50 recent answers are included