Adding folder name to filenames
Posted: 27 Mar 2012 05:41
I have a large number of folders each containing a number of text files. The folders have generic names like 'UD' or 'KX'.
I want to add the name of each folder to the start of all filenames of files within the folder.
so files:
filename1
filename2
filename3
in folder KX
should be renamed:
KX_filename1
KX_filename2
KX_filename3
thanks,
mark
I want to add the name of each folder to the start of all filenames of files within the folder.
so files:
filename1
filename2
filename3
in folder KX
should be renamed:
KX_filename1
KX_filename2
KX_filename3
thanks,
mark