windows - Copying file path of current directory in CMD(DOSKEY) -
i'm writing doskey multyple commands, separated $t, , need copy path of current directory cipbord(so use latter outside of cmd) , continue commands. have tried chdir | clip brakes commands after. basicly need copy path windows explorer.
if storing command doskey macro, need escape special characters |. also, $t not seem work after pipe, ^& work.
doskey macroname=echo command1^&cd^|clip^&echo command2
Comments
Post a Comment