Code: Select all
@echo off
for %%I in (*.jpg) do (
set str="%%I"
set dire=%str:.jpg=%
mkdir %dire%
move "%%I" %dire%
set rar=%str:.jpg=.rar%
move %rar% %dire%
)
Moderator: DosItHelp
Code: Select all
@echo off
for %%I in (*.jpg) do (
set str="%%I"
set dire=%str:.jpg=%
mkdir %dire%
move "%%I" %dire%
set rar=%str:.jpg=.rar%
move %rar% %dire%
)