I am looking for script that should delete folder and it's files after confirming the folder name from a text file that keeps track of folder properties.
E.G. Text file is at location -:c:\program files\marimba\tuner\map.txt
Now I want my script to look for text " voipme x.xx.xxx" in the txt file and make of note of folder in which i will find details of this particular text. then script should delete the folder.

Any help would be highly appreciated...
0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


Please log in to comment
First, AppDeploy has a specific forum for 'Scripting' and second, the work you require is non-trivial and certainly not something I'd undertake for free.

I would suggest that you search for scripts which do both jobs and then combine the two. The single-most important advice I will give you is the same I give to any script developer: assume that NOTHING will work and error-trap your code accordingly, even for what you regard as the most trivial task. Most scripts don't do that and, while they work 99% of the time, the 1% failure will occur at the least convenient/most financially costly time and YOUR NAME will be associated with that failure forever.
Answered 05/18/2010 by: VBScab
Red Belt

Please log in to comment
Odd - map.txt keeps track of your channels and which folder is associated with each channel.
Why don't you just delete the channel - which in turn should delete the folder?
I don't know if you're using AD integration...
But the Tuner should be used to manage itself.
I can't think why you'd want to delete a channel manually...
Was there some strange problem?
Answered 05/18/2010 by: AB
Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity