原帖由 2011足迹 于 2011-5-26 20:28 发表
nativecmd的帮助有help命令(查看所有命令和功能)?命令(查看所有命令),/?参数(命令的详细使用帮助)
谢谢足迹!
发点东西!足迹你看看这个对你有用吗?希望有所帮助,我对编程一窍不通!
========================================================================================
Native shell — Windows command prompt which can start before Winlogon and Win32 subsystem
Native shell is a program for experiments with a Native API mode of Windows. Native mode is a mode, where chkdsk starts at the boot time before login screen appears. It is used by chkdsk utility to check and correct errors in the system partition. The Native mode itself is a blue screen (it is blue in Windows XP, another color in other versions of Windows), which appears before the Windows login screen. See the image (click the picture to zoom it):
Windows XP Native mode. Native shell application is running.
The program is a shell (a command line interface). It can perform some basic operations with Windows files and directories.Program runs before starting of main Windows components, so we have access to the entire file system and registry without many restrictions. All operations are implemented through the Native API (ntdll.dll).
Features
- Starting another process (native processes only, win32 not supported)
- Read keyboard input and process commands. To display a list of commands type "help" in the console.
- Navigate through the file system.
- Copy, move and delete files.
- Create directories.
- Turn off and restart the computer.
- Show list of running processes.
- Show device tree and system information
- Displays a list of files in a directory on the screen. Shows file names, short names (in 8.3 format) and file size.
- Leave native mode and start Windows.
- Shutdown and reboot PC.
Not implemented- Working with registry
- Autocomplete commands
- Command input history
List of console commands
If the argument contains a space, it should be put in quotation marks (except for "cd" command, it can process paths without quotes).
- cd X - Change directory X
- md X - Make directory X
- copy X Y - Copy file X to Y
- move X Y - Move file X to Y
- poweroff - Power off PC
- dir - Show directory contents
- pwd - Print working directory
- del X - Delete file X
- reboot - Reboot PC
- devtree - Dump device tree
- shutdown - Shutdown PC
- exit - Exit shell
- sysinfo - Dump system information
- lm - List modules
- vid - Test screen output
- lp - List processes
源代码和可执行文件
nativeshell_0.12.rar
(36.13 KB, 下载次数: 86)
[ 本帖最后由 thttht 于 2011-5-27 09:41 编辑 ] |