delete a folder

Moderator: Moderator Group

delete a folder

Postby sune » Fri Feb 19, 2016 12:31 am

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.
Sune Munk Schou
Lighting- and Video Technician
tlf: +45 31 58 54 41
mail: sune@stouenborg.dk
web: stouenborg.dk
User avatar
sune
 
Posts: 37
Joined: Mon Sep 12, 2011 8:16 am
Location: Danmark

Re: delete a folder

Postby Thomas Mrozek » Fri Feb 19, 2016 12:54 pm

Hi Sune,
please use:
ResourceRemove,Filename
ResourceRemoveFolder,ProjectPath\

cheers
Thomas
Thomas Mrozek
Technical Support Engineer
User avatar
Thomas Mrozek
 
Posts: 114
Joined: Mon Apr 20, 2009 11:08 am

Re: delete a folder

Postby sune » Fri Feb 19, 2016 1:08 pm

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?
Sune Munk Schou
Lighting- and Video Technician
tlf: +45 31 58 54 41
mail: sune@stouenborg.dk
web: stouenborg.dk
User avatar
sune
 
Posts: 37
Joined: Mon Sep 12, 2011 8:16 am
Location: Danmark

Re: delete a folder

Postby Thomas Mrozek » Fri Feb 19, 2016 1:13 pm

You'll have to use
ResourceRemoveFolder,Stars\
for subfolders
ResourceRemoveFolder,Stars\StarsSubfolder\
File
ResourceRemove,projectname\Folder\Subfolder\File.extension
Thomas Mrozek
Technical Support Engineer
User avatar
Thomas Mrozek
 
Posts: 114
Joined: Mon Apr 20, 2009 11:08 am


Return to Widget Designer V4.7

Who is online

Users browsing this forum: No registered users and 13 guests