horst said:
I switched to Vista from XP but I have now a problem.
I am using an old DOS program which needs some settings in SETVER.EXE
I am asked to load this program in CONFIG.SYS (or CONFIG.NT) and so I
added there the line
device="c:\xxx\setver.exe"
Assuming you've got a normal Vista installation, do one of these:
Solution 1:
Gets SETVER.EXE to be loaded for EVERY DOS program.
Go to C:\Windows\System32 and edit the CONFIG.NT you'll find there.
You have to edit this as administrator or it won't let you save it. (see
note at end)
Add
device=%SystemRoot%\system32\setver.exe
and save it.
Run your program.
The drawback to this is that you're now loading SETVER.EXE in every DOS
program or command session.
Solution 2:
Loads SETVER.EXE for ONLY the specific program you want.
Copy the above CONFIG.NT somewhere else. Probably to the same directory
where the program you want SETVER for is.
Edit that version, adding the above noted line.
Right click the program you want SETVER for.
Go to Properties -> Program -> Advanced
Modify the Config file name path you see there to match the CONFIG.NT you
just edited.
Save it all, run your program.
Solution 3:
Loads SETVER.EXE for a special command prompt.
Create a shortcut to C:\Windows\System32\COMMAND.COM
Note: Not CMD.EXE. CMD.EXE will not allow you to modify the path to
CONFIG.NT.
Then repeat the steps above to create a local CONFIG.NT and point the
shortcut to it.
But when I call setver.exe it says that it is not loaded.
Probably edited C:\CONFIG.NT, which won't work.
I have been able to load this program in Windows 2000 and XP without
problem
Somebody can please help me?
See if any of the above works.
Note that I didn't test the above. These comment are my memory of how I've
done it for cases where I had to have SETVER work as it did for ME or XP.
So, if you get stuck, tell me which one of the above you were trying and
I'll debug it.
- Bill
"Note at end:" In order to save this file, in this directory, you have to
edit it as administrator. There are probably other ways to accomplish this,
but what I usually do is start a command prompt by right clicking and
selecting the "Run as administrator" option. Then CD to the correct
directory and just type EDIT CONFIG.NT. When I save it that way, there are
no complaints.