My directory tree is like this :
Project
-- Boat
----- daya
-------- linea
...
-------- linex
...
----- dayx
-------- linea
...
-------- linex
Exemple : I want to copy from a variable path a file name allo.txt to each lineX directory, each time I don't know how many days and line I have...
For now my batch file are like this (and does'nt work :-( )
echo begin
:Loop
IF "%1"=="" GOTO Continue
copy allo.txt "%1"
echo fin loop
SHIFT
GOTO Loop
:Continue
the parameter is the path of each line, I want change this method to automatize like i say before... thanks a lot...
Fred Cloutier
Project
-- Boat
----- daya
-------- linea
...
-------- linex
...
----- dayx
-------- linea
...
-------- linex
Exemple : I want to copy from a variable path a file name allo.txt to each lineX directory, each time I don't know how many days and line I have...
For now my batch file are like this (and does'nt work :-( )
echo begin
:Loop
IF "%1"=="" GOTO Continue
copy allo.txt "%1"
echo fin loop
SHIFT
GOTO Loop
:Continue
the parameter is the path of each line, I want change this method to automatize like i say before... thanks a lot...
Fred Cloutier