China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-04 06:43
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Help from an expert.... View 853 Replies 5
Original Poster Posted 2007-04-22 14:09 ·  中国 广东 肇庆 电信
初级用户
★★
Credits 165
Posts 74
Joined 2007-01-08 08:17
19-year member
UID 75816
Gender Male
Status Offline
I used an XP startup floppy to make a bootable CD, but after booting from the CD I can't use the Attrib command. I want to modify the attributes of a certain directory on a certain drive in the environment booted from the CD. I'd appreciate some guidance from the experts here ;)

[ Last edited by jinlizhpc on 2007-4-22 at 01:11 AM ]
Floor 2 Posted 2007-04-22 14:57 ·  中国 湖北 武汉 电信
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
20-year member
UID 59080
Status Offline
Go into the command prompt (cmd.exe), attrib +h E:\a.bat adds the hidden attribute to E:\a.bat. If that still doesn't work, then I don't know either.
Floor 3 Posted 2007-04-22 15:27 ·  中国 河北 保定 联通
银牌会员
★★★
Credits 1,513
Posts 554
Joined 2005-12-30 00:50
20-year member
UID 48180
Gender Male
Status Offline
Attrib is an external command. If yours can't be used because Attrib is missing for some reason, just copy one over from somewhere else.
Floor 4 Posted 2007-04-22 22:17 ·  中国 河北 廊坊 三河市 移动
金牌会员
★★★★
Credits 2,725
Posts 1,160
Joined 2006-09-23 12:00
19-year member
UID 63486
From 河北廊坊
Status Offline
Since the OP is using a bootable CD, then the CD definitely doesn't have the Attrib command in it. Under DOS, try entering the system32 folder; if you can get into it, then it can be used.
三人行,必有吾师焉。 学然后知不足,教然后知困,然后能自强也。
Floor 5 Posted 2007-04-23 03:11 ·  中国 河南 南阳 联通
初级用户
Credits 118
Posts 42
Joined 2006-09-14 21:58
19-year member
UID 62590
Status Offline
Used an XP startup floppy to make a bootable CD That's where the problem is??
Floor 6 Posted 2007-04-23 04:13 ·  中国 广东 广州 海珠区 电信
银牌会员
★★★
Credits 1,206
Posts 517
Joined 2007-03-25 01:18
19-year member
UID 82819
Gender Male
Status Offline
Copy the external command into it.
知,不觉多。不知,乃求知
Forum Jump: