Arguments are overriden when using Drag&Drop
Posted: 2022-Apr-22, 11:29 am
Hello, I'm Gunter.
Hope, that someone in this forum can help me:
In my VB script I use arguments that specify target paths for copying files. As an example: A link from my script has the arguments /dest:"c:\out c:\in". This means that files should be copied to these two directories.
But now I want to use the script with Drag&Drop as well. When I drag a file onto the link, my arguments are overridden with the filename.
Does anyone know, how I can keep both, the dropped filename and the arguments of the link?
Thank you and best regards
Gunter
Hope, that someone in this forum can help me:
In my VB script I use arguments that specify target paths for copying files. As an example: A link from my script has the arguments /dest:"c:\out c:\in". This means that files should be copied to these two directories.
But now I want to use the script with Drag&Drop as well. When I drag a file onto the link, my arguments are overridden with the filename.
Does anyone know, how I can keep both, the dropped filename and the arguments of the link?
Thank you and best regards
Gunter