winprefs 0.4.1
Dump a registry path to a series of 'reg add' commands.
Loading...
Searching...
No Matches
shell.h File Reference

Go to the source code of this file.

Functions

wchar_t * escape_for_batch (const wchar_t *input, size_t n_chars)
 Escapes a string for a batch file.

Function Documentation

◆ escape_for_batch()

wchar_t * escape_for_batch ( const wchar_t * input,
size_t n_chars )

Escapes a string for a batch file.

Parameters
inputInput string.
n_charsLength of the input string in word size.
Returns
Pointer to escaped string. Must be freed on caller side.