Indigo Rose Software
  #1  
Old 11-22-2001
Romahe Romahe is offline
Forum Member
 
Join Date: Nov 2001
Location: Madrid, Spain
Posts: 15
Grin SUF 6.0 - Action, Delete files

The Delete files action have the Recurse subdirectories option, but i have problem with it.

The action:
%AppDir%\*.*
is supose to delete all files and subfolders of the %AppDir% (like the example 2 of the delete files action help say)

I have various subfolders on %AppDir%, but the action only delete the subfolders that have 1 or more files on it, the empty subfolders are not deleted.

is this normal?
  #2  
Old 11-22-2001
pit pit is offline
Indigo Rose Customer
 
Join Date: Nov 2001
Location: Switzerland
Posts: 54
Re: SUF 6.0 - Action, Delete files

This was the same in V5. I worked around it by making an "Execute" command with these settings:

File to execute:
cmd

Command line args:
/c rmdir /s /q "%AppDir%"

Run mode:
Minimized

Check "Wait for program to finish"


However i think this will not work for all windows variants. So I would prefer if "Delete Files" had an option to delete the empty subfolders too.
  #3  
Old 11-22-2001
Darryl's Avatar
Darryl Darryl is offline
Indigo Rose Staff Member
 
Join Date: Jul 2001
Location: Indigo Rose Software
Posts: 1,602
Re: SUF 6.0 - Action, Delete files

Hi,

I have brought this functionality to our developers' attention, we will look into this. Thank you.

------------------
Sincerely,

Darryl Hnatiuk
Indigo Rose Corporation
__________________
Darryl
Indigo Rose Corporation

Product Guides: AMS70 | SUF80 | TU30 | VP30 |MSIFACT |DeltaMAX
  #4  
Old 11-23-2001
Brett's Avatar
Brett Brett is offline
Indigo Rose Staff Member
 
Join Date: Jan 2000
Posts: 2,001
Re: SUF 6.0 - Action, Delete files

In the next release, if you use wildcards in your source and turn on Recurse Subdrectories, we will remove all empty directories as well.

- Brett
  #5  
Old 04-03-2002
JXBURNS's Avatar
JXBURNS JXBURNS is offline
Forum Member
 
Join Date: Apr 2001
Location: Haverhill, Suffolk, UK
Posts: 333
Grin Re: SUF 6.0 - Action, Delete files

In 6.0.0.4 the Delete Files option now works fine in that it deletes all files and sub-folders.

However it also deletes the folder that you are deleting from. For example I have set delete files to delete from:

F:\XXXX\*.*

with recursive set on. But the system deletes the folder XXXX as well. The big problem here is I do not know the name of the folders below XXXX (which is why recursive is set on) but I do not want XXXX deleted as it is on a network drive and has certain security rights assigned to it. Deleting/recreating the folder in SUF does not recreate those rights in Netware.

Is there any simple way to delete just the files and sub-folders but not the folder itself?

Thks

John
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -6. The time now is 12:38 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software