Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Maybe this is not 100% coding issue, but i hope someone can guide me to the right resources.

How copy operation works in Windows OS?

share|improve this question

migrated from stackoverflow.com Jul 20 '09 at 14:39

This question came from our site for professional and enthusiast programmers.

1  
I'm not sure how to answer this one as currently worded -- can you be more specific? How to copy a file? What does it mean to copy a file? How does Windows implement file copy operations? –  Nick Meyer Jul 20 '09 at 14:23
    
I think this question should go in serverfault. It's not programming-related. –  Philippe Jul 20 '09 at 14:29
2  
erratically: xkcd.com/612 –  Rich Seller Jul 20 '09 at 14:30
    
What I mean is, How windows handles the operation, process, etc... the low level details of the operation. –  Mark Jul 20 '09 at 14:30
    
>>I think this question should go in serverfault. It's not programming-related. Really!!! How comes that I need to implement copy procedure in my server application! But I don't want to relay on Windows API –  Mark Jul 20 '09 at 14:32

2 Answers 2

alt text

share|improve this answer
5  
+1 For funny cartoon, but doesn't really help him. :P –  Salty Jul 20 '09 at 14:31
    
+1 For the funniest thing I'm likely to see this week –  in.spite Jul 20 '09 at 14:37
    
Coincidence this comic appeared today? –  Chealion Jul 20 '09 at 14:47

Mark Russinovich posted an article that talks in detail about how file copying works in various modern [sic] versions of Windows in his blog entry Inside Vista SP1 File Copy Improvements.

With source and target being on potentially different filesystems and potential problems with latency, the solutions turn out to be surprisingly complex. But the CopyFileEx API wraps it all up for you in a nice package.

share|improve this answer
    
Thanks, What I really wanted is the stack details for copy procedure. –  Mark Jul 20 '09 at 14:34
    
Mark, maybe you should add that in the question. –  Travis Jul 20 '09 at 16:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.