简体   繁体   中英

What is an example of a windows shell command that requires elevated privileges to run?

我想查看通过os.execute功能可用于我的应用程序的嵌入式Lua VM哪些资源。

echo text > c:\\foo.txt

Non-privileged users can't create files on the system's drive root (as well as other system folders). Just one example out of many possible...

You can also try to run regedit.exe. As a regular user, you'll be denied.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM