Caml Light Posted September 6, 2011 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.
jaclaz Posted September 6, 2011 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
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