project.File.Remove


This function removes a file from the active project.

[Specification format]

project.File.Remove(fileName)

[Argument(s)]

Argument

Description

fileName

Specify the full path of the file to be removed from the active project.

When specifying multiple files, specify in the format ["file1", "file2"].

[Return value]

If a file was removed from the active project successfully: True

If there was an error when a file was removed from the active project: False

[Detailed description]

-

This function removes the file specified in fileName from the active project.

-

The file is not deleted.

[Example of use]

>>>project.File.Remove("C:/project/sample/src/test.c")
True
>>>project.File.Remove(["C:/project/sample/src/test1.c", "C:/project/sample/src/test2.c"])
True