Valid on Windows only
The DeleteIniEntry function removes a specified entry in a specified section of a specified initialization (.ini) file.
Function format:
DeleteIniEntry(section as String, entry as String, filename as String) as Boolean
Identifies the section that contains the entry.
Identifies the entry to be deleted.
Identifies the name of the initialization (.ini) file.
On successful completion, the function returns TRUE; otherwise, returns FALSE.
Example:
Rem By deleting the file Ncclient.ini a new workstation name detect Rem will be forced next time the AM agent is executed. Rem DeleteFile(ComputerPath+"Ncclient.ini") Rem ComnputerPath is an Asset Management constant
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|