Searched refs:pathext (Results 1 – 2 of 2) sorted by relevance
2136 char_u *pathext = NULL; in executable_exists() local2154 pathext = mch_getenv("PATHEXT"); in executable_exists()2155 if (pathext == NULL) in executable_exists()2156 pathext = (char_u *)".com;.exe;.bat;.cmd"; in executable_exists()2164 p = pathext; in executable_exists()2191 if (pathext == NULL) in executable_exists()2192 pathext = (char_u *)"."; in executable_exists()2196 pathextbuf = alloc(STRLEN(pathext) + 3); in executable_exists()2203 STRCAT(pathextbuf, pathext); in executable_exists()2204 pathext = pathextbuf; in executable_exists()[all …]
1368 " check that the path and the pathext order is valid1370 let [pathext, $PATHEXT] = [$PATHEXT, '.com;.exe;.bat;.cmd']1372 let $PATHEXT = pathext