|
From: Brian G. <bgr...@mo...> - 2005-03-04 16:18:18
|
Hi Srinivas, If it's file pathanme, use the [file] command: [file nativename $path] Otherwise you could try use split and join: [join [split $string /] \\] -Brian M.Srinivasa Rao wrote: >How to convert the forward slashes to backward slashes using Tcl? I need to >replace the "/" with "\\". > >In windows when I am sending the file along with path which contains the >forward slashes to printer , I am not able to get the print. > >With Regards, >Srinivas > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >_______________________________________________ >Tcl-win mailing list >Tc...@li... >https://lists.sourceforge.net/lists/listinfo/tcl-win > > > -- ------------------------------------------------------------- -- Model Technology Inc. -- -- 8005 SW Boeckman Road 503.685.7000 tel -- -- Wilsonville, OR 97070 USA 503.685.0921 fax -- ------------------------------------------------------------- -- Technical support ............ mailto:su...@mo... -- -- Sales and marketing info ....... mailto:sa...@mo... -- -- Licensing .................... mailto:li...@mo... -- -- Home Page ........................ http://www.model.com -- -- AIM ........................................ bgriffin42 -- ------------------------------------------------------------- |