Is there any reason you can't just change the directory name?
If not, then the following sample code shows how to change the directory names from sncrarun* to snrarun* in Matlab. (It could also be edited slightly to change file names as well):
fpath = '\\Server\Study.01\Data\Func\49999';
fspec = 'sncra';
replspec = 'snra';
d = dir(fullfile(fpath,[fspec,'*']));
if ~isempty(d)
for i = 1:length(d)
if d(i).isdir
movefile(d(i).name,[replspec,d(i).name(length(fspec)+1:end)]);
end
end
end
-Josh