S
Svend Cr
I am a bit of a DOS newbie. I want to execute the following DOS
command in XP by clicking on a BAT file with this command in it:
attrib +h .\descript.ion /s
It is to change the attribute byte of any file called
"descript.ion" to be hidden.
I guess need to precede that command with something to make it
start executing in the root folder:
cd \
What else do I need to put into the BAT file so that the commands
execute and I can see the DOS window to know when it is over?
Do I need to use "CMD" at the beginning? What about "CMD /K"?
I have tried the following but it seems to get stuck on the first
line and not go any further:
cmd /k
attrib +h .\descript.ion /s
echo Finished processing DESCRIPT.ION files
command in XP by clicking on a BAT file with this command in it:
attrib +h .\descript.ion /s
It is to change the attribute byte of any file called
"descript.ion" to be hidden.
I guess need to precede that command with something to make it
start executing in the root folder:
cd \
What else do I need to put into the BAT file so that the commands
execute and I can see the DOS window to know when it is over?
Do I need to use "CMD" at the beginning? What about "CMD /K"?
I have tried the following but it seems to get stuck on the first
line and not go any further:
cmd /k
attrib +h .\descript.ion /s
echo Finished processing DESCRIPT.ION files