precisely
Code: Select all
Run, xcopy Calculator.ahk %A_MyDocuments%\mycodes\ /S
Code: Select all
Run, xcopy Calculator.ahk %A_MyDocuments%\mycodes\ /S
Code: Select all
source:=a_desktop . "\calculator.ahk"
dest :="D:\TEST"
runwait,%comspec% /k xcopy "%source%" "%dest%"
try,run,%dest%
return
Code: Select all
source:=a_desktop
dest :="D:\TEST\DESKTOP"
;ifnotexist,%dest% ;- < not needed see parameter /I
; filecreatedir,%dest%
runwait,%comspec% /k xcopy "%source%" "%dest%" /s /e /I
try,run,%dest%
return
Code: Select all
myvar=xcopy %a_desktop%\calculator.ahk D:\TEST
run,%myvar%
return
Code: Select all
run,%comspec% /k
return
Code: Select all
source:=a_desktop . "\calculator.ahk"
dest :="D:\TEST"
ifnotexist,%dest%
filecreatedir,%dest%
runwait,%comspec% /c xcopy "%source%" "%dest%" /Y | clip,,hide ;- hidden and overwrite dest
msgbox,%clipboard% ;- < see DOS command
try,run,%dest%
return
Code: Select all
source:=a_desktop
dest :="D:\TEST\DESKTOP2"
runwait,%comspec% /k xcopy "%source%" "%dest%" /s /e /I
try,run,%dest%
return
Code: Select all
try,run,C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.19.10573.0_x64__8wekyb3d8bbwe\wt.exe
/*
Windows Power Shell , Settings in wt.exe
-------------------------------------------
Standard Profile :
- as Windows Power Shell
- as DOS
- as Azure Cloud Shell
-------------------------------------------
standard terminal application :
-Windows decides
-Windows console host >> DOS old I used this >> ahk_class ConsoleWindowClass
-Windows Terminal >> DOS new , like wt.exe >> ahk_class CASCADIA_HOSTING_WINDOW_CLASS
--------------------------------------------
*/
Users browsing this forum: DRS, slishnevsky and 76 guests