⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 shell.hlp

📁 是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到
💻 HLP
字号:
{smcl}
{* 22feb2005}{...}
{cmd:help shell}, {cmd:help winexec}, {cmd:help xshell}
{hline}

{title:Title}

{p2colset 5 18 20 2}{...}
{p2col :{hi:[D] shell} {hline 2}}Temporarily invoke operating system{p_end}
{p2colreset}{...}


{title:Syntax}

{p 8 12 2}{c -(}{opt sh:ell}|{cmd:!}{c )-} [{it:operating_system_command}]

{p 8 12 2}{opt winexec} {it:program_name} [{it:program_args}]

{p 8 12 2}{c -(}{opt xsh:ell}|{cmd:!!}{c )-} [{it:operating_system_command}]

                 Stata for ...
        command    Windows    Macintosh    Unix(GUI)    Unix(console)
        {hline 61}
        {cmd:shell}         X         X            X            X
        {cmd:winexec}       X         X            X            -
        {cmd:xshell}        -         -            X            - 
        {hline 61}


{title:Description}

{pstd}
{opt shell} (synonym:  "{cmd:!}") allows you to send commands to your
operating system or to enter your operating system for interactive use.  In
Stata for Macintosh, the {it: operating_system_command} is required.

{pstd}
{opt winexec} allows you to start other programs (such as browsers) from
Stata's command line and without Stata waiting for the program to
complete before continuing.

{pstd}
{opt xshell} (Stata for Unix(GUI) only) brings up an {opt xterm} in which
the command is to be executed.


{title:Examples}

{p2colset 5 39 41 2}{...}
{p2col :{cmd:. shell}}(enter operating system){p_end}

{p2col :{cmd:. shell erase *.log}}(Windows, DOS){p_end}
{p2col :{cmd:. shell rm *.log}}(Unix and Macintosh){p_end}

{p2col :{cmd:. shell edit myfile.ado}}(assuming editor called {opt edit}){p_end}

{p2col :{cmd:. !}}(not allowed in Macintosh){p_end}
{p2colreset}{...}

{phang}{cmd:. !edit myfile.ado}

{phang}{cmd:. winexec notepad}

{phang}{cmd:. winexec notepad c:\dta\myfile.do}

{phang}{cmd:. winexec c:\windows\notepad}

{phang}{cmd:. winexec c:\windows\notepad c:\dta\myfile.do}


{title:Also see}

{psee}
Manual:  {bf:[D] shell}

{psee}
Online:  {helpb cd}, 
{helpb copy}, 
{helpb dir},
{helpb erase}, 
{helpb mkdir}, 
{helpb query}, 
{helpb type}
{p_end}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -