WordBASIC Macro to Run the Windows File Manager

Last reviewed: July 30, 1997
Article ID: Q71342
The information in this article applies to:
  • Microsoft Word for Windows, versions 1.0, 1.1, 1.1a, 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c

If you need to do a file management task when working in Microsoft Word for Windows, such as moving files, you can run the following macro to bring up the Windows version 3.0 File Manager:

   Sub Main
   Shell "winfile.exe"
   End Sub

After you complete your file management task, you can exit File Manager and resume Word for Windows again.

Note: You can assign this macro to a key or menu in Word for Windows for quick access to the File Manager.

REFERENCES

"Microsoft Word for Windows Technical Reference," page 117

"Microsoft Word for Windows and OS/2 Technical Reference," pages 256-257

Kbcategory: kbusage kbmacro KBSubcategory:


Additional query words: 1.x 2.0 2.0a winword2 word6
winword 2.0a-CD 2.0b 2.0c 6.0 6.0a 6.0c
Version : 1.x 2.x 6.0
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.