CMD for 裡面變數判斷處理方法 - Windows
By Ethan
at 2016-06-07T21:12
at 2016-06-07T21:12
Table of Contents
code :
for /D %%i in (D:\data\cache\*.data) do (
for %%j in (%%i\*) do (
set LIST=%%~nxj
echo %LIST:~0,3%
)
)
cmd for 裡面的變數似乎不會及時處理,接下來要判斷檔名前面三字串不知道要怎麼寫了
--
for /D %%i in (D:\data\cache\*.data) do (
for %%j in (%%i\*) do (
set LIST=%%~nxj
echo %LIST:~0,3%
)
)
cmd for 裡面的變數似乎不會及時處理,接下來要判斷檔名前面三字串不知道要怎麼寫了
--
Tags:
Windows
All Comments
By Isla
at 2016-06-10T17:32
at 2016-06-10T17:32
By Regina
at 2016-06-14T01:09
at 2016-06-14T01:09
Related Posts
圖示怎麼更改?
By Sierra Rose
at 2016-06-07T14:30
at 2016-06-07T14:30
求救 XP如何使用修復
By Kama
at 2016-06-07T02:52
at 2016-06-07T02:52
By Connor
at 2016-06-06T22:40
at 2016-06-06T22:40
想設win10的開機密碼
By Megan
at 2016-06-06T22:07
at 2016-06-06T22:07
Windows 7桌面如何放置透明圖片?
By Lydia
at 2016-06-06T13:33
at 2016-06-06T13:33