Access Right Problem

  • Thread starter Thread starter Lorenzo
  • Start date Start date
L

Lorenzo

Hi,
I renamed an audio file and I launched windows media player with
CreateProcess API or with Process.Start method and with parameter the
audio file ,
but when when media player finished and WaitForSingleObject return,
i tried to rename that file audio with no success.

Why?

To rename the file, i tried alternatively with FileInfo.MoveTo and
File.Move.

Thanks in advance for any answer.
 
Back
Top