Replace space with "_" in file names
Posted: 03 Oct 2008 07:18
Hi there,
I need some help with this:
I have some directories with *.xls files ( Hundreds ), and i was wondering if there is something to replace the space's with "_" on every file i found, or is it's more simple remove only the space between words
Example:
EDF Segur 200807.xls
EDF Segur 200808.xls
EDFSt Bernabe 200801.xls
Output needed:
EDF_Segur_200807.xls
EDF_Segur_200808.xls
EDFSt_Bernabe_200801.xls
EDF_St_Bernabe_200801.xls
Can anyone help ?
Regards,
osramos
I need some help with this:
I have some directories with *.xls files ( Hundreds ), and i was wondering if there is something to replace the space's with "_" on every file i found, or is it's more simple remove only the space between words
Example:
EDF Segur 200807.xls
EDF Segur 200808.xls
EDFSt Bernabe 200801.xls
Output needed:
EDF_Segur_200807.xls
EDF_Segur_200808.xls
EDFSt_Bernabe_200801.xls
EDF_St_Bernabe_200801.xls
Can anyone help ?
Regards,
osramos