当前位置:主页 > 脚本语言 > 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

您可能感兴趣的文章:

相关文章