![]() |
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-02 15:36 |
48,038 topics / 350,123 posts / today 1 new / 48,251 members |
| DOS批处理 & 脚本技术(批处理室) » The most basic questions are also what novices care about the most |
| Printable Version 2,165 / 17 |
| Floor1 dos9527 | Posted 2006-11-22 11:06 |
| 中级用户 Posts 56 Credits 252 | |
|
I'm currently very green in this area, and I hope to get guidance from experts.
[ Last edited by dos9527 on 2006-11-23 at 07:47 AM ] |
|
| Floor2 lxmxn | Posted 2006-11-22 11:17 |
| 版主 Posts 4,938 Credits 11,386 | |
|
Just post your questions directly, and everyone can study them. |
|
| Floor3 dos9527 | Posted 2006-11-22 11:26 |
| 中级用户 Posts 56 Credits 252 | |
|
I want to make a BAT to control the opening of TCP/UDP ports. The command NETSH FIREWALL SET XXXXXXX is impossible for those of us who don't use Microsoft FIREWALL products. Are there any other commands!
[ Last edited by dos9527 on 2006-11-23 at 11:09 AM ] |
|
| Floor4 lxmxn | Posted 2006-11-22 11:38 |
| 版主 Posts 4,938 Credits 11,386 | |
|
I think among the commands built into the system, only this netsh can configure ports alone. You can take a good look at the help document of this command, learn about the usage of the command, which will be very useful for you. If you find this command relatively difficult to master, you can consider third-party tools, such as ipseccmd.exe. However, it is also a command-line tool, and using it may not necessarily be simpler than the netsh command. As for not being able to find this find command, please first state what version of your system is. Then consider whether the environment variables are set properly. |
|
| Floor5 electronixtar | Posted 2006-11-22 12:21 |
| 铂金会员 Posts 2,672 Credits 7,493 | |
This is from Microsoft official, but the system does not come with it, it's in ResKit |
|
| Floor6 dos9527 | Posted 2006-11-22 12:51 |
| 中级用户 Posts 56 Credits 252 | |
|
In the command "NETSH FIREWALL SET xxxxx", there is a setting to control whether multicast or broadcast response traffic can pass through the FIREWALL. I want to ask if this can control the packet sending of ARP viruses? Thank you everyone for your support! Thanks again! :D
[ Last edited by dos9527 on 2006-11-23 at 11:11 AM ] |
|
| Floor7 dos9527 | Posted 2006-11-23 05:52 |
| 中级用户 Posts 56 Credits 252 | |
| Floor8 electronixtar | Posted 2006-11-23 06:47 |
| 铂金会员 Posts 2,672 Credits 7,493 | |
This is the firewall function built into XP. It is recommended to configure with IPSec or install ISA |
|
| Floor9 tao0610 | Posted 2006-11-23 07:05 |
| 高级用户 Posts 218 Credits 579 | |
|
The most direct way to control ARP viruses is to find the infected computers in the LAN and disinfect them! Controlling multicast or broadcast response traffic will cause many problems in the LAN, after all, ARP, DHCP, etc. all need the support of broadcasting.
|
|
| Floor10 dos9527 | Posted 2006-11-23 07:34 |
| 中级用户 Posts 56 Credits 252 | |
| Floor11 dos9527 | Posted 2006-11-23 07:39 |
| 中级用户 Posts 56 Credits 252 | |
|
There is a new problem. Why can't the FIND command run in folders other than %systemboot%\system32? How to set it up? I want to ask everyone if there is a way to make all commands callable in all folders. My system is XP SP2.
|
|
| Floor12 electronixtar | Posted 2006-11-23 08:15 |
| 铂金会员 Posts 2,672 Credits 7,493 | |
|
Your path is incorrect. Go to another machine to check set path, then copy one back
|
|
| Floor13 redtek | Posted 2006-11-23 08:52 |
| 金牌会员 Posts 1,147 Credits 2,902 | |
|
Is there a missing path information of C:\WINDOWS\system32; in the path?
Because your find.exe defaults to the %systemboot%\system32 directory : ) If the path information does not contain the above path, it cannot be found, very interesting~ : ) How about you copy the find.exe file directly to the %systemboot% directory? Then nothing needs to be changed, haha... but it can still be used : ) |
|
| Floor14 dos9527 | Posted 2006-11-23 10:45 |
| 中级用户 Posts 56 Credits 252 | |
|
But next time if other commands have such problems, won't we have to copy files all the time? Is there a permanent solution?
|
|
| Floor15 dos9527 | Posted 2006-11-23 10:56 |
| 中级用户 Posts 56 Credits 252 | |
|
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\sd\Application Data CLIENTNAME=Console CommonProgramFiles=C:\Program Files\Common Files COMPUTERNAME=68 ComSpec=C:\WINDOWS\system32\cmd.exe HOMEDRIVE=C: HOMEPATH=\Documents and Settings\sd LOGONSERVER=\\68 NUMBER_OF_PROCESSORS=1 OS=Windows_NT Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER=x86 Family 6 Model 10 Stepping 0, AuthenticAMD PROCESSOR_LEVEL=6 PROCESSOR_REVISION=0a00 ProgramFiles=C:\Program Files PROMPT=$P$G SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\WINDOWS TEMP=C:\DOCUME~1\sd\LOCALS~1\Temp TMP=C:\DOCUME~1\sd\LOCALS~1\Temp USERDOMAIN=68 USERNAME=sd USERPROFILE=C:\Documents and Settings\sd windir=C:\WINDOWS |
|
| 1 2 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |