將文件夾A裏面的文件批量添加前綴worse,比如 1.mp4 ,添加前綴後爲worse1.jpg
採用批處理的代碼
@echo off
for /f "delims=" %%f in ('dir/b/s/a-d *.*') do (if not "%%~nxf"=="%0" ren "%%f" "worse%%~nxf")
將文件夾A裏面的文件批量添加前綴worse,比如 1.mp4 ,添加前綴後爲worse1.jpg
採用批處理的代碼
@echo off
for /f "delims=" %%f in ('dir/b/s/a-d *.*') do (if not "%%~nxf"=="%0" ren "%%f" "worse%%~nxf")
vuex中mutation和action的詳細區別 const store = new Vuex.Store({ state: { count: 0 }, mutations: { increm