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?
@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?
