• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
  • 調用CSC編譯器的一個批處理文件

    發表于:2007-05-25來源:作者:點擊數: 標簽:CSC批處理編譯器文件一個
    自己寫的第二個實用批處理文件^^ @echo off set input=%2 set outpu=%1 set wdir=%cd% set output=%outpu%.exe cls if == (set output=out.exe) if =={} (set input=%outpu%.cs) if == goto inse if not exist %input% goto ine if exist %output% del %outp

    自己寫的第二個實用批處理文件^^

    @echo off
    set input=%2
    set outpu=%1
    set wdir=%cd%
    set output=%outpu%.exe

    cls

    if ==       (set output=out.exe)
    if =={}           (set input=%outpu%.cs)
    if ==   goto inse                                   
    if not exist %input%  goto ine
    if exist %output% del %output%

    pushd %windir%\Microsoft.NET\Framework\v1.1.4322\                 
    csc/out:%wdir%\%output% %wdir%\%input%>%wdir%\err.txt
    popd                                                             
    type err.txt
    goto end

    :inse
    echo +-----------------------+-----------------------------+
    echo 請輸入的要求輸出的文件名,注意,不要帶exe后綴,退出!
    echo +-----------------------+-----------------------------+
    goto end

    :ine
    echo +-----------------------+-----------------------------+
    echo +在%wdir%中不存在%input%,無法繼續,退出!+ 
    echo +-----------------------+-----------------------------+

    goto end

    :end

    原文轉自:http://www.kjueaiud.com

    評論列表(網友評論僅供網友表達個人看法,并不表明本站同意其觀點或證實其描述)
    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>