Click here to Skip to main content
15,843,137 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi

Please share me a link or code for the same.

I already have gone through this link.
http://blogs.msdn.com/b/jeffrey_wall/archive/2004/09/13/229137.aspx[^]

but I dont know what parameters to send for the below method.
static public void MoveFile(string deviceName, string path, Int64 VCN, Int64 LCN, Int32 count)

Please Help

Thanks
Posted
Updated 1-Feb-11 1:45am
v2

1 solution

In the post you linked to there's an explanation :

/// <param name="deviceName">device to move on"c:"</param>
/// <param name="path">file to muck with "c:\windows\explorer.exe"</param>
/// <param name="VCN">cluster number in file to move</param>
/// <param name="LCN">cluster on disk to move to</param>
/// <param name="count">for how many clusters</param>


I think you need to study the API he's using before you try this.
Beware though : the certificate is "It works on my machine!".

Cheers
 
Share this answer
 
v2
Comments
Sandeep Mewara 1-Feb-11 10:10am    
:) Good answer! 5!
Sergey Alexandrovich Kryukov 1-Feb-11 13:21pm    
Good, a 5.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900