Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello
I need some windows help!I was wondering if someone could help me with this.
I need to create simple batch file which can search for files based on extensions, and them execute command such as copy, move, delete.I'm a linux person, as far i know I usually use find command
ex. find and remove file called filename
find / -iname filename -exec rm -rf {} \;Regards

That should be easy enough, check this site out and you'll figure it out:
http://www.computerhope.com/batch.htmIf you know in what folder the files are simply use something like this (excuse me if I forget something):
-------------------------------------------------
@ECHO OFF
IF EXIST C:\Temp\*.rar THEN xcopy C:\Temp\*.rar C:\NewFolder ELSE
quit
-------------------------------------------------If you want to get more advanced use VBscript:
http://www.computerperformance.co.u...

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |