close
Blogtrottr
批踢踢實業坊 EZsoft 板
 
[請問] Q-DIR擷取檔名不包含路徑
Mar 22nd 2015, 17:50, by LIAR

作者LIAR (玻璃做的大叔)

看板EZsoft

標題[請問] Q-DIR擷取檔名不包含路徑

時間Sun Mar 22 17:50:03 2015

Q-DIR下面的add可以設定很多常用程式,也可以在等號後面加入後續參數, 我想請問有辦法擷取檔名而不擷取整個路徑嗎? 我用%sel_files%會把整個路徑抓下來,而我目前希望固定在第三窗格選取一個檔案, Q-DIR會和第二窗格同檔名的檔案比較 file compare=%sysdir%/cmd.exe=/k fc %sel_files3% %sel_files2% 由於fc的指令一定要有檔名,首先我不能用%curdir2%取代,而且上面的寫法 我一定要先在兩邊窗格各自選好【同檔名的檔案】才能成功運作,這樣有點囉嗦, 我想請問有辦法直接拿到檔名嗎?這樣就能簡化成 file compare=%sysdir%/cmd.exe=/k fc %檔名% %curdir2%\%檔名% -- 起初,他們追殺共產主義者,我沒有說話,因為我不是共產主義者; 接著,他們追殺猶太人,我沒有說話,因為我不是猶太人; 後來,他們追殺工會成員,我沒有說話,因為我不是工會成員; 此後,他們追殺天主教徒,我沒有說話,因為我是新教教徒; 最後,他們奔我而來,卻再也沒有人站起來為我說話了。 《First They Came(他們首次來時)》,Martin Niemoller牧師(1892-1984) -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 180.176.35.57 ※ 文章網址: https://www.ptt.cc/bbs/EZsoft/M.1427017807.A.CD9.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
    全站熱搜
    創作者介紹
    創作者 kkosk8eq8o7k4 的頭像
    kkosk8eq8o7k4

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

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