Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm always sending one file to a device.

The device is always the same and the file has the same path and name.

How do I write a batch file to do this?

share|improve this question
add comment

2 Answers

For Widcomm stack you shoud try

C:\Program Files\Widcomm\Bluetooth Software\btsendto_explorer.exe" -BD_ADDR=

For Microsoft stack try this: http://www.newlc.com/topic-9327

Please excuse for this half answer, but I don't have my batch file for Widcomm at hand and I still recall how much trouble I went to 2 years ago trying to find the correct command line parameters.

You can contact me through my website if you succeed or if I should dig for the batch file :D

Best regards,

Peter

share|improve this answer
add comment

If this is for a Bluetooth enable phone then you could use CECopy from the Windows Mobile PowerToys.

See this link http://forums.thoughtsmedia.com/f96/copy-files-mobile-device-easily-14037.html for details of how to install / use it for creating new 'Send To' links - but the command lines should work as part of a batch script also ...

I'm not sure if it will work for other bluetooth devices ??

share|improve this answer
    
This is only for smartphones and pocket pcs, isn't it? I want to do this for a Nokia phone. –  Daniel Moura Jul 6 '09 at 16:38
    
All Bluetooth devices use one of two standard ways to transfer files - either OBEX Push or OBEX FTP. Both work with all devices. –  grawity Jul 7 '09 at 8:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.