recycle-bin Questions

4

I am trying to write a python module to move files to the 'Recycle Bin' on both Mac and PC. Is there a way, only from the commandline (and yes, I mean using absloutly no C#/C++/etc) to move a fil...
Seamanship asked 5/3, 2009 at 1:12

2

Solved

I've got this class which seems to work quite well on non-64bit. using System; using System.Runtime.InteropServices; namespace DeleteToRecycleBin { /// <summary> /// Send files directly to ...
Waikiki asked 26/2, 2010 at 15:23

1

Solved

I use this procedure: function MoveToRecycle(sFileName: widestring): Boolean; var fos: TSHFileOpStructW; begin FillChar(fos, SizeOf(fos), 0); with fos do begin wnd := 0; wFunc := FO_DELETE; ...
Sectional asked 16/12, 2009 at 2:36

3

Solved

Given a folder, how can I tell that it is a recycle bin? I've found an answer for C++ but not for C#. My first idea was to check for FileAttributes.System (which would be an acceptable approximati...
Acquisitive asked 18/10, 2009 at 16:21

3

Solved

I'm trying to write some simple code that will return the directory for the recycle bin on a local drive. Seems like it would be simple -- should be a thousand answers on Google. Haven't found one ...
Chambers asked 1/6, 2009 at 19:40

© 2022 - 2024 — McMap. All rights reserved.