My job consist in the execution of a DTS. During it, I execute this bash script :
Code:
echo pays,log,web>"C:\Documents and Settings\pivotaltest\My Documents\webqueue_fr.txt"
::parcours du répertoire h:, pour chaque repertoire inscription du nombre de fichier de ce dernier + nom repertoire dans le fichier webqueue_fr.txt
for /F "usebackq delims=" %%v in (`dir g: /a:d /b`) do (
dir "g:/%%v" | find ".hsy" /c /i>tmp_fr.txt
::/p	attend une réponse de l'utilisateur(le fichier texte pour nous)
set /p tmp=<tmp_fr.txt
echo fr,%%v,!tmp!>>"C:\Documents and Settings\pivotaltest\My Documents\webqueue_fr.txt"
::/a	attend une expression numérique
set /a tmp=0
)
::del /s tmp_fr.txt
It runs well on the dts, but when i do a job, i have the following errors :
Code:
The system cannot find the path specified.Could Not Find C:\WINNT\system32\tmp_fr.txt
I have the feeling, that the txt files are not created, but I don't know why...

anyone have ideas on this issue ?