LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (November 1998, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 2 Nov 1998 12:59:10 -0500
Reply-To:     "John T. Jones" <jonesj@PHARMARESEARCH.COM>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         "John T. Jones" <jonesj@PHARMARESEARCH.COM>
Subject:      call system and dos batch windows
Comments: cc: quinnl@pharmaresearch.com, sechresr@pharmaresearch.com
Content-Type: text/plain; charset="us-ascii"

_ALL_,

How do you issue dos commands without a cursed dos window or SAS job window popping up on the screen?

The problem stems from closing word while minimized. It changes the settings in the normal.dot file.

options noxwait xsync; *--{BACKUP: the normal.dot file}--; x 'copy c:\msoffice\templates\normal.dot c:\msoffice\templates\backup.dot'; *--{MSWORD: formats a file and closes while minimized}--; x "start /m c:\msoffice\winword\winword.exe &file /mtables&type /mexitword"; *--{REMOVE: the normal.dot file}--; x 'del c:\msoffice\templates\normal.dot'; *--{RESTORE: the original file}--; x 'rename c:\msoffice\templates\backup.dot normal.dot';

The goal is to: 1. Backup the MSWord normal.dot file. 2. Run MSWord minimized to format a text file. 3. Restore the normal.dot file.

I am open to all any any recommendations. Are there perhaps sas functions that perform the dos coammds without the dos windows?

Best Regards and Thank You... John, ___________________________________)


Back to: Top of message | Previous page | Main SAS-L page