Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5980299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:46:52+00:00 2026-05-22T21:46:52+00:00

I am working on the command line in the console window using Ant, Java,

  • 0

I am working on the command line in the console window using Ant, Java, and CVSNT. (Unix geek forced to live in a Windows world)

When I run a cvsnt command, batch scripts no longer work. This includes several commands that I use including ant and vim.

I can open up a new console window, and in that window, everything is fine, so it must be something about that particular environment in that console window, and it happens whenever I do something in cvsnt.

Any ideas? Anything I should be looking for?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T21:46:53+00:00Added an answer on May 22, 2026 at 9:46 pm

    I had the exact same problem today. The problem is that cvs.exe does something with the code page. I cannot explain quite what but if you reset the code page, bat files start working again.

    An example may make this clearer (being in the UK, my default code page is 850, but the same thing happens when I have my Windows default as 437)

    >echo @echo .bat files are working > test.bat
    
    >test.bat
    .bat files are working
    
    >chcp
    Active code page: 850
    
    >cvs update
    ? test.bat
    cvs update: Updating .
    
    >test.bat
    
    >chcp
    Active code page: 850
    
    >test.bat
    
    >chcp 850
    Active code page: 850
    
    >test.bat
    .bat files are working
    
    >
    

    so although the code page is apparently unaffected, resetting it restores the functionality of .bat files.

    To work around this problem, I am therefore using a script like this:

    @echo off
    (
    chcp 850 > NUL
    "C:\Program Files\CVSNT\cvs.exe" %*
    chcp 850 > NUL
    )
    

    and invoking cvs through it. If anyone can comment on why this code-page behaviour is occurring I would be most interested to know.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the native windows application spamc.exe (SpamAssassin - sawin32) from command line as
I'm working on a command line application for Solaris, written in Java6. I'd like
I'm working on a Perl script. How can I pass command line parameters to
I'm working on a C# project that has a post-build event command line that
When using a simple command line svn client, if you run update you can
I've started working on a command-line app based on RtMidi that can send arbitrary
cd is the shell command to change the working directory. How do I change
Working with dates in ruby and rails on windows, I'm having problems with pre-epoch
Working in Eclipse on a Dynamic Web Project (using Tomcat (v5.5) as the app
I'm working on a web application and using the jQuery plug-in Colorbox to pop

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.