diff --git a/Global_Indexer/ClassFilehandle.vb b/Global_Indexer/ClassFilehandle.vb index 1ccb860..8286286 100644 --- a/Global_Indexer/ClassFilehandle.vb +++ b/Global_Indexer/ClassFilehandle.vb @@ -40,7 +40,7 @@ Public Class ClassFilehandle Dim oTempDirectory = IO.Path.GetTempPath() Dim oNewPath = IO.Path.Combine(oTempDirectory, oNewName) - IO.File.Copy(oInfo.Name, oNewPath) + IO.File.Copy(oInfo.FullName, oNewPath) TEMP_FILES.Add(oNewPath) oTempFilePath = oNewPath