---
name: "DoEnvironmentSubst"
section: "3w"
platform: "linux"
package: "wine-doc"
version: "0.0.980315-1"
release: "Debian 2.0 (Hamm)"
platforms: ["linux"]
url: "https://carta.tech/man/DoEnvironmentSubst"
---

# DoEnvironmentSubst(3w)

DoEnvironmentSubst \[SHELL.37\]

## NAME

DoEnvironmentSubst - DoEnvironmentSubst      \[SHELL.37\]

## SYNOPSIS

**DWORD DoEnvironmentSubst**\
 **(**\
\
 	**LPSTR str,**\
\
 	**WORD length**\
 **);**

## DESCRIPTION

Replace %KEYWORD% in the str with the value of variable KEYWORD from "DOS" environment.

## SEE ALSO

[DragAcceptFiles(3w)](/man/DragAcceptFiles/3w.md), [DragQueryFile(3w)](/man/DragQueryFile/3w.md), [DragFinish(3w)](/man/DragFinish/3w.md), [DragQueryPoint(3w)](/man/DragQueryPoint/3w.md), [ShellExecute16(3w)](/man/ShellExecute16/3w.md), [ShellExecute32A(3w)](/man/ShellExecute32A/3w.md), [FindExecutable16(3w)](/man/FindExecutable16/3w.md), [FindExecutable32A(3w)](/man/FindExecutable32A/3w.md), [AboutDlgProc32(3w)](/man/AboutDlgProc32/3w.md), [AboutDlgProc16(3w)](/man/AboutDlgProc16/3w.md), [ShellAbout16(3w)](/man/ShellAbout16/3w.md), [ShellAbout32A(3w)](/man/ShellAbout32A/3w.md), [ShellAbout32W(3w)](/man/ShellAbout32W/3w.md), [Shell\_NotifyIcon(3w)](/man/Shell_NotifyIcon/3w.md), [Shell\_NotifyIconA(3w)](/man/Shell_NotifyIconA/3w.md), [InternalExtractIcon(3w)](/man/InternalExtractIcon/3w.md), [ExtractIcon16(3w)](/man/ExtractIcon16/3w.md), [ExtractIcon32A(3w)](/man/ExtractIcon32A/3w.md), [ExtractIcon32W(3w)](/man/ExtractIcon32W/3w.md), [ExtractAssociatedIcon32A(3w)](/man/ExtractAssociatedIcon32A/3w.md), [SHELL\_FindString(3w)](/man/SHELL_FindString/3w.md), [ShellHookProc(3w)](/man/ShellHookProc/3w.md), [RegisterShellHook(3w)](/man/RegisterShellHook/3w.md), [SHGetFileInfo32A(3w)](/man/SHGetFileInfo32A/3w.md), [SHAppBarMessage32(3w)](/man/SHAppBarMessage32/3w.md), [CommandLineToArgvW(3w)](/man/CommandLineToArgvW/3w.md), [Control\_RunDLL(3w)](/man/Control_RunDLL/3w.md), [SHELL32\_DllGetClassObject(3w)](/man/SHELL32_DllGetClassObject/3w.md), [SHGetDesktopFolder(3w)](/man/SHGetDesktopFolder/3w.md), [SHGetMalloc(3w)](/man/SHGetMalloc/3w.md), [SHGetSpecialFolderLocation(3w)](/man/SHGetSpecialFolderLocation/3w.md), [SHGetPathFromIDList(3w)](/man/SHGetPathFromIDList/3w.md)
