Solved

Dos file problem

Posted on 2010-11-09
4
344 Views
Last Modified: 2012-05-10
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.
0
Comment
Question by:tlatter-isis
  • 2
4 Comments
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 34096256
What font are you using in Notepad?  What happens when you change the font for the batch file to something like Courier New?
0
 
LVL 2

Expert Comment

by:jpdavey
ID: 34096322
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
 

Accepted Solution

by:
tlatter-isis earned 0 total points
ID: 34096513
I was able to fix the problem using work instead of notepad, It got rid of the character changes
0
 

Author Closing Comment

by:tlatter-isis
ID: 34130249
I fixed the problem using microsoft word
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
An article on effective troubleshooting
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question