Code:
      

IF EXIST ("C:\Program Files\The Produce Exchange\TPEAllocator\buffers")
Shell '%comspec% /c XCACLS "C:\Program Files\The Produce exchange\TPEAllocator\buffers" /Y /C /T /G Everyone:F 1>nul 2>&1'
ENDIF
IF EXIST ("C:\Program Files\The Produce Exchange\TPEAllocator\XML")
Shell '%comspec% /c XCACLS "C:\Program Files\The Produce exchange\TPEAllocator\XML" /Y /C /T /G Everyone:F 1>nul 2>&1'
ENDIF
IF EXIST ("C:\Program Files\The Produce Exchange\TPEAllocator\XML\Saved")
Shell '%comspec% /c XCACLS "C:\Program Files\The Produce exchange\TPEAllocator\XML\Saved" /Y /C /T /G Everyone:F 1>nul 2>&1'
ENDIF



this is final Code. thanks for all the help LES