I am currently developing an ap for production use, first I will scan a barcode then the barcode will be stored in a txt file in one of the directory on c:\ say c:\barcode\barcode.txt. This works fine and no problem.
the next step is get this barcode.txt and store it into an external USB disk without a drive letter being assigned by windows. Say when this disk is connected to the PC it will just appear as "Device", no drive letter assigned (dont need to). But in order to write it to disk we make use of rcmd (activesync is installed), with a parameter, So I will create a batch file with the content (say filename is get.bat)
rcmd copy "c:\\barcode\\barcode.txt" "Device"
so, CVI will call get.bat then this will do the rest. copy the txt file to the device. but I cannot get it to work to write into the device.