An off-duty NYPD officer walking her dog in a Queens park was slashed in the neck Friday by a woman trying to rob her, a police spokesman said.

Police said the unidentified officer, 50, was about to enter a restroom at Cunningham Park at 2:30 p.m. when a woman approached her from behind and attempted to pull away her pocketbook.

The two began a tug-of-war over the pocketbook, after which the suspect slashed the officer in the neck, NYPD spokesman Stephen Davis said during an impromptu news conference in the park Friday.

The suspect, whom Davis would not identify, then fled the park, but later was picked up inside the park and taken into custody for questioning, Davis said. The officer held on to her pocketbook.

advertisement | advertise on newsday

A city parks department employee saw the suspect flee the area and later helped identify her with what Davis said was a "tentative" identification.

He said police found a pair of scissors in the area, but it was "unclear whether those scissors were used" in the attack.

The injured officer, who works out of Manhattan and has been with the force for 14 years, was taken to North Shore University Hospital in Manhasset for treatment of a slight cut to her neck.

Davis said the officer was "most likely going to be admitted just for observation," but that her condition was stable.

The park is in the Fresh Meadows section of Queens, bisected by the Clearview Expressway and bordered by the Long Island Expressway and the Grand Central Parkway.