笔记本电脑桌,cmd javascript 我的笔记

[[[我的学习笔记:

set aa=6
set bb=22
set /a cc=%aa%+%bb%
echo %bb%

for /l %i in (5,2,16) do echo %i

dir /w 比 dir /s 更好用。

rd /s比 del /s好用。
rd 连文件带目录一起删除。

cd /d E:\allso\langu
/d使得能直接改变驱动盘
⑥tree /f 很常用。
⑦if %aaa% gtr 6 (echo good ) else (echo lala)

myfile.txt
1 aline1 aline1_2,aline1_3;
2 bline2 bline2_2,bline2_3;
3 cline3 cline3_2,cline3_3;
4 dline4 dline4_2,dline4_3;
5 eline5 eline5_2,eline5_3;
那么在cmd中:
FOR /F "eol=; tokens=2,3* delims=, " %i in (myfile.txt) do @echo %i next %j third %k
得到
aline1 next aline1_2 third aline1_3;
bline2 next bline2_2 third bline2_3;
cline3 next cline3_2 third cline3_3;
dline4 next dline4_2 third dline4_3;
eline5 next eline5_2 third eline5_3;
⑨⑩
]]]
[[[
html.html
<link rel='stylesheet' type='text/css' href='css.css' />
<table style="text-align:center; background:#ffee99; width:80%"><tr><td>name</td><td>alice</td><tr><td>school</td><td>college</tr></table>
css.css
td{border:2px solid green;
background:url(p.jpg) no-repeat bottom right;}
js.js
document.writeln("<link rel=\'stylesheet\' type=\'text\/css\' href=\'css.css\' \/>");
document.writeln("<table style=\"text-align:center; background:#ffee99; width:80%\"><tr><td>name<\/td><td>alice<\/td><tr><td>school<\/td><td>college<\/tr><\/table>");
js.html
<script type='text/javascript' src='js.js'></script>
]]]
[[[
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" ><head><title></title></head><body></body></html>
]]]

for /L %a in (1,1,17) do ren "a (%a).doc" "a%a.doc"
for /L %a in (1,1,9) do ren "a%a.doc" "a0%a.doc"
】【
附1:
将C:\aa\b\文件夹里面所有文件夹中的*.jpg文件复制到一个指定的文件夹:
for /f %i in ('dir "C:\aa\b\*.jpg" /s /b') do copy "%i" "c:\aa\b\d"
附2:
用cmd强制删除文件夹及里面的所有东西,不需要确认的方法(就是不要按Y/N) 在cmd里要看的见删除过程的。
del /f /s /q /a c:\123\*
附3:
用cmd查找文件。
dir /s /b *.txt
Tags:  盗墓笔记结局 盗墓笔记6 笔记本蓝牙 盗墓笔记有声小说 笔记本电脑桌

延伸阅读

最新评论

发表评论