Here’s a sample image:

http://forum.avast.com/attachments/EICAR-04BECOM.PNG

In the image, you see G:\EICAR\04BE~1.COM as the filename.
The path will be the text before the filename.
Filename = 04BE~1.COM
G:\EICAR\04BE~1.COM - 04BE~1.COM =
G:\EICAR, Path = G:\EICAR\ or G:\EICAR