[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Windows Batch File

Posted on 2011-03-07
2
Medium Priority
?
410 Views
Last Modified: 2012-05-11
I have  a batch file with the following commands:

pause
ewfmgr c: -commitanddisable –live
pause

Open in new window


But when I execute it, for some reason it seems to translate the ewfmgr command to this (as seen on the command window, and obviously the command is not working)

ewfmgr c: -commitanddisable ûlive

Open in new window


Notice it is putting a u with (shift 6) character where the '-live' is supposed to be...Yes, I have tried typing the same exact line manually in a command window and it works just fine, only via the batch file does it seem to get messed up, any help?
0
Comment
Question by:arunykand
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
TMWSIY earned 2000 total points
ID: 35057304
What app are you using to create the batch file?  Use notepad not wordpad and copy and paste from the cmd line that works to notepad.
0
 

Expert Comment

by:wizofoz244
ID: 35059243
I personally prefer notepad2.  It also contains syntax highlighting and is freeware.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
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…
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…

650 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