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-27 05:14
中国DOS联盟论坛 » 其它操作系统综合讨论区 » How to create an argh. directory under WINDOWS XP similar to the one created by 矮人DOS View 969 Replies 1
Original Poster Posted 2007-04-21 00:05 ·  中国 云南 昆明 联通
新手上路
Credits 18
Posts 6
Joined 2007-01-18 07:23
19-year member
UID 76869
Gender Male
Status Offline
I want to create a directory similar to the argh. one created by 矮人DOS, for example: TEMP. Right now the environment is that I have already entered WINDOWS XP. At present what I can do is write a batch file:

@echo off
mkdir d:\temp..\

This can create a directory that appears as TEMP. under WINDOWS. But how do I add the system and hidden attributes to this directory? (How should this be written in the batch file?)

If I use the ATTRIB command:
attrib /s /d d:\temp..\ +s +h

it says it cannot find the TEMP. path.

If I change it to:
attrib /d /s d:\*.* +s +h

it will add attributes to all files in all directories on drive D, but that temp.. directory still shows no reaction, and it says the operation cannot be performed.

How should this batch file be written?
Floor 2 Posted 2007-04-21 01:50 ·  中国 福建 漳州 电信
初级用户
Credits 38
Posts 15
Joined 2007-02-10 07:42
19-year member
UID 79143
Gender Male
Status Offline
I'm dizzy, man, did you copy my post? I made this post myself when I had just come here. It can be done with a program called attr.
Forum Jump: