i’m using File.Move to move a text file to Application.dataPath
File.Delete works just fine but not File.Move
File.Move(("My File Path of file "),Application.dataPath);
what could be the problem ?
i’m using File.Move to move a text file to Application.dataPath
File.Delete works just fine but not File.Move
File.Move(("My File Path of file "),Application.dataPath);
what could be the problem ?
The exception is telling you that the file already exists. From the File.Move doc:
You cannot use the Move method to overwrite an existing file.
You’ll have to delete or rename the file if it already exists before you try to move it.