BAT script search for a particular type of file and execute a command
-
25-10-2019 - |
문제
I want to search a particular file type(.plt) and then I want to execute a command line command(Eg. Change file type). I am working in windows 7.
Can I write a .bat script to do this issue?
Please help me.....please give me some example.....
해결책
for /r %i IN (*.plt) DO echo %i
will list all of the .plt files in the current directory and sub-directories, replace echo with the command of your choice
다른 팁
Not sure what you mean. Could this be it?
ren *.plt *.foo
If you must have a batch file, I once wrote a script.
제휴하지 않습니다 StackOverflow