For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

getWindowsScript

@ReplacedBy(value = "windowsScriptFile")
open fun getWindowsScript(): File(source)

Returns the full path to the Windows script. The target directory is represented by the output directory, the file name is the application name plus the file extension .bat.

Since

2.4