![]() |
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-27 02:22 |
47,812 topics / 349,912 posts / today 2 new / 48,264 members |
| 其它操作系统综合讨论区 » A question about reg add!!! |
| Printable Version 803 / 0 |
| Floor1 zqdarkday | Posted 2007-04-22 04:41 |
| 中级用户 Posts 79 Credits 210 From 湖北 | |
|
I used
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v a /t REG_SZ /d f:\TFTplayer.exe /f But I wanted to use this file to open it, so I added a little something and it became reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v a /t REG_SZ /d f:\TFTplayer.exe "%1" /f and then it wouldn't work. CMD gives the error: too many command-line arguments I don't think it looks wrong, so could one of the experts tell me where exactly the mistake is??? Thanks, everyone! |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |