I don't use this option much or not at all really so a little confusion, its saying the file does not exist but the file path is right
Can anyone see why File Rename would opt to say the file is not there?
Code:
if ComboBox.GetItemData(this, e_Selection) == "true" then File.Rename(_SourceFolder.."\\data\\.minecraft\\mods\\OptiFine_1.10.2_HD_U_E3.jar", _SourceFolder.."\\data\\.minecraft\\mods\\OptiFine_1.10.2_HD_U_E3.dis"); else File.Rename(_SourceFolder.."\\data\\.minecraft\\mods\\OptiFine_1.10.2_HD_U_E3.dis", _SourceFolder.."\\data\\.minecraft\\mods\\OptiFine_1.10.2_HD_U_E3.jar"); end --Check to see if an error occurred. error = Application.GetLastError(); -- If an error occurred, display the error message. if (error ~= 0) then Dialog.Message("Error", _tblErrorMessages[error].." (".._SourceFolder.."\\data\\.minecraft\\mods\\OptiFine_1.10.2_HD_U_E3.jar)", MB_OK, MB_ICONEXCLAMATION); end
Comment