You can also use wild card characters like *, ? eg.
copy c:\*.xls to d:\ - willcopy all excel files from c drive (root directory only) to d drive (root directory only) or copy c:\??art.xls to d:\ - copy all files which have any first 2 characters but name should end with art and are xls type to d drive (root directory only) On Wed, May 6, 2009 at 9:38 AM, Ramesh Katta <kr.sap...@gmail.com> wrote: > > Hi > > For copying files from command prompt. First you have to determine > source and destination of a file. > > for ex- D:/ramesh copy myfile.xls E:/naidu > > through the above command myfile.xls file copy from d drive to e drive. > > Thank you > > Ramesh > > > > On Tue, May 5, 2009 at 9:26 PM, yogesh yerawar <yyera...@gmail.com> wrote: > > Hi, > > > > copy filename destination path > > > > eg. > > copy book1.xls c:\my documents > > > > > > 2009/5/5 singla.kris...@gmail.com <singla.kris...@gmail.com> > >> > >> Hi eveybody, > >> > >> can anyone tell me how to copy excel files using command prompt. > >> > >> thanx in advance > >> > >> > > > > > > > > -- > > Thanks and Regards, > > Yogesh Yerawar > > > > > > > > > > > -- Thanks and regards, Satti Charvak ____________________ --~--~---------~--~----~------------~-------~--~----~ ------------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com or Ashish Jain @ 26may.1...@gmail.com ------------------------------------------------------------------------------------- -~----------~----~----~----~------~----~------~--~---