Command to save file does not save file

I am trying to write adataframe to a .csv file, but the data does not get saved. What could be happening?

write.csv(df, file = "path", row.names = FALSE, quote = FALSE )

"path" seems a poor choice for a csv file destination because it doesnt record that .csv should be part of the resulting filename.
probably you did save to 'path' but it wont have the .csv extension because you left that part out.

Thank you for your response.