You don't need @ for variables

If you have this, you need @:

"C:\test\hi.txt"

If you have THIS (escaped already), you don't need @:

"C:\\test\\hi.txt"
Showing how to use arguments