EN RU
Log in
Home
Download
Purchase
Documentation
Support
Contact us
 
Help  /  Command Reference  /  Registry & INI

Global Environment - Delete Path

This command deletes the specified path from the environment variable. For example, if you add the installation path to the variable PATH, during deinstallation you will need to delete the installation path. In this case, it is enough to add this command to the deinstallation script and specify variable name as PATH, and the path as #setuppath#.

Description
Optionally, you may add comments here describing the purpose of this element.

Environment Variable
The name of the variable, from which you want to delete your directory.

PATH

Path
Enter the full name of the directory being deleted.

#setuppath#
c:\myfolder
#mypath#\myfolder
Global Environment - Delete Path command
Global Environment - Delete Path command

Type
There are two types of environment variables: system variables and user variables. System variables are common across all the computer’s users, while user variables apply only for the current user. Here, you can specify which type of variable you wish to assign.
Set System Variable - assign system variable.
Set User's Variable - assign user variable.
Set System & User's Variable - assign system and user variables.

If Condition
You can specify a condition that should be met for the action to be performed. If the condition is false then the command is skipped. See How to use If Condition for more details.

See also

  • Global Environment - Append Path
Eonza automation software - free, open source cross-platform program for easy creation and management of scripts.
  • Command Reference
    • Application
    • Dialogs
    • Files
    • Internet
    • Messages & Sound
    • Programming
    • Register DLL & Fonts
    • Registry & INI
      • Global Environment - Append
      • Global Environment - Delete Path
      • Global Environment - Get
      • Global Environment - Set
      • INI File - Delete
      • INI File - Formatting
      • INI File - Get Value
      • INI file – Insert text
      • INI File - Set Value
      • Import .REG File
      • Registry - Delete
      • Registry - For Each
      • Registry - Get Value
      • Registry - Set Value
    • System
    • Text Files
    • Uninstaller
    • Variables
Copyright © Novostrim, OOO, 2009-2026 All rights reserved.