@echo off
set"rar=C:\Program Files (x86)\WinRAR\WinRAR.exe"set"dataDir=D:\work program\NSP attention\NEW\matlab_code\ExpResting\ADHD200\adhd200"cd %dataDir%
for /D %%a in(Peking*)do(echo Now unziping %%a
cd %dataDir%\%%a\%%a_1\rest_1\NIfTI
winrar x -y rest.nii.gz
)
pause