Solved

Dos file problem

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problems with Microsoft.DHCP.PowerShell.Admin Module 4 56
windows explorer default details view 10 58
Problem to file 4 21
Printing issues after RDC session 3 19
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.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

831 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