I don't know what to really call it, but here it goes.
When I create a shape with one of the shape tools, it masks it or whatever you call it when a path. And where ever I move the shape, the path goes. But when I just make a path and fill that path, the path isn't attached. So how do I "attach" the path to the layer, so when I want to resize the shape, it wont lose quality.
You can create a Vector Mask for regular Layers, Adjustment Layers and Groups by first creating a Path and then using Layer >Vector Mask > Current Path (or using the icon in the Layers Panel) or transfer a Vector Mask form a Shape Layer by cmd-dragging it onto another Layer.