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:

Please share me a link or code for the same.

I already have gone through this link.[^]

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

Updated 1-Feb-11 1:45am

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!".

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

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