Link to home
Start Free TrialLog in
Avatar of Jean-François MORFIN
Jean-François MORFINFlag for France

asked on

how to setup the command line path under W7

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.
Avatar of John
John
Flag of Canada image

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
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
Avatar of Jean-François MORFIN

ASKER

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
>>> 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
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
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
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
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
ASKER CERTIFIED SOLUTION
Avatar of ee_auto
ee_auto

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial