Dos file problem

I wrote a script in notepad that runs a does command in the command prompt (Windows 7).  The problem is that the dasks (-) all get changes to a u with a line on top when the command is run.  I know it has  something to so with the character set, but I am not sure what.
tlatter-isisAsked:
Who is Participating?
 
tlatter-isisConnect With a Mentor Author Commented:
I was able to fix the problem using work instead of notepad, It got rid of the character changes
0
 
Paul MacDonaldDirector, Information SystemsCommented:
What font are you using in Notepad?  What happens when you change the font for the batch file to something like Courier New?
0
 
jpdaveyCommented:
Could you send a snippet of the code you are running? At least the line containing the dash ?

Have you tried copying and pasting your code to another program, such as Wordpad or Word, to see what gets pasted?
0
 
tlatter-isisAuthor Commented:
I fixed the problem using microsoft word
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.