When you drag and drop it sends the filename as an argument, and in batch
files you can access arguments with %{arg-position}. ie: %1 is the first
argument, %2 the second, and so on.So, your batch file wants to look like this: START iexplore http://125.254.25.25/image=%1 EXIT On 5/30/07, Dan Munez <[EMAIL PROTECTED]> wrote: > > hey guys, I need to write a simple .bat file. What I want to do is to be > able to drag a file (jpg or what not) into the bat, and have it recognize > the file name and append it to a URL (like 125.254.25.25/image=imagename) > and have it open that in internet explorer. Please help! > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/Javascript/message.cfm/messageid:4173 Subscription: http://www.houseoffusion.com/groups/Javascript/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.33
