Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: c412f18ed5
Fetching contributors…

Cannot retrieve contributors at this time

executable file 40 lines (36 sloc) 0.842 kB
delete(file)
{
FileDelete, %file%
}
move(file, destination, overwrite)
{
global thisRule
global errorCheck
IfExist, %destination%
{
FileMove, %file%, %destination%, %overwrite%
}
else
{
Msgbox,,%APPNAME%: Missing Folder,A folder you're attempting to move or copy files to with %APPNAME% does not exist. Check your "%thisRule%" rule in %APPNAME% and verify that %destination% exists.
errorCheck := 1
}
}
copy(file, destination, overwrite)
{
global thisRule
global errorCheck
IfExist, %destination%
{
FileCopy, %file%, %destination%, %overwrite%
}
else
{
Msgbox,,%APPNAME%: Missing Folder,A folder you're attempting to move or copy files to with %APPNAME% does not exist. Check your "%thisRule%" rule in %APPNAME% and verify that %destination% exists.
errorCheck := 1
}
}
recycle(file)
{
FileRecycle, %file%
}
Jump to Line
Something went wrong with that request. Please try again.