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).

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

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: 206 / 261
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)