CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

C plateformindependent folder delete command

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By mattijs

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 14, 2005, 09:11
Default I'm trying to delete some fold
  #1
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 18
maka is on a distinguished road
I'm trying to delete some folder within a loop, you may read:

http://www.cfd-online.com/OpenFOAM_D...tml?1134562862

I came to the following code:

forAll (databases, procI)
{
DELETECOMMAND args.rootPath()/args.caseName()/fileName(word("processor") + name(procI))/runTime.timeName()
}

but I'm looking for plateform-independent folder delete command. Thanks.

Regards,
Maka
maka is offline   Reply With Quote

Old   December 16, 2005, 05:50
Default in OSspecific.H : rmDir
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
in OSspecific.H : rmDir
mm.abdollahzadeh likes this.
mattijs is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
to delete or not to delete? Wooster CFX 15 November 1, 2007 20:54
Delete a macro Claudi FLUENT 6 November 15, 2006 07:21
UDF source folder dependence??? Sasha FLUENT 3 May 16, 2006 05:33
Changing the location of run folder maka OpenFOAM Installation 2 November 4, 2005 05:03
Text command of monitor-command? Mika FLUENT 0 March 27, 2001 14:46


All times are GMT -4. The time now is 10:30.