---
name: "PathFindOnPathA"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/PathFindOnPathA"
---

# PathFindOnPathA(3w)

## NAME

**PathFindOnPathA** (SHLWAPI.@)

## SYNOPSIS

BOOL PathFindOnPathA\
  (\
   LPSTR   *lpszFile*,\
   LPCSTR\* *lppszOtherDirs*\
  )

## DESCRIPTION

Search a range of paths for an executable.

## PARAMS

*lpszFile* **\[In/Out\]**  File to search for.

*lppszOtherDirs* **\[In\]**  Other directories to look in.

## RETURNS

**Success:** **TRUE**. The path to the executable is stored in *lpszFile*.

**Failure:** **FALSE**. The path to the executable is unchanged.

## IMPLEMENTATION

Declared in **"shlwapi.h"**.

Implemented in **"dlls/shlwapi/path.c"**.

Debug channel **"shell"**.
