Saved Bookmarks
| 1. |
Solve : Rename folders?? |
|
Answer» is it possible to make a batch files that just remove a piece of the name? is it possible to make a batch files that just remove a piece of the name? This little snippet will remove the space on the right. You can modify it to remove the space on the left. Code: [Select]@echo on setlocal enabledelayedexpansion for /F "tokens=* delims=" %%x in ('dir /a:d /b') do ( SET input="%%x" set input=!input:cd =! ren "%%x" !input! ) Hope this helps. Quote from: Sidewinder on June 11, 2008, 03:12:20 AM Quoteis it possible to make a batch files that just remove a piece of the name? THANK You! it realy helped! +karma |
|