Solved

how to setup the command line path under W7

Posted on 2011-02-25
10
739 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
  • 4
  • 4
10 Comments
 
LVL 92

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 92

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
 
LVL 92

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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

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 92

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
OfficeMate Freezes on login or does not load after login credentials are input.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
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). …

911 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now