Trying to delete file by name - works fine.
FileRemoveDir, C:\Users\user\AppData\Local\Mozilla\Firefox\Profiles\kfh9ay74.default - копия
Trying to delete like this - dont works.
FileRemoveDir, C:\Users\user\AppData\Local\Mozilla\Firefox\Profiles\*
Whats the problem? Help me pls.
How to use *
Re: How to use *
to delete file , use
filedelete
filerecycle
FileDelete, C:\temp\*.txt ;- delete all txt-files in C:\temp
------------------------------------
read help for Fileremovedir
FileRemoveDir, C:\Download Temp
FileRemoveDir, C:\Download Temp, 1
Recurse?
0 (default): Do not remove files and sub-directories contained in DirName. In this case, if DirName is not empty, no action will be taken and ErrorLevel will be set to 1.
1: Remove all files and subdirectories (like the Windows command "rmdir /S").
filedelete
filerecycle
FileDelete, C:\temp\*.txt ;- delete all txt-files in C:\temp
------------------------------------
read help for Fileremovedir
FileRemoveDir, C:\Download Temp
FileRemoveDir, C:\Download Temp, 1
Recurse?
0 (default): Do not remove files and sub-directories contained in DirName. In this case, if DirName is not empty, no action will be taken and ErrorLevel will be set to 1.
1: Remove all files and subdirectories (like the Windows command "rmdir /S").
Re: How to use *
To be more exactly i have used FileRemoveDir, C:\..., 1. Thats not a reason :/
Who is online
Users browsing this forum: Bing [Bot] and 133 guests