欢迎来到代码驿站!

DOS/BAT

当前位置:首页 > 脚本语言 > DOS/BAT

cnct.batch 批处理不错的东西%cd%

时间:2022-08-24 09:40:28|栏目:DOS/BAT|点击:
来自:http://hamaburg.googlepages.com/hamafirstprograme
系统学习笔记
at 15:00 /interactive cmd
系统权限的Shell::) 
―――――――――― 
不要忘记
fdisk /mbr
不知在SATA硬盘是否正常工作
ntsd -c q -p PID
复制代码 代码如下:

rem cnct.batch 
cd>dir.txt

set /p dynedpath=<dir.txt

echo [Records]>RECORDS.INI
echo records_mode=HD>>RECORDS.INI
echo audio1=N[ (T 9F 9B 1_ ? ?V ^<W +V (W 'V $W 3V 0M 3L ,M /L (M +L $M 'L @M CL ^<M ?L 8M ;V 8W 7V 4W CV @W ?V ^<W +V (W 'V $W 3 3U!nx>>RECORDS.INI
echo records_path_win=%dynedpath%\data>>RECORDS.INI
echo data_path_win=%dynedpath%\launch>>RECORDS.INI
echo records_ini_path_win=%dynedpath%\>>RECORDS.INI
echo floppy_path=A:>>RECORDS.INI                        
echo email_button=Y>>RECORDS.INI                        
echo downloadaddress=http://files.dyned.com.cn/courses>>RECORDS.INI
echo useproxy=y>>RECORDS.INI
echo proxyipaddress=auto>>RECORDS.INI
echo proxyipport=0 >>RECORDS.INI
echo recordsipaddress=china1.records.dyned.com>>RECORDS.INI
echo recordsipport=80>>RECORDS.INI
echo server_num=002>>RECORDS.INI
echo server_list_ver=006>>RECORDS.INI
echo server_name=Server-2 (China)>>RECORDS.INI
echo cgipath=DynEdRS.DRS>>RECORDS.INI
echo wo_responsepage=none>>RECORDS.INI
echo streamingaddress=http://files.dyned.com.cn/stream>>RECORDS.INI
echo serverchecksum=53f94948201eccf310ddb6b35548ac8d>>RECORDS.INI
echo 010MUL41=007>>RECORDS.INI
echo launcher_picture=DynEd.jpg>>RECORDS.INI
echo disable_QT_accleration=n>>RECORDS.INI
echo rm2_ver=210.005.000.002>>RECORDS.INI
echo launcher2_ver=210.004.009.002>>RECORDS.INI
echo engine2_ver=210.004.009.002>>RECORDS.INI
echo uptodate2_ver=210.004.008.002>>RECORDS.INI
echo docIni_ver=020>>RECORDS.INI
echo internet_lan=y>>RECORDS.INI
echo 050MUL30=009>>RECORDS.INI
echo dial_up_connection=n>>RECORDS.INI
echo 062MUL40=007>>RECORDS.INI
echo 060MUL41=007>>RECORDS.INI
echo 059MUL41=009>>RECORDS.INI
echo 034MUL30=007>>RECORDS.INI
echo 038MUL41=007>>RECORDS.INI
echo 061MUL40=007>>RECORDS.INI
echo 027MUL41=007>>RECORDS.INI
echo 039MUL41=007>>RECORDS.INI
del dir.txt

赫赫 后来学会了 %CD%变量,
省去了自己  设变量再传递值 
复制代码 代码如下:

rem setpath.BATCH v-0.5
rem cd>dir.txt
rem set /p dynedpath=<dir.txt

echo [Records]>RECORDS.INI
echo records_mode=HD>>RECORDS.INI
echo audio1=N[ (T 9F 9B 1_ ? ?V ^<W +V (W 'V $W 3V 0M 3L ,M /L (M +L $M 'L @M CL ^<M ?L 8M ;V 8W 7V 4W CV @W ?V ^<W +V (W 'V $W 3 3U!nx>>RECORDS.INI
echo records_path_win=%cd%\data>>RECORDS.INI
echo data_path_win=%cd%\launch>>RECORDS.INI
echo records_ini_path_win=%cd%\>>RECORDS.INI
echo floppy_path=A:>>RECORDS.INI                        
echo email_button=Y>>RECORDS.INI                        
echo downloadaddress=http://files.dyned.com.cn/courses>>RECORDS.INI
echo useproxy=y>>RECORDS.INI
echo proxyipaddress=auto>>RECORDS.INI
echo proxyipport=0 >>RECORDS.INI
echo recordsipaddress=china1.records.dyned.com>>RECORDS.INI
echo recordsipport=80>>RECORDS.INI
echo server_num=002>>RECORDS.INI
echo server_list_ver=006>>RECORDS.INI
echo server_name=Server-2 (China)>>RECORDS.INI
echo cgipath=DynEdRS.DRS>>RECORDS.INI
echo wo_responsepage=none>>RECORDS.INI
echo streamingaddress=http://files.dyned.com.cn/stream>>RECORDS.INI
echo serverchecksum=53f94948201eccf310ddb6b35548ac8d>>RECORDS.INI
echo 010MUL41=007>>RECORDS.INI
echo launcher_picture=DynEd.jpg>>RECORDS.INI
echo disable_QT_accleration=n>>RECORDS.INI
echo rm2_ver=210.005.000.002>>RECORDS.INI
echo launcher2_ver=210.004.009.002>>RECORDS.INI
echo engine2_ver=210.004.009.002>>RECORDS.INI
echo uptodate2_ver=210.004.008.002>>RECORDS.INI
echo docIni_ver=020>>RECORDS.INI
echo internet_lan=y>>RECORDS.INI
echo 050MUL30=009>>RECORDS.INI
echo dial_up_connection=n>>RECORDS.INI
echo 062MUL40=007>>RECORDS.INI
echo 060MUL41=007>>RECORDS.INI
echo 059MUL41=009>>RECORDS.INI
echo 034MUL30=007>>RECORDS.INI
echo 038MUL41=007>>RECORDS.INI
echo 061MUL40=007>>RECORDS.INI
echo 027MUL41=007>>RECORDS.INI
echo 039MUL41=007>>RECORDS.INI

上一篇:Windows下使用命令实现文件换行符替换

栏    目:DOS/BAT

下一篇:没有了

本文标题:cnct.batch 批处理不错的东西%cd%

本文地址:http://www.codeinn.net/misctech/211716.html

推荐教程

广告投放 | 联系我们 | 版权申明

重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。

如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

联系QQ:914707363 | 邮箱:codeinn#126.com(#换成@)

Copyright © 2020 代码驿站 版权所有