Jump to content

CONFIG.SYS - CALL Statements: Difference between revisions

From EDM2
Ak120 (talk | contribs)
No edit summary
Ak120 (talk | contribs)
Line 511: Line 511:
  CALL=drive::\OS2\XCOPY.EXE C:\OS2\OS2*.INI C:OS2\OS2*.INY
  CALL=drive::\OS2\XCOPY.EXE C:\OS2\OS2*.INI C:OS2\OS2*.INY


'''TIP:''' [[By William H. Hartzell]]:
'''TIP''' by William H. Hartzell:


With the following lines in your CONFIG.SYS your OS*.INI files are saved during boot
With the following lines in your CONFIG.SYS your OS*.INI files are saved during boot
  CALL=drive:\OS2\ATTRIB.EXE -R -S -H C:\OS2\OS2*
CALL=\OS2\ATTRIB.EXE -R -S -H C:\OS2\OS2*
  CALL=drive:\OS2\XCOPY.EXE C:\OS2\OS2*.INW C:\OS2\OS2*.INV
CALL=\OS2\XCOPY.EXE C:\OS2\OS2*.INW C:\OS2\OS2*.INV
  CALL=drive:\OS2\XCOPY.EXE C:\OS2\OS2*.INX C:\OS2\OS2*.INW
CALL=\OS2\XCOPY.EXE C:\OS2\OS2*.INX C:\OS2\OS2*.INW
  CALL=drive:\OS2\XCOPY.EXE C:\OS2\OS2*.INY C:\OS2\OS2*.INX
CALL=\OS2\XCOPY.EXE C:\OS2\OS2*.INY C:\OS2\OS2*.INX
  CALL=drive:\OS2\XCOPY.EXE C:\OS2\OS2*.INI C:OS2\OS2*.INY
CALL=\OS2\XCOPY.EXE C:\OS2\OS2*.INI C:OS2\OS2*.INY


'''Platform Support:'''
{| class="wikitable"
{| class="wikitable"
|-
|+Platform Support:
!OS/2 2.x
!OS/2 2.x
!OS/2 3.0
!OS/2 3.0

Revision as of 23:35, 7 January 2017

Return to The Config.sys Documentation Project Main Page

The Call statement in your config.sys file is used to run a program during the boot up. Programs started by Call are executed in the foreground, the boot stops until the program has finished.

ATTRIB.EXE

Removes the read-only and systen attributes of the *.ini files

CALL=drive:\OS2\ATTRIB.EXE -R -S -H C:\OS2\OS2*

See also CALL XCOPY

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
Yes Yes Yes Yes

CACHEF32.EXE

It is a helper program needed by the Fat32.ifs file system driver. The program has several functions. It should be started from the config.sys file, but can also be executed from the command line.

CALL=C:\OS2\FS\Fat32\CACHEF32.EXE <parameter>

Parameters:

  • /?

Shows help to the parameter useage.

  • /Q

Quits Cachef32.exe. Files in the cache are written to the disk.

  • /N

Starts Cachef32.exe without the lazywrite daemon.

  • /D:value

This is the amount of time that the disk had to be idle before data can be written from cache to disk. Value can be in the range from 0 to 65535 . Default= 1000 The value is expressed in milliseconds.

  • /B:value

This is the amount of time that the cache-buffer had to be idle before the cache data must be written to disk. The OS/2 Online help says that the BUFFERIDLE time must be smaller than the DISKIDLE time. I think this is wrong! Value can be in the range from 0 to 65535. Default= 500 The value is expressed in milliseconds.

  • /M:value

This is the time data waits in the cache before the data is written to disk. Value can be in the range from 0 to 65535 . Default= 5000 The value is expressed in milliseconds.

  • /R:Drive:,value

Sets the Read Ahead sectors for the the specified drive to the value.

  • /L:value

Turns lazy write on or off. Value can be ON or OFF . Default = ON

  • /FS

Use short names internally.

  • /FL

Use long names internally. Please read the section about the long filenames in the FAT32 documentation.

  • /P:value

Sets the priority for the lazy writer. Value can be in the range from 1 to 4 Default = 1 note: The /T options has been removed since version 0.83.

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
Yes Yes Yes Yes

CHKDSK.COM

This CALL statement will call the new 32-bit CHKDSK.COM, and will tell it what drive to check (e.g. C:). This CALL statement must appear after the LIBPATH=, SET PATH=, and SET DPATH= statements, but before any other CALL statements in your CONFIG.SYS file.

The /C option tells CHKDSK to check the drive only if it is "dirty" and it needs checking. It needs BASEDEV=CHKDSK.SYS loaded.

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
Yes Yes Yes Yes

CMD.EXE

With this statement you can 'delay' the initialisation of the presentation manager. The effect is the same as if you would press 'ALT F1' during boot (as long 'OS/2' is visible on the left upper corner of the display) and then selecting the command-line option (F2 in Warp4). After typing 'exit' the command-line will be closed and boot-up finishes. Useful if you have to delete locked files (specially locked dll's).

CALL=\OS2\CMD.EXE <parameters> 
ex: CALL=C:\OS2\CMD.EXE /Q /C C:\MPTN\BIN\MPTSTART.CMD >NUL

For starting another instance of the command processor and executing programs

See RUN CACHE386.EXE and CALL MPTSTART.CMD

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
Yes Yes Yes Yes

DCF2.EXE

This driver is used by the DCF/2 disk compression program.

CALL=C:\DCF2\DCF2.EXE <parameter>

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
Yes Yes Yes Yes

EQNINDST.EXE

Part of DCAF (Distributed Console Access Facility)

ATTENTION: If you have not the IBM Internal Y2K fix it won't work after 31.12.1999

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
Yes Yes Yes Yes

EQNINNEW.EXE

Part of DCAF (Distributed Console Access Facility)

ATTENTION: If you have not the IBM Internal Y2K fix it won't work after 31.12.1999

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
Yes Yes Yes Yes

EQNKCTLD.EXE

Part of Netfinity* Version 5.20.3

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
Yes Yes Yes Yes

EQNKRCLD.EXE

Part of Netfinity* Version 5.20.3

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
Yes Yes Yes Yes

EQNRCLD.EXE

Part of DCAF (Distributed Console Access Facility)

ATTENTION: If you have not the IBM Internal Y2K fix it won't work after 31.12.1999

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
Yes Yes Yes Yes

INIFLAG.EXE

Lotus cc:Mail NOTE: removes readonly flag from os2.ini

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
Yes Yes Yes Yes

ISDNLOAD.EXE

AVM ISDN-Controller B1 PCI Coomon ISDN API loader

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
Yes Yes Yes Yes

MPTSTART.CMD

The file named MPTSTART.CMD contains Socket/MPTS configuration information for a workstation. Socket/MPTS creates and updates a MPTSTART.CMD file, based on your configuration selections using the Socket/MPTS window interface or using the response files.

CALL=drive:\OS2\CMD.EXE /Q /C drive:\MPTN\BIN\MPTSTART.CMD >NUL

MPTSTART.CMD is automatically started when the workstation is restarted by a call statement in the CONFIG.SYS file.

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
* C Yes Yes

NETBIND.EXE

This program binds the protocols to the adapter driver that the NDIS Protocol Manager ( Protman.os2) tells it to.

CALL=C:\IBMCOM\PROTOCOL\NETBIND.EXE

NOTE: This program has no parameters.

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
* C Yes Yes

PPS242A.EXE

Part of PolyPM Remote Service Management Solution

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
Yes Yes Yes Yes

PPS371B.EXE

Part of PolyPM Remote Service Management Solution

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
Yes Yes Yes Yes

PPS731B.EXE

IBM RS/2 Client delivered with the OS/2 Bonus Pak. Part of PolyPM Remote Service Management Solution.

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
Yes Yes Yes Yes

PSNSBOOT.EXE

Warp Server for e-Business Boot Restore Utility Part of Backup and Restore (formerly Personally Safe N' Sound)

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
Yes Yes Yes

SHIFTRUN.EXE

IBM EWS program, that allows you to press shift during bootup, and run program (CMD.EXE), with a n second timeout before continuing.

CALL=\path\SHIFTRUN.EXE n (in seconds) program

TIP: By Steve Wendt: In other words, it boots normally, unless you press shift when this loads. If you press Shift, it starts CMD, and when you exit, it finished booting. Much easier than Alt-F1, F2.

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
Yes Yes Yes Yes

SRVATTCH.EXE

Part of the ThinIFS by IBM

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
Yes Yes Yes Yes

SVDC.EXE

It is used by the Super Virtual Disk tool, which emulates a floppy or harddisk drive in memory.

CALL=\SVDisk\SVDC.exe <parameters>

Parameter:

  • driveletter:

The driveletter of the svdisk

  • /c

Fake a disk change.

  • /e[f]

Eject media [f = forced eject].

  • /i[:size]

Insert media (if size is not specified, default to max. drive capacity.) Size can only be specified for the VFloppy device. Valid sizes are: 160, 180, 320, 360, 1.2, 720, 1.44, 2.88, 1.52, 1.84, 3.68.

  • /l:size

Lock SVDisk in non-swappable memory. Size is anywhere from 0 (KB) to the max. media size.

  • /q

Query SVDisk status

  • /r[:size]

Reconfigure VFloppy device capacity (if size is not specified, default to max. drive capacity.) Valid sizes are: 360, 1.2, 720, 1.44, 2.88, 1.52, 1.84, 3.68.

  • /u

Unlock non-swappable memory used by the SVDisk.

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
Yes Yes Yes Yes

SVDISK.EXE

Starts the super virtual disk tool every boottime

Parameters:

  • driveletter:

The driveletter of the svdisk

  • /c

Fake a disk change.

  • /e[f]

Eject media [f = forced eject].

  • /i[:size]

Insert media (if size is not specified, default to max. drive capacity.) Size can only be specified for the VFloppy device. Valid sizes are: 160, 180, 320, 360, 1.2, 720, 1.44, 2.88, 1.52, 1.84, 3.68.

  • /l:size

Lock SVDisk in non-swappable memory. Size is anywhere from 0 (KB) to the max. media size.

  • /q

Query SVDisk status

  • /r[:size]

Reconfigure VFloppy device capacity (if size is not specified, default to max. drive capacity.) Valid sizes are: 360, 1.2, 720, 1.44, 2.88, 1.52, 1.84, 3.68.

  • /u

Unlock non-swappable memory used by the SVDisk.

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
Yes Yes Yes Yes

XCOPY

CALL=drive::\OS2\XCOPY.EXE C:\OS2\OS2*.INI C:OS2\OS2*.INY

TIP by William H. Hartzell:

With the following lines in your CONFIG.SYS your OS*.INI files are saved during boot

CALL=\OS2\ATTRIB.EXE -R -S -H C:\OS2\OS2*
CALL=\OS2\XCOPY.EXE C:\OS2\OS2*.INW C:\OS2\OS2*.INV
CALL=\OS2\XCOPY.EXE C:\OS2\OS2*.INX C:\OS2\OS2*.INW
CALL=\OS2\XCOPY.EXE C:\OS2\OS2*.INY C:\OS2\OS2*.INX
CALL=\OS2\XCOPY.EXE C:\OS2\OS2*.INI C:OS2\OS2*.INY
Platform Support:
OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
Yes Yes Yes Yes