Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: 3357 error level list errors Endif Match Not Found if
DirChange(TargetDir) ErrorMode(@OFF) FileAttrSet("*.*","rAsh") ;Clear RSH/ Set A target attributes for copy ;in case there are existing files with set attribs ErrorMode(@CANCEL) :DDM20 ;This bit deletes files in the Target Directory for j=1 to TargetNo Item=ItemExtract(j,TargetList,@tab) ; Get each entry in the target list errormode(@off) if FileDelete("%TargetDir%\%Item%")!=@True ; Failed! Display(1,"Updaten START_MENU", "Problemen met verwijderen van : %TargetDir%\%Item%") Endif ; 012 errormode(@cancel) :DDM22 next j
DirChange(TargetDir) ErrorMode(@OFF) FileAttrSet("*.*","rAsh") ;Clear RSH/ Set A target attributes for copy ;in case there are existing files with set attribs ErrorMode(@CANCEL) :DDM20 ;This bit deletes files in the Target Directory for j=1 to TargetNo Item=ItemExtract(j,TargetList,@tab) ; Get each entry in the target list errormode(@off) xxx=FileDelete("%TargetDir%\%Item%")!=@True ; Failed! errormode(@cancel) if xxx!=@TRUE Display(1,"Updaten START_MENU", "Problemen met verwijderen van : %TargetDir%\%Item%") Endif ; 012 :DDM22 next j
Article ID: W12957
Filename: 3357 Endif Match Not Found.txt
File Created: 2014:07:18:09:51:38
Last Updated: 2014:07:18:09:51:38