Cut .xls file and paste at C:\

Microsoft Windows xp inside out, second...
August 14, 2010 at 19:51:16
Specs: Windows XP, pentium 4 3.00Ghz. 1gb ram
I need a .bat file which upon clicking it will cut all .xls and .doc extension file available on my D, E & F drive and paste at C:\. Thereafter run another .bat file say xyz.bat.

Can someone provide the .bat file i need?

See More: Cut .xls file and paste at C:\

Report •

August 14, 2010 at 21:27:01
@echo off
for %%a in (D:\*.doc,E:\*.doc,F:\*.doc,D:\*.xls,E:\*.xls,F:\*.xls) do (
move %%a C:\
call xyz.bat

Report •

August 15, 2010 at 22:19:27
Thanks M2G. But there are folders inside folders where the .xls and .doc files reside. Will you provide the script to run your .bat file automatically at a specified date say Sept' 12, 2011?

Report •

August 16, 2010 at 11:40:12
Out of curiosity, why do you want to do this? It sounds rather suspicious but presumably your explanation will clarify.

Daylight Saving Time

Report •

Related Solutions

Ask Question