从我的代码连接到操作系统 [英] connect with operating system from my code

查看:56
本文介绍了从我的代码连接到操作系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi ..
我的程序如何与操作系统连接?
要订购诸如打开单词之类的命令,或针对Windows的任何命令

hi..
how can my programm be connected with the operating system?
to order commands like open word ,or any commands for windows

推荐答案

,您应该使用Process.Start();为了做到这一点;

一些示例链接为您提供;

对于命令提示符 [ Process.Start()的其他变体 [
You should use Process.Start(); in order to do that;

Some examples links for you;

For command prompt[^]

Other variations for Process.Start()[^]


这篇关于从我的代码连接到操作系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆