bat move file problem
Posted: 12 Sep 2009 23:51
what happen if i run my bat in cmd not bad but i 1 run bat file. when run error syntax
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%
)