@echo off
rem 下面变量是你的7z程序的绝对路径,自己填写(例如set "7z=C:\01_MyApp\7-Zip\7z.exe")
set "7z="
for %%i in (*.*) do (
if not "%%~xi"==".bat" (
md %%i
%7z% x %%i -o%%i\
)
)
pasue
@echo off
rem 下面变量是你的7z程序的绝对路径,自己填写(例如set "7z=C:\01_MyApp\7-Zip\7z.exe")
set "7z="
for %%i in (*.*) do (
if not "%%~xi"==".bat" %7z% x %%i -o"%%i"
)
pasue