![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-06 11:23 |
48,039 topics / 350,124 posts / today 0 new / 48,251 members |
| DOS批处理 & 脚本技术(批处理室) » How to delete files from a USB removable storage to the recycle bin? |
| Printable Version 1,608 / 13 |
| Floor1 echo | Posted 2006-12-13 01:13 |
| 初级用户 Posts 69 Credits 148 | |
|
@echo off
if not exist D:\USB回收站.{645FF040-5081-101B-9F08-00AA002F954E} md USB回收站.{645FF040-5081-101B-9F08-00AA002F954E} attrib +s +h USB回收站.{645FF040-5081-101B-9F08-00AA002F954E} move "H:\aaaaaaaaaaaaaaaa.txt" "D:\USB回收站.{645FF040-5081-101B-9F08-00AA002F954E}" pause How to delete files from a USB removable storage to the recycle bin? The test failed, and later I thought it was inevitable to fail. It was just a shortcut I built. Hehe, really stupid... Do you have any good methods? Introduce them!? Or where should the files be moved to be correct? [ Last edited by echo on 2006-12-12 at 12:29 PM ] |
|
| Floor2 lxmxn | Posted 2006-12-13 01:32 |
| 版主 Posts 4,938 Credits 11,386 | |
|
It should be moved to the Recycle folder in the root directory of the drive letter. For example, D:\Recycle . |
|
| Floor3 echo | Posted 2006-12-13 01:46 |
| 初级用户 Posts 69 Credits 148 | |
|
Still no good, there are also a bunch of shortcuts in D:\RECYCLER
|
|
| Floor4 lxmxn | Posted 2006-12-13 03:55 |
| 版主 Posts 4,938 Credits 11,386 | |
Originally posted by echo at 2006-12-13 01:46: What about move somethings d:\recycled? |
|
| Floor5 echo | Posted 2006-12-13 04:33 |
| 初级用户 Posts 69 Credits 148 | |
Originally posted by lxmxn at 2006-12-12 02:55 PM: All possible attempts have been made, but it still doesn't work. Moreover, recycled seems to be in 9X? |
|
| Floor6 electronixtar | Posted 2006-12-13 07:09 |
| 铂金会员 Posts 2,672 Credits 7,493 | |
recycler |
|
| Floor7 duckjing688 | Posted 2006-12-13 12:07 |
| 初级用户 Posts 13 Credits 24 | |
|
No way... This can also be done.. I only know how to drag it to the recycle bin
|
|
| Floor8 echo | Posted 2006-12-14 01:55 |
| 初级用户 Posts 69 Credits 148 | |
|
It seems there's no good way.
|
|
| Floor9 TLang | Posted 2007-01-27 02:45 |
| 初级用户 Posts 21 Credits 46 | |
|
This is not acceptable. The Recycle Bin is not that simple! Just moving files is not enough!
Refer to this http://www.cn-dos.net/forum/viewthread.php?tid=13075 |
|
| Floor10 axengine | Posted 2007-06-07 20:25 |
| 新手上路 Posts 1 Credits 2 | |
| Floor11 my3439955 | Posted 2007-06-07 21:55 |
| 中级用户 Posts 99 Credits 272 | |
|
The ShellApplication of VBS can do this
|
|
| Floor12 zhoushijay | Posted 2007-06-08 10:45 |
| 高级用户 Posts 375 Credits 845 | |
|
Don't understand. Removing to the recycle bin is not delete?
|
|
| Floor13 baomaboy | Posted 2007-06-08 13:05 |
| 银牌会员 Posts 554 Credits 1,513 | |
|
If the recycle bin is deleted and there's nothing in it, you'll understand.
|
|
| Floor14 uemuem | Posted 2007-11-09 17:13 |
| 初级用户 Posts 68 Credits 153 From 上海 | |
|
There's no solution. Is there anyone who has the latest achievements?
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |