Solved

Dos file problem

Posted on 2010-11-09
4
329 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 33

Expert Comment

by:paulmacd
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now