Microsoft KB Archive/65348

Works: File Management Functions Do Not Work

PSS ID Number: Q65348 Article last modified on 10-16-1998

2.00 3.00

MS-DOS

=
========================================================= 2.00 3.00 MS-DOS kbother

= SUMMARY =

The file management commands Format Disk and Copy Disk will not function if the DOS PATH statement does not contain the drive and directory where the corresponding MS-DOS files exist.

To correct the problem, change the PATH statement in the AUTOEXEC.BAT file to correctly tell Works and the operating system where to find these programs. The AUTOEXEC.BAT file resides in the root directory of the hard drive or bootable floppy disk. The MS-DOS files are usually located in the root directory or in a DOS subdirectory. The PATH statement should be similar to the following:

PATH=C:;

Other drives and directories may also be listed on the PATH statement as long as each is separated by a semicolon.

= MORE INFORMATION =

The file management facility in the Works File menu is a convenient way to access the actual MS-DOS operating system commands, without exiting the program. Although the other file management commands are MS-DOS internal commands, and therefore available through COMMAND.COM, Format Disk and Copy Disk require FORMAT.COM and DISKCOPY.COM, respectively.

If these MS-DOS files are not in the path, the following error message may briefly be displayed when the corresponding file management command is selected:

Bad command or file name

KBCategory: kbother KBSubcategory: dworkskb Additional reference words: ====================================================================== Version : 2.00 3.00 Platform : MS-DOS ============================================================================= Copyright Microsoft Corporation 1998.