Re: Delete directory contents

2006-01-16 Thread Jim Wright
rslife.com > > > > -Original Message- > From: Jim Wright [mailto:[EMAIL PROTECTED] > Sent: Monday, January 16, 2006 9:12 PM > To: CF-Talk > Subject: Re: Delete directory contents > > OK, there is probably a more elegant way...but this would get the > trick done

RE: Delete directory contents

2006-01-16 Thread Bobby Hartsfield
2006 9:12 PM To: CF-Talk Subject: Re: Delete directory contents OK, there is probably a more elegant way...but this would get the trick done, with ACL's intact... REM this assumes that "c:\foo" is the directory that you want to empty echo. >> c:\foo\foo.txt REM /O option

Re: Delete directory contents

2006-01-16 Thread Jim Wright
OK, there is probably a more elegant way...but this would get the trick done, with ACL's intact... REM this assumes that "c:\foo" is the directory that you want to empty echo. >> c:\foo\foo.txt REM /O option in xcopy preserves ACL's echo f|xcopy /O c:\foo\foo.txt c:\foo2\foo.txt rmdir C:\foo /Q /S

RE: Delete directory contents

2006-01-16 Thread Dave Watts
> Ok, let me try ONE more time with the right command"S"... > > @echo off > rmdir C:\mydir /Q /S > mkdir C:\mydir > > this would delete the directory and recreate it since, like > Jim said, I don't believe there is a single DOS command that > is equivalent to the linux command he posted The on

RE: Delete directory contents

2006-01-16 Thread Bobby Hartsfield
ect: RE: Delete directory contents Better yet... rmdir c:\mydir /Q /S ...:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Monday, January 16, 2006 6:38 PM To: CF-Talk Subject: RE: D

RE: Delete directory contents

2006-01-16 Thread Bobby Hartsfield
Better yet... rmdir c:\mydir /Q /S ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Monday, January 16, 2006 6:38 PM To: CF-Talk Subject: RE: Delete directory contents In

RE: Delete directory contents

2006-01-16 Thread Bobby Hartsfield
In windows... echo y|rmdir c:\mydir /S ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Jim Wright [mailto:[EMAIL PROTECTED] Sent: Monday, January 16, 2006 6:27 PM To: CF-Talk Subject: Re: Delete directory contents Using

Re: Delete directory contents

2006-01-16 Thread Jim Wright
.:.:.:.:.:.:.:. > Bobby Hartsfield > http://acoderslife.com > > > > -Original Message- > From: Ken [mailto:[EMAIL PROTECTED] > Sent: Monday, January 16, 2006 1:10 PM > To: CF-Talk > Subject: Delete directory contents > > Hi. Is there a custom function to empty

RE: Delete directory contents

2006-01-16 Thread Bobby Hartsfield
Can you delete a populated directory with cfdirectory? If so, absolutely. http://acoderslife.com -Original Message- From: Jennifer Gavin-Wear [mailto:[EMAIL PROTECTED] Sent: Monday, January 16, 2006 5:40 PM To: CF-Talk Subject: RE: Delete directory contents Not sure if it&#

RE: Delete directory contents

2006-01-16 Thread Jennifer Gavin-Wear
Not sure if it's possible to delete a populated directory and then recreate it to achieve the same? -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: 16 January 2006 18:25 To: CF-Talk Subject: RE: Delete directory contents You could cfececute a batch file/

RE: Delete directory contents

2006-01-16 Thread Bobby Hartsfield
CF7 has made this easier. ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Ken [mailto:[EMAIL PROTECTED] Sent: Monday, January 16, 2006 1:10 PM To: CF-Talk Subject: Delete directory contents Hi. Is there a custom function to empty

Delete directory contents

2006-01-16 Thread Ken
Hi. Is there a custom function to empty the contents of a folder. I want to keep the folder. Just delete all files in it. Thanks, Ken ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229684 Archives: http://www.houseo