That is exactly what i meant.
You phrase things much better :)
but just so your aware i am also looking for multiple file support on drag and drop.
Main Topics
Browse All TopicsLooking to make a batch file to upload multiple files in a drag and drop basis with a bat file.
I have the ability to upload files already was hoping to be able to make it drag and drop and with multiple file support.
i have some code already but not with me i can post it when i get home.
The reason i am doing this in CMD is because i need to send this to people who have little to no idea about computers and hence the drag drop ability. would like to stay away from installing as well just a standalone file.
thnx in advance
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Actually the main issue is with the IF command. I think it is "" overload.... as the filename will have "" around it from the drag/drop. Changing to something else that stillleaves the two sides of IF not blank works, i.e.
@echo off
echo user wedding@lionelbaden.com> ftpcmd.dat
echo Password>> ftpcmd.dat
echo prompt>>ftpcmd.dat
echo cd uploads>>ftpcmd.dat
echo bin>> ftpcmd.dat
echo here
:Loop
if X%1==X goto continue
echo %1
echo put %1>> ftpcmd.dat
SHIFT
GOTO Loop
:Continue
ftp -n -s:ftpcmd.dat lionelbaden.com
Business Accounts
Answer for Membership
by: NetExpert-WarszawaPosted on 2009-09-04 at 07:22:46ID: 25259926
I am not sure if I understand everything.
Put a batch icon an users desktop. After droping a file the batch will be executed with the files name as %1. You can use this variable to upload the file to a server.