Moving a Folder to Recycle Bin in Windows XP
kray at sonsothunder.com
Sat Oct 11 00:05:21 CDT 2008
On 9/16/08 3:49 PM, "Philip Usher" <philipusher at aim.com> wrote:
> Is it possible to use revMoveFolder to move a folder to the Recylcle
> Bin in Windows XP and what would the destination folder path be?
I don't think you can use revMoveFolder, but you can run this VBScript using
"do <script> as VBScript" from Rev 2.9 or higher:
Const RECYCLE_BIN = &Ha&
Const FILE_TO_MOVE = "C:\yourFileGoesHere.txt"
Set objShell = CreateObject("Shell.Application")
Set recycleFolder = objShell.NameSpace(RECYCLE_BIN)
result = Err.Number
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
More information about the use-livecode