close
Blogtrottr
批踢踢實業坊 EZsoft 板
 
Re: [請問] 寫批次檔 但是內含簡體中文有解嗎?
Nov 21st 2014, 02:51, by nashsai

作者nashsai (納許賽)

看板EZsoft

標題Re: [請問] 寫批次檔 但是內含簡體中文有解嗎?

時間Fri Nov 21 02:51:11 2014

※ 引述《snowwolf725 (空之境界)》之銘言: : ※ 引述《homobibi (homobibi)》之銘言: : : 我想寫一個簡單的net use批次檔 : : 但是有些伺服器資料夾名稱含有簡體字 : : 例如 : : @ echo off : : net use X: \\192.168.2.xxx\二厂公共区域 : : 那個區 如果編碼是ANSI就會變亂碼 : : 改編碼 批次檔又會出現錯誤 : : 請問這個有解嗎? : 1. 在執行命令前用 chcp 65001 切換編碼 : 2. 將 bat 檔存成 UTF-8 without BOM 格式 : 3. 如果要在命令提示視窗中顯示結果, : 需要在命令提示視窗中 : 將預設的字型由Raster Fonts改成Lucida Console : http://blog.darkthread.net/post-2011-08-11-command-prompt-codepage.aspx : ================================ : @ echo off : chcp 65001 : net use X: \\192.168.2.xxx\二厂公共区域 : ================================ 請問一下 上面提到的將字型改成Lucida console 這一段可以寫在批次檔內嗎 可以的話指令是什麼 感謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 1.34.165.178 ※ 文章網址: http://www.ptt.cc/bbs/EZsoft/M.1416509475.A.0F0.html

This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 kkoxhcfqr4v4f 的頭像
    kkoxhcfqr4v4f

    線上遊戲排行榜2013/2014,進擊的巨人線上看,candy crush saga外掛,正妹寫真三圍

    kkoxhcfqr4v4f 發表在 痞客邦 留言(0) 人氣()