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
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
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
> 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
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
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
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
.:.:.:.:.:.:.:.
> 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
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
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/
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
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
12 matches
Mail list logo