Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1003186 - findDownloadDirectories - make an attempt to find user's probably download directories

JavaX fragment (include)

static L<File> findDownloadDirectories() {
  L<S> dirs = loadListFromFile("#1003186", "userDownloadDirectories");

  ret existingDirectoriesOnly(concatLists(
    stringsToFiles(dirs),
    ll(userHome("Downloads"), userHome("Desktop"))
  ));
}

download  show line numbers  debug dex   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1003186
Snippet name: findDownloadDirectories - make an attempt to find user's probably download directories
Eternal ID of this version: #1003186/2
Text MD5: 0b0f8d734d856b313513341f7463de5d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-21 16:23:10
Source code size: 249 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 417 / 711
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1003186 & http://1003186.tinybrain.de