سؤال

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.

http://www.adarshr.com/papers/renamex

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top