Create a shortcut to move files to folder?

Discussion, questions and support.
Post Reply
az329392
Posts: 2
Joined: Sep 21st, ’24, 11:01

Post by az329392 » Sep 21st, ’24, 11:06

Is there a way to create a shortcut to move the select file or files to a specific folder? I'm trying to organize my files more quickly.
User avatar
Marko
Posts: 1814
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Sep 21st, ’24, 13:52

Create a shortcut, Type: Command.
Set the destination folder in the first line, for example
DestDir:="D:\MyFolder"

Code: Select all

DestDir := ""   ;set the destination folder here
Send, ^c
Sleep 100
Loop, Parse, clipboard, `n, `r
    FileMove, %A_LoopField%, %DestDir%
clipboard :=
return
Replace FileMove command with FileCopy if you want to copy.
az329392
Posts: 2
Joined: Sep 21st, ’24, 11:01

Post by az329392 » Sep 23rd, ’24, 18:23

Awesome, thanks
Post Reply