FileMoveDir: last example does not work

Report problems with documented functionality
Holgrah
Posts: 1
Joined: 13 Jun 2020, 05:07

FileMoveDir: last example does not work

13 Jun 2020, 05:17

hey, the last example in FileMoveDir does not work, only when removing the R flag it works

Code: Select all

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

FileCreateDir, C:\My Folder
FileMoveDir, C:\My Folder, C:\New Location\My Folder, R
swagfag
Posts: 4070
Joined: 11 Jan 2017, 17:59

Re: FileMoveDir: last example does not work

13 Jun 2020, 07:45

it fails if C:\New Location is missing, ie it wont recursively create subdirectories for u
is it a bug? i dont know. MoveFile doesnt say anything about creating subdirectories either

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 2 guests