Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy or Move File
Message
From
20/06/2005 09:04:18
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01024772
Message ID:
01024816
Views:
18
>>>Hey guys, is there any way of doing a copy or move(rename) file that doesn't halt execution? I move some big files accross the network (8-10 mins each to move) and would like the filesystem to take over and let my program get on with stuff and just be able to poll the directory every 30 secs to see if it's all copied/moved over. I can do it by creating an out of process object just for moving files around but that seems a bit overkill.
>>>
>>>Ken.
>
>>Ken,
>>Create an exe that'd do it and launch it with ShellExecute. You can check with a timer.
>>Cetin
>
>Thats what I meant by I could creating an out of process object, I just thought there may be a nicer way, a win32 call or a way of just telling windows to move a file for me that would return straight away and do the move in the background.
>
>Ken.

I don't know something that'd do that in background w/o blocking application flow.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform