The Stroke Path command paints the border of a path. The Stroke Path command allows you to create a paint stroke (using the current settings for your painting tools) that follows any path. This is completely different from the Stroke layer effect, which doesn’t mimic the effect of any of the painting tools.

Stroke a path using the current Stroke Path settings
at
the bottom of the Paths palette. Each click of the Stroke Path button
builds up the opacity of the stroke and, in some cases, makes it
look thicker.
Stroke a path and specify optionsAlt-click (Windows) or Option-click (Mac OS)
the Stroke Path button
at
the bottom of the Paths palette.
Alt-drag (Windows) or Option-drag (Mac OS) the path to the Stroke Path button.
Choose Stroke Path from the Paths palette menu. If the selected path is a path component, this command changes to Stroke Subpath.