http://jroller.com/page/ethdsy/20050111#using_windows_explorer_copy
David Shay's Weblog on Java
: "Using Windows Explorer Copy (in Java)
I just got this requirement that the Copy/Paste mechanism we use to copy files around between folders in our application should behave like the Windows Explorer when we paste a file in the same directory it was copied from. That is to say that our customer would like to see the file automatically renamed with the usual 'Copy of ' prefix. In order to use the Explorer features, you have to use the JNI / SHFileOperation couple. It seems that this SHFileOperation function is used by the Explorer for copying, renaming, moving and deleting files (See the send to recycle bin for another example). Here is the JNI method I use for copying: "
Tuesday, January 11, 2005
Subscribe to:
Post Comments (Atom)
Popular Posts
- MobileTracker - Cingular announces EDGE Wireless WAN service
- Yahoo! Mail: Revenge of the Oddpost
- Linux Forum: Apache, Webmin and Mandrake - Linux Operating System Help
- Free AS400 & iSeries Software Tools & Utilities Downloads
- Table designs based on CSS and DIV elements
- Common Gateway Interface (CGI) on the as400 / iSeries
- What is WebSphere?
- Why Crunch Mode (Long Hours) Doesn't Work
- UDATE and *DATE in AS400 RPG
- The Laughing Boardroom video...a real world example!
No comments:
Post a Comment