View Single Post
  #1542  
Old 17-05-2023, 14:37
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,337 Times in 2,839 Posts
KaktoR is on a distinguished road
My question is not about INNO but batch. Since batch is not something I deal everyday with, I need some help here. I don't want to open a new topic for this.

I have some files which I extract with a tool. The problem is that the extracted folders have the exact name as the files.

For example
Code:
File1.abc > Folder1.abc
File2.abc > Folder2.abc
...
Basically I need to get rid of the ".abc" in the folder names.


I already tried something like this but didn't work.
Code:
for /d %%i in (*.abc) do ren "%%~i" *
__________________
Haters gonna hate
Reply With Quote