how to auto "enter" in batch
<p>I have a batch script to copy a file by dragging and dropping. When the file is dragged into the window the user is required to press "Enter" to continue. How can i bypass this? I have read a number of posts referring to vbscript, but I was hoping if this could be done with out it?<br> My script is as follows:</p>

<pre><code>@echo off
setlocal enabledelayedexpansion
Set Dest="C:\My Doc"

set /p CS=Drag and Drop file:
Echo.

if exist !Dest! (
xcopy /y /q !CS! !Dest!
)

Explorer.exe !Dest!

EXIT
</code></pre>

<p>The script itself works perfectly, but I would like to bypass the requirement to press enter after dragging the file. Any suggestions?</p>