How to use *

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
fedek
Posts: 60
Joined: 17 May 2016, 12:17
Contact:

How to use *

09 Feb 2017, 14:02

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.
garry
Posts: 3777
Joined: 22 Dec 2013, 12:50

Re: How to use *

09 Feb 2017, 14:48

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").
fedek
Posts: 60
Joined: 17 May 2016, 12:17
Contact:

Re: How to use *

09 Feb 2017, 15:06

To be more exactly i have used FileRemoveDir, C:\..., 1. Thats not a reason :/

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Bing [Bot] and 133 guests