|
llztt1
中级用户
  
积分 214
发帖 94
注册 2007-1-11
状态 离线
|
『楼 主』:
有以X:Y\PATH\FILE格式判断NTFS下某文件存在的DOS命令么
使用 LLM 解释/回答一下
0451lym兄 说老鸟们都知道的,我搜索了N多老帖也没找到,有哪位老鸟指点一下哈?
实现NTFSDOS下混乱盘符正确转换为X:Y形式的关键一步,过了他,GHOST维护盘方便性就会提高一个档次了。。
前面TERSE发过帖子,讨论结果是,隔过了这一步,不退出NTFS驱动直接利用NTFS盘符进行GHOST,但发现无论NTFSDOS还是IFS都不够稳定,尤其IFS启动后,很多命令都无法使用了。。所以我建议使用NTFS驱动得到必要信息后就退出之以进行干干净净的GHOST。。
Brother 0451lym said that as old hands all know, but I searched numerous old posts and didn't find it, so哪位老鸟 can give a hint哈?
The key step to achieve the correct conversion of messy drive letters under NTFSDOS to X:Y form, once passed, the convenience of GHOST maintenance disk will be improved by one level.
Previously, Brother TERSE posted a thread, and the discussion result was that by skipping this step, directly using NTFS drive letters for GHOST without exiting the NTFS driver, but it was found that neither NTFSDOS nor IFS was stable enough, especially after IFS was started, many commands couldn't be used.. so I suggest to use the NTFS driver to get necessary information and then exit it to perform clean GHOST.
|
|
2007-2-8 11:08 |
|
|
0451lym
高级用户
   
积分 760
发帖 357
注册 2005-10-10
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
呵呵,几个月前跟你一样,为了NT驱动的稳定性浪费了好多天的时间.最后还是选择了IFS,IFS驱动有好多版本,不是每个都稳定,找找把只有一个版本稳定!
因为我使用UCDOS的桌面系统,卸载NT驱动后就挂不上了,只能重起后在挂,郁闷.
所以我的方案是挂上就不下来,只能找个最稳定的版本,没办法逼出来的!
Hehe, a few months ago, I was just like you, wasting many days on the stability of NT drivers. In the end, I still chose IFS. There are many versions of IFS drivers, not all of them are stable. Look for it, there's only one version that's stable!
Because I use the desktop system of UCDOS, after uninstalling the NT driver, it can't be mounted, I can only restart and then mount it, which is frustrating.
So my solution is to mount it and not take it down, I can only find the most stable version, there's no way to force it out!
|
|
2007-2-8 13:08 |
|
|
llztt1
中级用户
  
积分 214
发帖 94
注册 2007-1-11
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
这样哈,那是不是挂着IFS,可以利用GHOST -DD生成的GHSTSTAT.TXT分析之把NTFS区的盘符转换为X:Y的格式??
呵呵,以前看似简单,原来这么麻烦的哈
Well, then does that mean that with IFS hanging, we can use the GHSTSTAT.TXT generated by GHOST -DD to analyze and convert the drive letter of the NTFS partition to the X:Y format??
Hehe, it seemed simple before, but it's so troublesome originally
|
|
2007-2-8 21:48 |
|
|
0451lym
高级用户
   
积分 760
发帖 357
注册 2005-10-10
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
GHOST -DD生成的GHSTSTAT.TXT分析只是一部分,还需要实际的命令去试探真假,最后确认无误才可以转换为X:Y的格式!
因为如果一块硬盘中的分区是完全混乱的NTF32和NTFS格式,那么就不好判断了,如果是双硬盘的话会更复杂,要弄就得准确否则容易出笑话......
因此就必须DOS命令与识别NTFS的命令格式软件反复双重判断++GHOST -DD等软件的报告分析判断,最后就是我们所要的格式了.说来麻烦,程序运行只是5秒到40秒之间的事情.
The analysis of the GHSTSTAT.TXT generated by GHOST -DD is only a part. It is also necessary to use actual commands to test the authenticity, and only after confirming it is correct can it be converted into the format of X:Y!
Because if the partitions in a hard disk are completely chaotic NTF32 and NTFS formats, then it is not easy to judge. If it is a dual hard disk, it will be more complicated. If you want to do it, you must be accurate, otherwise it is easy to make a fool of yourself...
Therefore, it is necessary to repeatedly and double - judge with DOS commands and command format software for identifying NTFS++ and the report analysis judgment of software such as GHOST -DD. Finally, it is the format we want. It is troublesome to say, but the program operation is only between 5 seconds and 40 seconds.
|
|
2007-2-8 22:15 |
|
|
0451lym
高级用户
   
积分 760
发帖 357
注册 2005-10-10
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
我一共用了以下几种小命令:
1.识别X:Y\PATH\FILE格式的命令(主要,没有了它分析不出正确答案)
2.识别NTFS字母盘符的命令(主要,有了它会大大减少判断步骤,剩时间)
3.识别光区盘符的命令(可有可无,用处不大)
4.GHOST -DD报告分析(主要,能减少判断步骤,剩时间)
5.DOS内部命令结合试探(主要,反复论证得到的答案会最精确)
所有的我的方法都在上面了!
Last edited by 0451lym on 2007-2-8 at 10:29 PM ]
I used the following several small commands:
1. The command to identify the X:Y\PATH\FILE format (main, without it, the correct answer cannot be analyzed)
2. The command to identify the NTFS letter drive letter (main, with it, the judgment steps will be greatly reduced and time will be saved)
3. The command to identify the optical drive drive letter (optional, not very useful)
4. GHOST -DD report analysis (main, can reduce judgment steps and save time)
5. DOS internal command combined with trial (main, the answer repeatedly verified will be the most accurate)
All my methods are above!
Last edited by 0451lym on 2007-2-8 at 10:29 PM ]
|
|
2007-2-8 22:27 |
|
|
llztt1
中级用户
  
积分 214
发帖 94
注册 2007-1-11
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
omnifs.exe BTIni.exe都能以X:Y\PATH\FILE格式访问,不过个头忒大了,不想要
识别NTFS盘符的命令不知道何解啊,那个FUNC命令可以把现有的所有盘符列出来(包括加载NTFS后的盘符)
又找了一个IFS,WEN大 修改过的, 可以正常退出了,但GHOST2003可以正常启动,GHOST11就不行了,而且试了几个版本的IFS都不能COPY CON SS了,说找不到CON文件....
如果需要太多步骤去判断真实的X:Y路径,而且还难保证是否正确(判断错误的损失可是难以预计的)的话,我倒想放弃自动化的批处理,直接浏览搜索出来的GHO文件,然后退出NTFS和中文支持等,启动GUI,根据搜索出来的GHO文件路径手动寻找各分区..
omnifs.exe BTIni.exe can both be accessed in the format X:Y\PATH\FILE, but they are too large, I don't want them. I don't know how to recognize the NTFS drive letter command. That FUNC command can list all existing drive letters (including the drive letters after loading NTFS). I found another IFS, modified by Brother Wen, which can exit normally, but GHOST2003 can start normally, but GHOST11 can't. And I tried several versions of IFS and can't COPY CON SS, saying can't find the CON file.... If too many steps are needed to judge the real X:Y path and it's difficult to ensure whether it's correct (the loss of wrong judgment is hard to predict), then I want to give up the automated batch processing, directly browse and search for the found GHO files, then exit NTFS and Chinese support, etc., start GUI, and manually find each partition according to the found GHO file path.
|
|
2007-2-8 23:20 |
|
|
terse
银牌会员
    
积分 2404
发帖 946
注册 2005-9-8
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
下了个dpit 但显示分区格式不理想 第二硬盘显示出1:X
又下来lmod.com 想结合GHOST -DD find 用一下 但具体怎样用都不知道 菜!知道的传授一下怎么样 ?
Dirt搜索可控制搜索层 倒是不错 就是不能 X:Y搜索 5555555
我现在只能手动GHOST 反正GHOST支持NTFS格式
FAT到是可以自动GHOST
现在把盘符变成X:Y 搜索又是一个问题 唉~~
Last edited by terse on 2007-2-11 at 10:44 AM ]
Downloaded a dpit, but it shows that the partition format is not ideal. The second hard drive shows 1:X. Then downloaded lmod.com and wanted to use it with GHOST -DD find, but I don't know how to use it specifically. So naive! Those who know, please share how to use it?
Dirt search can control the search layer, which is quite good, but it can't search X:Y. Oh no!
Now I can only manually GHOST. Anyway, GHOST supports NTFS format. FAT can be automatically GHOST. Now changing the drive letter to X:Y, and searching is another problem. Oh well~~
Last edited by terse on 2007-2-11 at 10:44 AM ]
|
|
2007-2-11 10:33 |
|
|
llztt1
中级用户
  
积分 214
发帖 94
注册 2007-1-11
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
TERSE,你以前发过一个帖子,网名XUSEN回复过你了,他该是深度启动盘作者,他利用IFS+PSI.EXE+批处理已经实现了全盘搜索,经过测试,没发现什么解析硬盘分区结构错误,唯一缺陷是他用的DIR搜索,我已经修改他的批处理应用DIRT通过。
我也是搜索到你发的那个帖子才发现XUSEN的作品的,奇怪,你怎么没注意到啊,人家还贴了图给你,呵呵
你网上一搜 深度 启动盘 XUSEN,很容易就下到了,XUSEN的批处理很不错了,简单修改一下他的搜索批处理就很好了
也希望XUSEN可否改进一下,方便大家,呵呵
TERSE, you previously posted a thread, and a user named XUSEN replied to you. He is the author of the Deep Startup Disk. He has implemented full-disk search using IFS + PSI.EXE + batch processing. After testing, no errors in analyzing the hard disk partition structure were found. The only shortcoming is that he used DIR for searching, and I have modified his batch processing to use DIRT instead.
I only discovered XUSEN's work after searching for your posted thread. It's strange, why didn't you notice it? He even posted a picture for you, heh heh
If you search online for "Deep Startup Disk XUSEN", you can easily download it. XUSEN's batch processing is quite good, and with a simple modification to his search batch processing, it works very well.
Also, I hope XUSEN can improve it to make it more convenient for everyone, heh heh
|
|
2007-2-11 10:58 |
|
|
terse
银牌会员
    
积分 2404
发帖 946
注册 2005-9-8
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
Originally posted by llztt1 at 2007-2-11 10:58:
TERSE,你以前发过一个帖子,网名XUSEN回复过你了,他该是深度启动盘作者,他利用IFS+PSI.EXE+批处理已经实现了全盘搜索,经过测试,没发现什么解析硬 ...
试用了XUSEN U盘启动的 把我的原硬盘识别为第一硬盘 而我的原硬盘在DOS下是第二硬盘 我现在用GDISK 可以转为X:Y 搜索不用它 在GDISK信息里可以转换为X:Y
现在的问题是加载IFS后 怎么GDISK还是不能看NT的盘符 知道PSI的用法吗?
Originally posted by llztt1 at 2007-2-11 10:58:
TERSE, you previously posted a thread, and the netizen XUSEN replied to you. He should be the author of the Deep Boot Disk. He has realized full-disk search using IFS+PSI.EXE+batch processing. After testing, no parsing hard...
Tried XUSEN's USB disk boot, and my original hard disk is recognized as the first hard disk, while my original hard disk is the second hard disk under DOS. Now I use GDISK, which can be converted to X:Y. I don't use it for searching. In the GDISK information, it can be converted to X:Y.
Now the problem is that after loading IFS, why can't GDISK still see the NT drive letter? Do you know the usage of PSI?
|
|
2007-3-28 14:34 |
|
|
llztt1
中级用户
  
积分 214
发帖 94
注册 2007-1-11
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
GDISK个头也忒大了吧...1M多呢
要想转换DOS下盘符和硬盘分区号需用几个软件的,XUSEN的新版本使用批处理+IFS+AEFDISK完成了这一转换,不过得到的信息不如原来版本里批处理+IFS+PSI得到的详细,譬如每个分区的剩余容量,而且PSI还能完整显示未划分的磁盘空间,不过PSI也有自己缺点,就是个头也很大,而且加载时间较长,这两种方法都有利弊,具体怎么使用看下XUSEN的批处理就OK了
关于搜索问题,目前一般还是直接搜索DOS自认盘符或IFS加载后的盘符,然后盘符转为X:Y形式;直接搜索X:Y的命令还真不好找,GRUB倒是有,可以以路径形式搜索多种分区格式的分区,只是。。。。。
实际使用中发现AEFDISK有个问题,就是如果我光驱启动---GRUB---软盘景象---AEFDISK,发现AEFDISK那个得到当前硬盘数的参数不能正常工作,会报错,而且强制显示在屏幕上,不知其他朋友有这样情况没
GDISK is also too big... more than 1M
To convert the drive letters and hard disk partition numbers under DOS, several software are needed. The new version of XUSEN uses batch processing + IFS + AEFDISK to complete this conversion. However, the information obtained is not as detailed as the original version using batch processing + IFS + PSI. For example, the remaining capacity of each partition, and PSI can also fully display the unallocated disk space. But PSI also has its own disadvantages, that is, it is also very large in size and has a long loading time. Both methods have advantages and disadvantages. For specific usage, just look at XUSEN's batch processing.
Regarding the search problem, currently, it is generally to directly search for the DOS self-recognized drive letter or the drive letter after IFS is loaded, and then convert the drive letter to the form of X:Y; the command to directly search for X:Y is really hard to find. GRUB can do it, which can search partitions of various partition formats in the form of paths, but......
In actual use, it is found that AEFDISK has a problem. That is, if I boot from the CD-ROM --- GRUB --- floppy disk scene --- AEFDISK, I find that the parameter for getting the current number of hard disks of AEFDISK cannot work normally, an error will be reported, and it is forced to be displayed on the screen. I don't know if other friends have such a situation.
|
|
2007-3-29 02:23 |
|
|
terse
银牌会员
    
积分 2404
发帖 946
注册 2005-9-8
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
现在在我看来XUSEN的版本至少在我的机器上用U盘启动不能用(U盘被认为第一硬盘的情况)其他的情况没试!
从我用GDISK的情况来看 (GDISK个头也忒大了吧...321KB )也确实慢了点 但不出错了,在GHOST时可以先确认机器上有几个硬盘然后选择自己所需操作的硬盘,这样应该不出错了,备份和恢复前都可以先选择一下自己要操作的盘,个人认为也是不错的,至少在U盘是第一硬盘的情况下可以不出错,现在要解决的是怎么让GDISK显示加载IFS后 NT的盘符!大虾帮一下哦
XUSEN的版本试了几次都是不能把我的原硬盘认为第二,所以导致不能GHOST,硬盘检测和搜索到是不错,但为什么把我的第二硬盘认为第一呢?还是继续看一下吧
Now it seems to me that the XUSEN version at least can't be used for USB flash drive booting on my machine (when the USB flash drive is regarded as the first hard disk). Other situations haven't been tried!
From the situation when I used GDISK (GDISK is really too big... 321KB), it is indeed a bit slow, but there are no errors. When using GHOST, you can first confirm how many hard disks are on the machine and then select the hard disk you need to operate, so this should not make mistakes. You can select the disk you want to operate before backing up and restoring. Personally, I think it's also good. At least it can avoid mistakes when the USB flash drive is the first hard disk. Now the problem to solve is how to make GDISK display and load the NT drive letter after IFS! Please help!
The XUSEN version has been tried several times and can't recognize my original hard disk as the second, so it leads to being unable to GHOST. The hard disk detection and search are good, but why does it recognize my second hard disk as the first? Still, let's continue to see.
|
|
2007-3-29 03:50 |
|
|
llztt1
中级用户
  
积分 214
发帖 94
注册 2007-1-11
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
U盘我一直没用过,只用着光盘或硬盘上用GRUB启动大软盘镜象,所以还确实不了解U盘启动问题,貌似同一个U盘在BIOS设置的不同启动模式下启动后会有截然不同结果,一个模式会是C盘一个模式是A盘??
321K的GDISK,你用的哪个版本啊??我这里是11的,貌似也不能显示加载IFS后的盘符
你也可以检测一下XUSEN的U盘版分析硬盘是否有规律,如果只是小BUG修正之就好了。。
I haven't used a USB flash drive yet, I've only used CDs or hard drives to boot large floppy disk images with GRUB, so I really don't understand USB flash drive booting issues. It seems that the same USB flash drive will have completely different results when booted under different boot modes in the BIOS settings. One mode will be the C drive and the other will be the A drive?
The 321K GDISK, which version are you using?? I have version 11 here, and it seems it can't display the drive letters after loading IFS.
You can also test XUSEN's USB flash drive version to analyze if there are regularities in the hard drive, and if it's just a minor bug, just fix it.
|
|
2007-3-29 09:09 |
|
|
0451lym
高级用户
   
积分 760
发帖 357
注册 2005-10-10
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
呵呵,很好解决!
检测C:有没有特定文件,比如xmsdsk.exe,如果有那么就把1.1替换为1.2
Hehe, it's very easy to solve!
Check if there is a specific file in C:, such as xmsdsk.exe. If it exists, then replace 1.1 with 1.2
|
|
2007-3-29 10:19 |
|
|
terse
银牌会员
    
积分 2404
发帖 946
注册 2005-9-8
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
Originally posted by llztt1 at 2007-3-29 09:09:
U盘我一直没用过,只用着光盘或硬盘上用GRUB启动大软盘镜象,所以还确实不了解U盘启动问题,貌似同一个U盘在BIOS设置的不同启动模式下启动后会有 ...
不是BIOS设置问题 是主板问题 现在都没好的解决办法 XUSEN的检测硬盘把我的第二硬盘检测为第一硬盘 还有把我的第二盘第一区检测为FAT区后面去了,那样对转换有困难的吧,除非是主分区可以有特征判断,其余也就没细看了,
321KB的gdisk是网上下的 也不知什么版
Originally posted by 0451lym at 2007-3-29 10:19:
呵呵,很好解决!
检测C:有没有特定文件,比如xmsdsk.exe,如果有那么就把1.1替换为1.2
我现在的U盘就是C:换成2:1?问题不是X:Y 而是在加载IFS后用什么可以看到盘符才是问题关键,
用lmod和STRINGS可以解决盘符转换,至于GDISK分析出的分区信息比实际的大了一位也可以用STRINGS来解决这个问题,我现四处找可以显示加载IFS后可以正确显示盘符的东东,你们有吗?
Originally posted by llztt1 at 2007-3-29 09:09:
I have never used a USB flash drive. I only use CD-ROM or GRUB on the hard disk to boot large floppy disk images, so I really don't understand USB flash drive booting issues. It seems that the same USB flash drive will have... after booting under different boot modes set in the BIOS...
It's not a BIOS setting issue, but a motherboard issue. There is currently no good solution. XUSEN's detection of the hard disk treats my second hard disk as the first hard disk. Also, it treats the first partition of my second disk as a FAT partition and moves it to the back. That would be difficult for conversion, unless the primary partition can have characteristic judgment, and I didn't look at the others in detail.
The 321KB gdisk was downloaded from the internet. I don't know what version it is.
Originally posted by 0451lym at 2007-3-29 10:19:
Hehe, it's very easy to solve!
Check if there is a specific file in C:, such as xmsdsk.exe. If there is, then replace 1.1 with 1.2
My current USB flash drive is replacing C: with 2:1? The problem is not X:Y, but the key issue is what can be used to see the drive letter after loading IFS.
Using lmod and STRINGS can solve the drive letter conversion. As for the partition information analyzed by GDISK being one bit larger than the actual one, it can also be solved with STRINGS. I'm currently looking around for something that can correctly display the drive letter after loading IFS. Do you have any?
|
|
2007-3-29 12:47 |
|
|
llztt
中级用户
  
积分 204
发帖 44
注册 2003-8-8
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
关于GHOST自动批处理,两个月前我们3个就在论坛讨论来着的,呵呵
关于盘符转换,你现在的想法和当时我的追求是一样的,现在看来,PSI是可行的,不过他的缺点我上面也说了,还有一个DSPT,其作者承诺开发试图加载IFS或NTFSDOS后的盘符的版本,不过好久没见作者更新了,只有等待吧。。
关于AEFDISK和DSPT,怀疑都是读取BIOS参数来看硬盘的,总觉得不可靠
Regarding the GHOST automatic batch processing, the three of us discussed it on the forum two months ago, heh heh.
Regarding the drive letter conversion, your current idea is the same as my pursuit back then. Now it seems that PSI is feasible, but the drawbacks of it I mentioned above. There is also a DSPT, whose author promised to develop a version that tries to load the drive letters after IFS or NTFSDOS, but I haven't seen the author update for a long time, so we just have to wait.
Regarding AEFDISK and DSPT, I suspect they both read BIOS parameters to view the hard drive, and I always feel it's not reliable.
|
|
2007-3-29 21:41 |
|
|