1、想问下,在for语句中,怎么使用这个呢?复制代码
- wmic datafile where "Name='C:\\Windows\\notepad.exe'" get LastModified /value
2、除了用wmic,还有其他方法吗?复制代码
- (for /f "delims=" %%i in ('dir F:\bapdffile /s /b /a-d-h') do (
- echo %%i,%%~nxi,%%~zi,%%~ti:00.000,!date:~0,10! !time!0
- wmic datafile where "Name='C:\\Windows\\notepad.exe'" get LastModified /value
- )
- )>3.txt
欢迎光临 批处理之家 (http://bbs.bathome.net/) | Powered by Discuz! 7.2 |