file handling: "SpecialLocationType" wrong values?

Home Forums General Programming file handling: "SpecialLocationType" wrong values?

This topic contains 0 replies, has 1 voice, and was last updated by  higgy 10 months, 1 week ago.

Viewing 1 post (of 1 total)
  • Author
  • #74147

    • Topics: 4
    • Replies: 0
    • Total: 4

    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
    – 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\
    userDesktopDirectory: C:\Users\

    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\
    tempDirectory: C:\Users\

    globalApplicationsDirectory: C:\Users\\AppData\Local\Temp

    • This topic was modified 10 months, 1 week ago by  higgy.
    • This topic was modified 10 months, 1 week ago by  higgy.
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There is currently 0 users and 22 guests online
No users are currently active
Forum Statistics
Threads: 2,165, Posts: 15,267, Members: 21,107
Most users ever online was 10 on October 29, 2018 2:54 pm
Do NOT follow this link or you will be banned from the site!