无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
楼主: 2011足迹
打印 上一主题 下一主题

Native子系统的 Cmd (Native Cmd) M2正式发布 -- 2011-07-22 (reg.exe,xcopy.exe)

  [复制链接]
1#
发表于 2011-5-26 16:07:26 | 显示全部楼层
请教各位谁用过Native Cmd中的mklink命令啊?我这里不知道为什么命令行里提示建立成功,但实际无法访问啊?文件和目录都不成功!有用过并成功的吗?讲讲用法和经验好吗?谢谢!!!
回复

使用道具 举报

2#
发表于 2011-5-26 16:57:06 | 显示全部楼层
原帖由 2011足迹 于 2011-5-26 16:12 发表
mklink功能现在还不完善,只有ntfs的hard link好使


我现在ntfs的hard link的也没有成功!
我是手动输入的命令如下:
mklink c:\a.txt c:\a\a.txt   【c:\a\a.txt为原始文件】
提示建立成功!也可以看到创建的c:\a.txt文件,但打开a.txt文件提示文件错误!

[ 本帖最后由 thttht 于 2011-5-26 17:00 编辑 ]
回复

使用道具 举报

3#
发表于 2011-5-26 20:05:10 | 显示全部楼层
谢谢 足迹和YY ,请问如何查看Native Cmd下各个命令的参数及作用啊?
MKlinK ?或 MKlinK help   可以吗?
回复

使用道具 举报

4#
发表于 2011-5-27 09:38:55 | 显示全部楼层
原帖由 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 编辑 ]
回复

使用道具 举报

5#
发表于 2011-7-19 16:19:36 | 显示全部楼层
有新进展了!太好了,下载试试!!!
回复

使用道具 举报

6#
发表于 2012-3-29 20:02:28 | 显示全部楼层
friend8179 想请教你一些关于Native Cmd的问题!

我在正常的win2003系统(不是PE系统)里想启动到Native Cmd环境里用Native Cmd里的 reg.exe 添加注册表项!
可我试了多次都没有成功!不知道你用过 reg.exe 这个添加注册表项吗?应该如何设置运行啊?


启动到Native Cmd环境后, 我是这样写的:

reg.exe add c:\a.reg

a.reg是我备份好的要添加的注册表文件!
回复

使用道具 举报

7#
发表于 2012-3-29 23:28:49 | 显示全部楼层
原帖由 2011足迹 于 2012-3-29 20:16 发表
reg的命令语法错误..具体用法可以看win23下reg的help
regedit 才能直接处理.reg文件



足迹大大我这里是 win23 下 ,但添加注册表 a.reg 时是系统刚启动到你的 Native子系统时添加,用的是Native子系统里的那个 reg .exe 程序!!!!

这时的 regedit 应该还不能运行吧?是不是 Native子系统里的这个reg .exe 程序不能这样用啊?看Native子系统里的这个reg.exe 程序的帮助只有add 和dell。。。参数,应该是添加和删除!



friend8179 大大 应该也是误解我是在  win23 环境里运行了吧?

我想问的是 Native子系统里的那个 reg .exe 程序如何对注册表进行操作。

[ 本帖最后由 thttht 于 2012-3-29 23:32 编辑 ]
回复

使用道具 举报

8#
发表于 2012-3-30 09:01:13 | 显示全部楼层
原帖由 friend8179 于 2012-3-29 23:57 发表
估计没这个功能,add是用来直接修改键值。。。



谢谢大大解答!看来我想要效果目前还不能完全实现啊!
回复

使用道具 举报

9#
发表于 2012-3-31 22:42:16 | 显示全部楼层
原帖由 2011足迹 于 2012-3-31 22:17 发表
这个还是可以实现的...直接把reg文件转过了就好了注册表操作通常只有两个add和del修改也要用add


足迹大大您说的 “把reg文件转过了”什么意思阿?你能不能给个转换好的reg文件并给个命令示范阿?这个命令我试验了很长时间也没有搞成功!方法老是不对阿!!!你很忙,给你添麻烦了!!!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-5-8 10:59

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表