How do I use a variable in the command executed in a system
subroutine call? For example, if I want to create multiple directories like test_1_1
, test_1_2
, and so on till test_3_3
then what should my code be?
I am trying the following code but can't seem to figure out what to write in #### part.
integer :: i,j
do i = 1,3
do j = 1,3
CALL system('mkdir folder ####')
enddo
enddo