Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Dos file problem

Posted on 2010-11-09
4
Medium Priority
?
362 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

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

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

Make the most of your online learning experience.
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

916 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