Bỏ qua để tới nội dung chính
Đăng nhập với Microsoft
Đăng nhập hoặc tạo một tài khoản.
Xin chào,
Chọn một tài khoản khác.
Bạn có nhiều tài khoản
Chọn tài khoản bạn muốn đăng nhập.
Tiếng Anh
Chúng tôi rất tiếc. Bài viết này không có bằng ngôn ngữ của bạn.

This article describes the command-line switches that you can use to start Visio.

In this article

Use a switch once by adding it to the Run command

  1. Do one of the following:

    • In Windows Vista or Windows 7    

      • Click the Start button , and in the Start Search box, type Run, and then press ENTER.

  2. Click Browse to locate the Visio.exe file.

    By default, the Visio.exe file of is located in the following folder:

    C:\Program Files\Microsoft Office\Office14.

  3. Click the Visio.exe file, and then click Open.

  4. Place the cursor to the right of the closing quotation mark at the end of the path statement.

    Note: Enclose the statement in quotation marks if they aren't already there.

  5. Type a space followed by the switch that you want to use.

    For example, if you want to start and prevent the splash screen from appearing, type the following in the Open box:

    "C:\Program Files\Microsoft Office\Office14" /nologo

  6. Click OK.

    Note: If you put the switch inside the closing quotation mark and then click OK, an error message appears indicating that the file can't be found.

Top of Page

Make a switch available for reuse by creating a shortcut

To create a shortcut to start Visio from the Windows desktop, do the following:

  1. Right-click the Windows desktop, point to New, and then click Shortcut.

  2. Click Browse to locate the Visio.exe file.

    By default, the Visio.exe file of located in the following folder:

    C:\Program Files\Microsoft Office\Office14

  3. Click the Visio.exe file, and then click OK.

  4. Place the cursor to the right of the closing quotation mark at the end of the path statement.

    Note: Enclose the statement in quotation marks if they aren't already there.

  5. Type a space followed by the switch that you want to use.

    For example, if you want to start Visio and prevent the splash screen from appearing, type the following in the Type the location of the item box:

    "C:\Program Files\Microsoft Office\Office14" /nologo

  6. In the Create Shortcut dialog box, click Next.

    Note: If you put the switch inside the closing quotation mark and then click Next, you receive an error indicating that the file can't be found.

  7. In the Type a name for this shortcut box, type the name of the new shortcut, and then click Finish.

Top of Page

Visio startup switches

Switch

Description

/safe

Starts Visio in Safe Mode. Safe Mode includes bypassing files that are in Startup directories and resetting registry values to their defaults for the current session.

/nonew

Choose Getting Started page is not shown on startup.

/nologo

Splash screen is not shown on startup.

/p filename

Print dialog box is shown so that you can quickly print a file.

filename

Opens a Visio file. The file has to be in the Drawings file path in the File Paths dialog box. To access the File Paths dialog box, on the Tools menu, click Options, click the Advanced tab, and then click File Paths. Alternatively, you must specify an absolute path.

/1, /2, /3, .../9

Opens one of the last-opened files. The numbers represent the file on the Most Recently Used (MRU) list on the File menu.

/noreg

Prevents Visio from registering itself.

/u

Unregisters Visio.

/r

Registers Visio.

/s

Silently registers Visio.

/pt filename,[printername,drivername,portname]

Directs file to print on a particular printer.

::ODMA

Visio opens a file by using ODMA.


Top of Page

Bạn cần thêm trợ giúp?

Bạn muốn xem các tùy chọn khác?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Thông tin này có hữu ích không?

Điều gì ảnh hưởng đến trải nghiệm của bạn?
Khi nhấn gửi, phản hồi của bạn sẽ được sử dụng để cải thiện các sản phẩm và dịch vụ của Microsoft. Người quản trị CNTT của bạn sẽ có thể thu thập dữ liệu này. Điều khoản về quyền riêng tư.

Cảm ơn phản hồi của bạn!

×