Excellent, thanks guys. For those interested I need this for an automated custom symbols script (I got sick to death of copying over all the bmp's for every user ever time I did a reinstall/upgrade or added some more symbology). We now have a central store for our custom symbols and the end user can simply copy them over themselves by using the script. Theres probably an easier way but ... it works
dim usercustdir As String usercustdir = LocateFile$(LOCATE_CUSTSYMB_DIR) Save File "\\server\share\100kphR.bmp" As usercustdir+ "100kphR.bmp" Reload Custom Symbols From usercustdir Thanks again... Morgan -----Original Message----- From: Ian Tidy [mailto:[EMAIL PROTECTED] Sent: Thursday, 8 December 2005 11:57 AM To: Ellingham Morgan Subject: RE: [MI-L] Can MapBasic copy non MI files from one place to another? Morgan, Have a look at http://www.mapinfo-l.com/Wiki/SomeUsefulWindowsCalls. This page has some sample code to do what you want. Cheers Ian Ian Tidy GIS Administrator Works Asset Department Napier City Council Hastings St, Private Bag 6010, Napier, New Zealand Phone +64-6-835-7579 Ext. 8115 Fax +64-6-835-7574 mailto:[EMAIL PROTECTED] http://www.napier.govt.nz -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ellingham Morgan Sent: Thursday, 8 December 2005 3:02 p.m. To: [email protected] Subject: [MI-L] Can MapBasic copy non MI files from one place to another? Hi Listers... May be impossible, but can i execute a command within a MapBasic script that will copy a jpeg/bmp from say C:\Hold to \\fileserver\Hold ??? Regards... Morgan Ellingham Citywide Service Solutions GIS Technician Level 1, 150 Jolimont Rd, East Melbourne Ph: (03) 9261 5065 Mob: 0419 145 666 Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> _______________________________________________ MapInfo-L mailing list [email protected] http://www.directionsmag.com/mailman/listinfo/mapinfo-l ###################################################################### This e-mail message has been scanned and cleared by MailMarshal ###################################################################### ###################################################################### Attention: This e-mail message and accompanying data may contain information that is confidential and subject to legal privilege. Any information provided is given in good faith. However unless specifically stated to the contrary, Napier City Council accepts no liability for the content of this e-mail or for the consequences of any action taken on the basis of the information provided, unless that information is subsequently confirmed in writing. If you are not the intended recipient, you are notified that any use, dissemination, distribution or copying of this message or data is prohibited. If you received this e-mail message in error, please notify us immediately and erase all copies of this message and attachments. Thank you. _______________________________________________ MapInfo-L mailing list [email protected] http://www.directionsmag.com/mailman/listinfo/mapinfo-l
