For more information about the general subject of DOS or Windows environment configurations and managing them, see About Personal Win4Lin Session Configurations.
By default, when you start a DOS or Windows session under Win4Lin, the system-wide autoexec.bat file (which is found on the shared drive J) and the personal file named autoexec.bat (which is found on your personal drive, typically drive C) are executed.
You can specify that one or more of these files not be executed; you can also edit them or specify that Win4Lin use different or additional autoexec.bat files.
Follow these steps to enable the execution of an autoexec file during DOS or Windows startup:
The Other file is any file you specify in the corresponding text
box.
Use Linux syntax and specify the full path name for the file (for
example, /tmp/startup
).
If multiple files are enabled, they are executed in the listed sequence -- System Wide followed by Personal followed by Other.
Deselect the file to disable its execution.
You can click the Select File... button to bring up the File Browser and then select the file name from a list. The file need not be named autoexec.bat as long as it contains valid DOS batch commands.
By default, when you start a DOS or Windows session under Win4Lin, the system-wide config.sys file (which is found on the shared drive J) and the personal file named config.sys (which is found in your personal drive, typically drive C) are interpreted.
You can specify that one or more of these files not be interpreted; you can also edit them or specify that Win4Lin use different or additional config.sys files.
Follow these steps to enable the execution of a config file during DOS or Windows startup:
The Other file is any file you specify in the corresponding text box.
Use Linux syntax and specify the full path name for the file
(for example, /tmp/startup
).
If multiple files are enabled, they are executed in the listed sequence -- System Wide followed by Personal followed by Other.
Deselect the file to disable its execution.
You can click the Select File... button to bring up the File Browser and then select the file name from a list. The file need not be named config.sys as long as it contains valid DOS configuration commands.
Windows Type
This control is not used because Windows 3.1 is no longer supported.
The Windows mode is automatically set to "Windows 95/98" when you first
install Windows 95 or Windows 98, so there is no need to make adjustments
to this setting.
This setting allows you to choose the amount of standard memory, in megabytes, for your DOS or Windows sessions.
To change the setting,
in the Memory area click on the up or down arrow to the
right of Standard to select the amount of standard memory you
want to use.
For Windows 95 and Windows 98 you can select up to 64MB.
The typical minimum amount of memory needed is different depending on the
version of Windows you installed:
Furthermore, if you only occasionally need additional memory for your
session, do not change your default configuration; request additional
memory only for those sessions in which you need it.
If you know what virtual memory is, then the following might be
useful information:
Windows implements it's own virtual memory using the amount of
"standard" memory that is given.
So Windows applications can apparently use more memory than
the amount given to it with this setting.
(The Linux system does the same for Linux applications.)
A consequence of Win4Lin using "virtual virtual memory" for your
windows session can result in situations where if you
give "too much" standard memory to your Windows session, it can turn
your session into a "memory hog" which can actually slow it down.
So it is not always the case that adding excessive standard memory
will make your Windows application run as fast as possible.
And if you are using a multi-user Linux system, it can annoy other users
if you needlessly hoard limited memory resources.
Win4Lin supports the Expanded Memory Specification (EMS). Many DOS
applications can use EMS memory. (Consult the documentation for your
application for the appropriate amount of EMS memory to request.)
This setting allows you to choose the amount of EMS memory, in
megabytes, for your DOS sessions.
To change the EMS setting,
in the Memory area click on the up or down arrow to the
right of EMS to select the amount of EMS to use.
EMS memory is not useful in Windows environments.
Furthermore, if you only occasionally need additional memory for your
session, do not change your default configuration; request additional
memory only for those sessions in which you need it.
This option lets you specify the command or application to be executed
for this configuration.
This option is useful for assigning a particular DOS application to a
configuration and then invoking the application directly from the Desktop.
For example if you have a DOS application named
wizcalc.exe that requires 2 MB of EMS, a COM port, and
a specific set of startup commands in its autoexec file, you may
create a new DOS configuration for this application and type
Thereafter, running the configuration sets up the specified
environment and runs wizcalc automatically.
To specify a command or application to execute for this configuration:
You might need to increase the amount of memory assigned if your
application requires it to run efficiently. (Some applications
might need more memory to run correctly. So if you experience
problems running an application, one thing to try is to assign more memory.)
Assigning more than is strictly needed wastes memory resources,
so you should not just assign the maximum.
First try increasing the by amount of memory by 4MB at a time,
until your Windows applications does not seem to run noticeably faster
with the additional memory.
Note: Win4Lin simulates standard memory by using standard
Linux system virtual memory. Virtual memory is a finite resource.
Assigning more that was is strictly needed wastes memory resources,
so you should not just assign the maximum.
EMS
Note: Win4Lin simulates expanded memory by using standard
Linux system virtual memory. Virtual memory is a finite resource.
Assigning more that was is strictly needed wastes memory resources,
so you should not just assign the maximum.
wizcalc.exe
in the Command text box.
Note: Do not use the Command text box with
standard dos or win configurations.