![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-18 03:48 |
47,814 topics / 349,907 posts / today 4 new / 48,259 members |
| DOS疑难解答 & 问题讨论 (解答室) » Why does it say /s/d is an invalid switch??? |
| Printable Version 1,088 / 4 |
| Floor1 dingyuewen | Posted 2006-05-07 20:05 |
| 新手上路 Posts 4 Credits 16 | |
|
I'm a newbie, and I've run into the following confusion!!!
I was under Windows cmd, trying to remove the read-only attribute from a folder. The command I entered was: attrib -r *.* /s/d Why does it say /s/d is an invalid switch??? [ Last edited by dingyuewen on 2006-5-7 at 20:30 ] |
|
| Floor2 Michael | Posted 2006-05-07 21:33 |
| 钻石会员 Posts 3,041 Credits 10,056 | |
|
Add a space between /s and /d.
|
|
| Floor3 dingyuewen | Posted 2006-05-07 22:03 |
| 新手上路 Posts 4 Credits 16 | |
|
Oh, thanks. I didn't know there had to be a space in between!!!
Many thanks for the advice!!! |
|
| Floor4 xuantian | Posted 2006-05-08 14:29 |
| 高级用户 Posts 282 Credits 587 | |
|
In XP, there must be spaces between the command and the switches, and between one switch and another.
|
|
| Floor5 GOTOmsdos | Posted 2006-05-08 15:20 |
| 铂金会员 Posts 1,827 Credits 5,154 | |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |