Skip to content

Instantly share code, notes, and snippets.

@emisjerry
Last active March 28, 2020 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emisjerry/4da91da585b64f7b84ed91d9d19e97aa to your computer and use it in GitHub Desktop.
Save emisjerry/4da91da585b64f7b84ed91d9d19e97aa to your computer and use it in GitHub Desktop.
讓多個cmd.exe共用命令歷史的變通作法(跨Session共用)
@echo off
chcp 65001
type c:\temp\_hist.cmd | fzf --tac | clip
clip_run.ahk
@echo off
doskey /history > c:\temp\_hist.cmd
echo %CD% | clip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment