Solved

how to setup the command line path under W7

Posted on 2011-02-25
10
738 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 90

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 90

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 90

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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

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 90

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
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…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

746 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

14 Experts available now in Live!

Get 1:1 Help Now