Friday, March 27, 2015

Open files then rename the file

How can i rename the files once the file is open?


For example : When I open first file the file will rename under '1.jpg', then if I open second file the file name will rename under '2.jpg' and so on.


Below code are use to open the files.



System.Diagnostics.Process.Start("C:\Users\hwai\Desktop\Capture\Example.jpg")

Thanks



No comments:

Post a Comment