Caml Light Posted September 6, 2011 Share Posted September 6, 2011 Hi guys! Is it possible for you to create a CMD batch file that supports Drag'n'Drop? I need to Drag'n'Drop some files to the batch window and it shoud copy these files to a directory i've chosen. Mhh... maybe i demand too. Link to comment Share on other sites More sharing options...
jaclaz Posted September 6, 2011 Share Posted September 6, 2011 Hi guys! Is it possible for you to create a CMD batch file that supports Drag'n'Drop? I need to Drag'n'Drop some files to the batch window and it shoud copy these files to a directory i've chosen. Mhh... maybe i demand too.Sure , it's actually "normal".The FILENAME (including path and surrounded by quotes if needed) of what you "drop" on a CMD file is actually parameter %1.Create this and save it as DROPONME.CMD:@ECHO OFFECHO %1PAUSEDrag and drop on it *any* file.jaclaz Link to comment Share on other sites More sharing options...
Caml Light Posted September 6, 2011 Author Share Posted September 6, 2011 thank youuu!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now