| View previous topic :: View next topic |
| Author |
Message |
enrica
Joined: 21 Mar 2005 Posts: 117 Location: Bahia, Brasil
|
Posted: Mon Apr 18, 2005 1:00 am Post subject: How to copy some file .xls? |
|
|
Hi, I want to copy some file .xls from C:\ISA3\ to A: (Floppy)
i try
FileCopyDir, C:\ISA3\*.xls , A:\*.*
FileCopyDir, C:\ISA3\*.xls , A:*.*
FileCopyDir, C:\ISA3\*.xls , A:
but not run; Somebody know? Thanks. |
|
| Back to top |
|
 |
Serenity
Joined: 07 Nov 2004 Posts: 1276
|
Posted: Mon Apr 18, 2005 1:36 am Post subject: |
|
|
| Code: | | FileCopyDir, C:\ISA3\*.xls, A:\ |
_________________ "Anything worth doing is worth doing slowly." - Mae West
 |
|
| Back to top |
|
 |
enrica
Joined: 21 Mar 2005 Posts: 117 Location: Bahia, Brasil
|
Posted: Mon Apr 18, 2005 8:49 am Post subject: Don't run.... |
|
|
Hi, I try also but nothing....
With:
| Code: |
FileCopyDir, C:\isa3\ , a:\ , 1
|
run, but copy everything.. |
|
| Back to top |
|
 |
garry Guest
|
Posted: Mon Apr 18, 2005 10:02 am Post subject: |
|
|
| Code: |
run,%COMSPEC% /K xcopy *.xls /s /e /i A:\TEST44 |
|
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Mon Apr 18, 2005 10:08 am Post subject: |
|
|
| Quote: | | FileCopyDir, Source, Dest [, Flag] |
Copies a folder along with all its sub-folders and files (similar to xcopy).
But you're only interested to copy *.xls files ! You've used the param syntax from FileCopy with FileCopyDir
| Quote: | | FileCopy, SourcePattern, DestPattern [, Flag] |
|
|
| Back to top |
|
 |
garry Guest
|
Posted: Mon Apr 18, 2005 10:10 am Post subject: |
|
|
sorry Enrica, I forget the folder c:\isa3 , copy *.xls with all subfolders
| Code: |
run,%COMSPEC% /K xcopy c:\isa3\*.xls /s /e /i a:\ISA3
|
|
|
| Back to top |
|
 |
enrica
Joined: 21 Mar 2005 Posts: 117 Location: Bahia, Brasil
|
Posted: Mon Apr 18, 2005 12:42 pm Post subject: Thank you Garry! |
|
|
Thank you Garry!!!
Run great javascript:emoticon(' ')
Cool |
|
| Back to top |
|
 |
|