G
Guest
Guest
Archived from groups: microsoft.public.windowsxp.configuration_manage (More info?)
Accepting input to BAT file by dragging.
How do I create a shortcut to a BAT file that will accept a file dragged
onto it.
I created a simple bat file "copyto.bat" which didn't work (containing):
@echo off
copy "%1" c:\xfer
copy "%1" c:\saves
exit
I then created a shortcut to it and modified the shortcut properties to
be:
C:\WINDOWS\Desktop\copyto.bat "%1"
When I drag a file onto the shortcut, it doesn't do the copy.
Does anyone have any suggestions or another way to do this?
(Win 2000 or XP)
Thanks.
Accepting input to BAT file by dragging.
How do I create a shortcut to a BAT file that will accept a file dragged
onto it.
I created a simple bat file "copyto.bat" which didn't work (containing):
@echo off
copy "%1" c:\xfer
copy "%1" c:\saves
exit
I then created a shortcut to it and modified the shortcut properties to
be:
C:\WINDOWS\Desktop\copyto.bat "%1"
When I drag a file onto the shortcut, it doesn't do the copy.
Does anyone have any suggestions or another way to do this?
(Win 2000 or XP)
Thanks.