Top Navigational Bar

Disabling The Go To DOS Feature With A Batch
DocumentID: 653574
Revision Date: 29-Feb-96 8:29:24 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Solutions: The customer, a network administrator, wanted to disable the Go To DOS (Shell) feature for security reasons. He was able to accomplish this by using the following commands in a batch file:
      SET COMSPEC = [D]:\COMMAND.COM /C
      WP/U=xxx
      SET COMSPEC = [D]:\COMMAND.COM
The key is the /C switch. With nothing following the /C, the computer does nothing and forces a cold boot, which in essence keeps the user out of DOS while working in WP. The second COMSPEC command allows the user to exit WordPerfect and activate DOS. Testing revealed that if the user executed WP without using the batch file after normally exiting the program, he had to reboot if he attempted to shell out. This is one possible option for those users concerned with security on their networks and PCs.

Another work around is to use the same batch file, but instead of setting the /C switch to nothing, set it to something invalid. This will cause the user to get the error "Cannot Find COMMAND.COM" and will place the user back into WordPerfect.

*This information is given strictly as a troubleshooting option.

Answer:

Details:


Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.