[W2K] Concatener 2 chaines pour obtenir une variable ???!!!

Concatener 2 chaines pour obtenir une variable ???!!! [W2K] - Shell/Batch - Programmation

Marsh Posté le 10-05-2004 à 15:20:30    

bonjour
 
dans un batch, j'ai
 
REM Declaration des variables
SET PATCH1="C:\FIX\patch-microsoft\Windows-KB833407-x86-FRA.exe"
SET PATCH2="C:\FIX\patch-microsoft\Windows2000-KB835732-x86-FRA.EXE"
SET PATCH3="C:\FIX\patch-microsoft\Windows2000-KB837001-x86-FRA.EXE"
SET I=1
SET J=3
 
REM Boucle principale
:FORI
  ECHO %PATCH%I%%     <<<  concatenation  ????!!!!!
  SET /A I=%I%+1
  IF %I% LSS %J% GOTO FORI
 
Mon probleme est de concatener deux elements pour construire une chaine (variable)..
 
JE NE TROUVE PAS ....
 
MERCI
christophe

Reply

Marsh Posté le 10-05-2004 à 15:20:30   

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed