Page 1 of 1

delete a folder

PostPosted: Fri Feb 19, 2016 12:31 am
by sune
Hi

I have a small problem.

I would like to delete a folder in my PB project from a script in WD. Without deleting the folder in the windows system.
But you can find a script that can do it

Hope someone can help me on the way.

Re: delete a folder

PostPosted: Fri Feb 19, 2016 12:54 pm
by Thomas Mrozek
Hi Sune,
please use:
ResourceRemove,Filename
ResourceRemoveFolder,ProjectPath\

cheers
Thomas

Re: delete a folder

PostPosted: Fri Feb 19, 2016 1:08 pm
by sune
I've tried '' Resource Remove Folder, ProjectPath \ '' but probably has not understood how to use it. have tried to find the command in the manual, but can not find it in there.
If I have a folder in my project there entirety '' stars '', how the command look like?

Re: delete a folder

PostPosted: Fri Feb 19, 2016 1:13 pm
by Thomas Mrozek
You'll have to use
ResourceRemoveFolder,Stars\
for subfolders
ResourceRemoveFolder,Stars\StarsSubfolder\
File
ResourceRemove,projectname\Folder\Subfolder\File.extension