read output in ?

hi all!

im making a program to update a file on a usb device. but the mount point is different from computer to computer depending on drives, now im updating the changes.lzm on a usb system based on slax. called backtrack, so thers a folder on the root of the memory stick called BT3. and i know if i use find

*/BT3 -maxdepth 0

i get

sdb1/BT3

so is there some way i can read the output and assign it to a variable in bourne shell? or find the mount point of the usb device? any help would be awsome :b::D:b:

Use command substitution:

dir=`find ... ...`

Thank you so much!!

or use UUID to mount the usb stick on all pcs on the same place
use blkid to get the UUID of all partitions