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

4
LINES

< > BotCompany Repo | #1024930 // windowsFindExe

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3026L/18K).

1  
static File windowsFindExe(S relativeName) {
2  
  ret firstFileThatExists(map(windowsProgramFilesDirs(), dir ->
3  
    defaultExtension exe(newFile(dir, relativeName))));
4  
}

Author comment

Began life as a copy of #1013992

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024930
Snippet name: windowsFindExe
Eternal ID of this version: #1024930/3
Text MD5: 11cb950a857d6029c3e192cdf1f9e282
Transpilation MD5: 507ecc2e3d7a124c96ce34f81581d8e4
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-02-09 10:33:41
Source code size: 169 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 282 / 358
Version history: 2 change(s)
Referenced in: [show references]