Page 1 of 1 1
Topic Options
#112778 - 2004-01-29 02:28 PM Selecting files which to copy ?.
estuser Offline
Lurker

Registered: 2004-01-29
Posts: 1
Loc: Estonia, Tallinn
I have some files that i have to copy from server one of my users PC:
No problem with coping all the files :
Example this code
copy "\\SERVER\FOLDER\*.*" "c:\FOLDER\"
?"FINISHING........."
MessageBox('Failid on kopeeritud .' + Chr(13) + Chr(10) + '', 'Tänud', 64)
:end

But whats point?. I dont want to copy all the files, i want copu all files except the files that are created today.

Any ideas!.

Top
#112779 - 2004-01-29 02:37 PM Re: Selecting files which to copy ?.
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
try robocopy.
_________________________
!

download KiXnet

Top
#112780 - 2004-01-29 04:20 PM Re: Selecting files which to copy ?.
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Or write your own copy UDF that only copies files older than e.g. today.
_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 248 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.052 seconds in which 0.023 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org