Delete_Local Initialization Variable

See Also

Indicates during Add Files, Check In, and Undo Check Out commands whether or not you are maintaining a local copy of a complete project.

Syntax

Delete_Local = {Yes|No}

Example

Tells VSS not to delete local copies when you are finished with them:

Delete_Local = No

Remarks

By default, when you are working on a project, VSS keeps a copy of the entire project in your working folder. When you set Delete_Local to Yes, VSS only keeps copies of the files that you are currently working on. Therefore, when you add, check in, or undo the check out of a file, instead of flagging it read-only, VSS deletes your local copy of the file.

When this variable is set, you cannot compile out of your working folder, because crucial files may not be in that folder. For this reason, when you set Delete_Local to Yes, you also frequently set a shadow folder for that project.

Even if Delete_Local is set, you can still use the Get Latest Versions command to retrieve a file into your working folder. In that case, the file remains in your working folder until you delete it, or check out and then check in.