开发者

Batch file script for attrib

I want to create a batch file for run attrib script for pen drive.

But problem is pen drive changes.

batch file that 1st ask to write drive letter

Then run attrib script for that drive.

(my pendrive gets virus fro开发者_如何学JAVAm class that i want to clear at home by aplying attrib script below everyday

attrib -r -a -s -h /s /d


@echo off
set /p drive=Drive letter: 
pushd %drive%:
attrib -r -a -s -h /s /d
popd
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜