How to use *

Get help with using AutoHotkey and its commands and hotkeys
fedek
Posts: 60
Joined: 17 May 2016, 12:17
Facebook: nope
Google: nope
GitHub: nope

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: 2033
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
Facebook: nope
Google: nope
GitHub: nope

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”

Who is online

Users browsing this forum: awcrt9316, Chunjee, Google [Bot], Hackerxd, HiSoKa, Tdking0405, vsub, Xtra, Yakshongas and 393 guests