From: Tatsuro M. <tma...@ya...> - 2010-07-19 23:26:43
|
Hello The windows console prompt and almost console commands do not accept '/' as a path separator. See d:\usr\Tatsu>cd d:/usr The system cannot find the path specified. d:\usr\Tatsu>cd d:\usr D:\usr> Therefore replacement of '/' by '\' as path separator sometimes are really required on windows. BTW, the gnuplot prompt accepts '/' as path sepearator. See; gnuplot> cd 'd:/usr' gnuplot> pwd d:\usr In the almost programing languages working on windows accept '/' as a path separator. Regards Tatsuro --- Tait wrote: > > Sometimes I pass an argument to a gnuplot script which represents a file > > name and it must contain "\\" due to Win command line, but later I'd need to > > perform the above replacement. > > Just use / as a directory separator in all cases. Windows allows this. > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > -------------------------------------- Get the new Internet Explorer 8 optimized for Yahoo! JAPAN http://pr.mail.yahoo.co.jp/ie8/ |