?
Solved

how to setup the command line path under W7

Posted on 2011-02-25
10
Medium Priority
?
745 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 97

Expert Comment

by:Experienced Member
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 97

Expert Comment

by:Experienced Member
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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
LVL 97

Expert Comment

by:Experienced Member
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 97

Expert Comment

by:Experienced Member
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

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.
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
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). …
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.
Suggested Courses

762 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