How to send a text file to a batch script with SendTO?

Viewed 22

I added a bat file to my SendTo folder so I can right click on a text file and send it to the bat file. This works great.

However I want to simulate this via CMD commands in another bat file.

Tried this but doesn't work. What is the correct way of doing this? Of course I have have done with with a direct path and that worked but I want to do it dynamically with SendTo.

start shell:SendTo/myBatch.bat "C:\Users\Work\Desktop\myfile.txt"
0 Answers
Related