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  old transpilations   

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

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: 617 / 1031
Version history: 1 change(s)
Referenced in: #1003186 - findDownloadDirectories - make an attempt to find user's probably download directories
#1003191 - userDownloadDirectories - retrieve user's list of download directories
#1006654 - Standard functions list 2 (LIVE, continuation of #761)