欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

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

程序员文章站 2022-06-23 18:44:16
来自:http://hamaburg.googlepages.com/hamafirstprograme系统学习笔记at 15:00 /interact...
来自: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