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

# PathRemoveFileSpecA(3w)

## NAME

**PathRemoveFileSpecA** (SHLWAPI.@)

## SYNOPSIS

BOOL PathRemoveFileSpecA\
  (\
   LPSTR *lpszPath*\
  )

## DESCRIPTION

Remove the file specification from a path.

## PARAMS

*lpszPath* **\[In/Out\]**  Path to remove the file spec from.

## RETURNS

**TRUE** If the path was valid and modified **FALSE** Otherwise

## IMPLEMENTATION

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

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

Debug channel **"shell"**.
