Hello everybody,
target: saving a file from a panel to a fixed folder (Win10 music or roaming..)
problem: File.getSpecialLocation() returns wrong folders (see below)
system : win10 creators, Ctrlr 5.4.29, VS 2017
questions:
– is there a way to fix his?
– if music/picture/…etc paths are all wrong, how reliable is userDocumentDirectory?
– it there a way to get the folder where the panel resides?
#SpecialLocationType: File.getSpecialLocation()
userHomeDirectory: C:\Users\
userDocumentsDirectory: C:\Users\\Documents
userDesktopDirectory: C:\Users\\Desktop
currentApplicationFile: C:\ProgramData
invokedExecutableFile: C:\Users\Public\Documents
currentExecutableFile: C:\Users\\AppData\Roaming
userMusicDirectory: C:\App Program Files (x86)\Ctrlr\Ctrlr-Win32.exe
userMoviesDirectory: C:\App Program Files (x86)\Ctrlr\Ctrlr-Win32.exe
userPicturesDirectory: C:\App Program Files (x86)\Ctrlr\Ctrlr-Win32.exe
userApplicationDataDirectory: C:\Users\\Music
commonApplicationDataDirectory: C:\Users\\Videos
tempDirectory: C:\Users\\Pictures
globalApplicationsDirectory: C:\Users\\AppData\Local\Temp
-
This topic was modified 6 years, 2 months ago by higgy.
-
This topic was modified 6 years, 2 months ago by higgy.