Download

how to get external folder file

bool URWTxtFile::LoadTxt(FString FileNameA, FString& SaveTextA) { return FFileHelper::LoadFileToString(SaveTextA, *(FPaths::GameDir() + FileNameA)); } bool URWTxtFile::SaveTxt(FString SaveTextB, FString FileNameB) { return FFileHelper::SaveStringToFile(SaveTextB, *(FPaths::GameDir() + FileNameB)); } can i change the Fpaths to somethings els then gamedir i wanna to load a text file from my e: drive this code only giving me options to find file from the gamedir how can i change this thanks best regard

You should be able to change it to whatever. If you know the path you want to load, you can hard code it (just to verify).