Using HMS to delete a folder variable

Need new test, action, option? Post request here.
Post Reply
seelye
Posts: 40
Joined: Sat Sep 17, 2005 10:00 am
Location: USA

Using HMS to delete a folder variable

Post by seelye »

I have a script set to create a folder variable and I'm running this script as as ACTION from a test. I've made the script flexible by defining the CurrentFolder within my test's %CommentLine2%

So my script to CREATE a Folder Variable works fine:

SetCurrentFolder %CommentLine2%
SetFolderVariable fvar_sms_to %CommentLine3% -inheritpartly


However I want to later remove the folder variable, but I don't see a HMS command.

I want to write:

SetCurrentFolder %CommentLine2%
DelFolderVariable fvar_sms_to

but that isn't documented as being allowed

I also tried, the following (setting the variable to blank) but it didn't work

SetCurrentFolder %CommentLine2%
SetFolderVariable fvar_sms_to -inheritpartly

Is it possible without a feature update to do this?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

set empty string
SetFolderVariable fvar_sms_to "" -inheritpartly

Regards
Alex
Post Reply