Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch    |    Fun with MS-DOS batch files    |    42,547 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 41,430 of 42,547    |
|    sdsolutions@gmail.com to Todd Vargo    |
|    Re: Batch file replacing dash symbol wit    |
|    02 Mar 16 10:46:34    |
      I know this is an old post, but I saw no fix here, and it took me some       searching before I tried my own fix.              In Notepad, I changed my font from 'Lucinda Console' to 'TERMINAL', and the       dashes (-) changed to The (û) symbol. I just manually used the - on my       keyboard using that font, saved my BAT script, and it executed fine.              On Sunday, July 30, 2006 at 10:09:39 PM UTC-5, Todd Vargo wrote:       > Kevin wrote:       > > Word has a great advantage in that I can replacing the end Paragragh       > > mark via the "Special" button in the Replace dialog box. That way I       > > can easily insert anything at the end of every line by just replacing       > > the carriage return with a string followed by a carriage return. . .       > > or insert anything at the beginning of every line by replacing the       > > Paragraph mark with a paragraph mark followed by a string. This batch       > > file has about 50 lines (to RAR 50 videos into compressed parts), so       > > Word was a real time-saver.       > >       > > If I do not need to add anything to the beginning or end of the lines       > > - then yes, I just use Notepad. You are right about turning off       > > Auto-Correct. That was the problem. I found a checkbox that says       > > "Replace hyphens (- -) with dash (--). In the research I did today I       > > found that there are three dashes:       > >       > > dash (hyphen), en dash, and em dash       > > - -- ---       > >       > > Apparently, Word calls the regular keyboard dash, a "hyphen". The       > > hyphen is the regular dash and the "en dash" is longer. The "em dash"       > > is longer still !! In fact, some call the en-dash "shart dash" and       > > the em dash "long dash". Here is a table of the three types shown in       > > various fonts: http://www.infocellar.com/software/symbols.htm       > >       > > I notice that Word keeps the dash short when you type it as the first       > > character of a line, or if used as a separator (for example,       > > first-floor). But whenever you use it as the first character of       > > anything other than the beginning of a line, it replaces it with the       > > en-dash. This autocorrect stuff is nuts !! Thanks for the tip - I       > > turned the damn thing off.       >        > Note, with the proper command, your batch file creation would not have       > needed to be edited at all.       >        > for %? in (*.ext) do echo winrar a -v10m "rar_file_name" "%?" >>temp.bat       >        > --        > Todd Vargo       > (Post questions to group only. Remove "z" to email personal messages)              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca