Does anyone know how to use this action to edit a text file located on the client workstations network drive?

for example drive M: is assigned to \\server\data\username

I defined: Configure a file on the managed device
File name * \\server\data\username\file.txt
File name * M:\file.txt

both leads to
unexpected exception processing action edit text file
the indicated path format is not being supported