From: os2support_at_theriver.com
Date: Fri Apr 07 2000 - 22:11:14 EDT
In <200004071313.JAA22380_at_plg2.math.uwaterloo.ca>, on 04/07/00
at 09:13 AM, "Michael W. Godfrey" <migod_at_plg2.math.uwaterloo.ca>
said:
> (1) Too many parameters
This might be caused by one of your programs in the config.sys file or
by the set PATH=%PATH%;D:\Program Files\vim\vim86 line in the
autoexec.bat file. If you want to change this line, you can do the
following:
Open an MSDOS prompt window from the "start" line. Type in dir or dir
/x (one should list both the "short" and "long" file name for all
files in the directory. Change drives to the d: drive. Type in the
same directory command. Look for the "short" directory name for the
directory "Program Files". It should be PROGRA~1 or simular. Write
down this file (directory) name. Copy your existing autoexec.bat file
(it is in the "root" directory of the C: drive) to a "backup" file.
Recommended is autoexec.bak, but you can use any file name. Invoke the
notepad editor (any text editor will do, but the following commands
are based on you using this editor) from within the command prompt by
typing in "notepad c:\autoexec.bat" (without the quotes of course.)
Move the cursor until it is over the words Program File. Type in the
short name of the directory and using the delete key, remove the word
File. Click on the File menu item and then Save. A prompt should
appear asking if you want to overwrite the file. Click on the "Yes"
button. Exit the program by either clicking on the X. Run the "dir"
command with the Pause function (dir /p) and make sure that the file
was not renamed to autoexec.bat.txt. If it was use the following
command: "ren autoexec.bat.txt autoexec.bat". Exit the MSDOS command
session by selecting the box and typing in "exit". Shutdown and
restart Windows98.
For your information, Windows9X creates MSDOS or short file names from
the first six characters of the directory name and the tilde (~)
symbol and then a number 1 through 9. If all of the names xxxxxx~1
through xxxxxx~9 are taken then a random generator takes over for the
last two file positions. If there are two directories, files or
combination of files and directories with the letters 'progra' in them
the first found (on the C: drive in this case) would be named PROGRA~1
and the second (on the D: drive in this case) would be named PROGRA~2.
> (2) Cannot execute file ps2main.exe
> File not found
The C:\Thinkpad directory is no longer in your PATH.
> set PATH=%PATH%;D:\Program Files\vim\vim56
You need to change this line. The set line sees the following: 'set'
'PATH=%PATH%;D:\Program' 'Files\vim\vim56'
Which is one program with two parameters and the set command only can
accept one.
>So I don't understand why it can't find ps2main.exe (and I don't
>understand why my dos shells don't reflect the PATH set up here
>either. The last line should allow gvim.exe to be found in my path.)
Because the system does not know where it is. The second set command
fails and your PATH is set to "".
You have some editing to do.
James Mckenzie
-- -------------------------------------------- James Mckenzie, Team OS/2, Team Lora Still supporting OS/2 from version 2.0 NEW ADDRESS: os2support_at_theriver.com New rates for unsolicited e-mails: Any unsolicited e-mails will be charged $3000/KB, $5000 min. --------------------------------------------
This archive was generated by hypermail 2.1.3 : Thu Jan 23 2003 - 09:55:58 EST