|(This is for XP btw)|
Is it possible, in batch, to set user input, such as a file being dragged on to the window, as a variable without pressing enter?
i.e. Drag a file onto the window, and go to next line in the code? (after setting the variable, of course)
This is what I have right now:
set ft=%msg:!ft =%>NUL
set/p one=^Drag the file here and press enter.
if exist ft goto nexter
if exist %CD%\ft\%ft% goto nexter2
copy %one% %CD%\ft\%ft%
echo File Sent.
PING 188.8.131.52 -n 1 -w 2000 >NUL
Help is very appreciated :)