Solved

how to setup the command line path under W7

Posted on 2011-02-25
10
743 Views
Last Modified: 2012-05-11
I have several old applications I run since MS-DOS time. I need to get the path with their directories, to have ANSI.SYS and my keyboard is French. I stayed with Windows XP because Vista created me problems. Under XP I used Autoexe.nt in \windows\system32 and something to replace ANSI.SYS.

Under W7, the Path I obtain has nothing to do with the Path I entered in AUtoexe.bat (I rebooted). Could someone tells me how to save my day. Also, the keyboard becoms English, and typing in my editor is quite impossible without ANSI.SYS or its equivalent.
0
Comment
Question by:versailles
[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
  • 4
  • 4
10 Comments
 
LVL 95

Expert Comment

by:John Hurst
ID: 34985303
Windows 7 does not support DOS. You need to run it in a virtual machine. If you just need path variables (you need more than that), you can set up path variables in the system properties, advanced tab.

... Thinkpads_User
0
 
LVL 95

Expert Comment

by:John Hurst
ID: 34985309
By the way, you can use Language options and a French keyboard in Windows 7, which is the way I think many people would approach this issue. ... Thinkpads_User
0
 

Author Comment

by:versailles
ID: 34985485
I do not run dos. I run command line exe that work since the DOS time or where recompiled a few months/day ago. I need to understand where I enter the path for the machine and for the command line window. The swicth from French keyboard to English keyboard happens when I enter the command line window.

My problem is that "system properties, advanced tab" does not ring a bell with the M$ French translation
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
LVL 95

Expert Comment

by:John Hurst
ID: 34985537
>>> system properties, advanced tab

Right click on Computer and select Properties. That brings you to a window that will have Advanced System Settings on the side. Click on that and you get the traditional System Properties window. Click on the Advanced Tab, then click on the environment button. You will see the path variables in there. That part is not a language issue.

What you cannot do (so far as I know) is load ANSI.SYS in Windows 7. That is gone (again so far as I know).

So I do not think you can do what you want in Windows 7. You would have to run the old program in a virtual machine that allows you to set up ANSI.SYS. I do know about ANSI.SYS and what it does. It just does not exist in Windows 7.

... Thinkpads_User
0
 

Author Comment

by:versailles
ID: 34987139
I fond a response to the ANSI.SYS problem.

Put ANSICON in the path along with the appropriate DLL.
http://adoxa.110mb.com/ansicon/index.htm
by Tim Wilson, PMP
on Microsoft Answers.

I still have the problem of the keyboard being AZERTY everywhere, but in a program in the command line window.
Best
0
 

Author Comment

by:versailles
ID: 34988785
OKay, I found a solution for retaining the FR keyboard. In runing "KB16 FR", however I may still have a problem with some keys. For example, the "\" does not seem to work.

Best
0
 
LVL 95

Expert Comment

by:John Hurst
ID: 34989182
Thanks for the updates. I am not sure what else to say. It may be an incompatability between a very old program and Windows 7. .... Thinkpads_User
0
 

Author Comment

by:versailles
ID: 34990516
This was probably due to a mix-up for having made several tries. It was not in the program but in the prompt windows.

1. to get equivalent of ANSI.SYS run ansicon [-i (install) if once for all]
2. to manage keep the local keyboard within the prompt windows application, run KB16 XX
3. to change the path adding a variable in the path entries does not seem to work and some programs are in the path which are not listed there. Autoexec.nt does not seem to work either. But a batch file with the command PATH does the job.

Thank you for helping
Best
jfc
0
 

Accepted Solution

by:
ee_auto earned 0 total points
ID: 35331314
Question PAQ'd and stored in the solution database.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

734 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