![]() |
中国DOS联盟-- 联合DOS 推动DOS 发展DOS --联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum |
| 游客 | 登录 | 注册 | 会员 | 搜索 | 中国DOS联盟 |
|
中国DOS联盟论坛 现在时间是 2026-08-11 07:06 |
共 47,811 主题排行 / 349,897 发帖 / 今日 0 篇 / 48,256 会员排行 |
| DOS批处理 & 脚本技术(批处理室) » 写批处理使用unlocker遇到麻烦,请大家帮忙! |
| 可打印版本 860 / 8 |
| 第1楼 pooloo | 发表于 2009-01-26 14:33 |
| 初级用户 发帖 33 积分 62 | |
|
写批处理使用unlocker遇到麻烦,请大家帮忙! 主要是想用unlocker 提取 六间房在缓存中的视频(缓存为tmp格式,无法复制,剪贴,重命名和删除)
我测试过:在显示UI的情况下可以用unlocker把tmp文件复制出来(移动,重命名,删除都无法提取视频文件),但嫌一个个弄太麻烦,所以想写个批处理把tmp文件一次性复制出来,在命令行下输入 unlocker /? 可以看到如下图所示unlocker的参数用法: http://hiphotos.baidu.com/sunsee/pic/item/e7ae6afb9f4e9e7b024f5607.jpg 上图中可以看到有 /D 删除 /R 重命名 /M 移动 3个参数,可就是没有 /C 复制 这个参数,大家有什麽好的办法没有? |
|
| 第2楼 slore | 发表于 2009-01-26 14:39 |
| 铂金会员 发帖 2,478 积分 5,212 | |
|
---------------------------
Unlocker 1.8.7 --------------------------- Command line usage: Unlocker.exe Object [Option] Object: Complete path including drive to a file or folder Options: /H or -H or /? or -?: Display command line usage /S or -S: Unlock object without showing the GUI /L or -L: Object is a text file containing the list of files to unlock /LU or -LU: Similar to /L with a unicode list of files to unlock /O or -O: Outputs Unlocker-Log.txt log file in Unlocker directory /D or -D: Delete file /R Object2 or -R Object2: Rename file, if /L or /LU is set object2 points to a text file containing the new name of files /M Object2 or -M Object2: Move file, if /L or /LU is set object2 points a text file containing the new location of files --------------------------- 确定 --------------------------- /S参数 然后copy走~ 直接/M不好麽? |
|
| 第3楼 pooloo | 发表于 2009-01-26 14:41 |
| 初级用户 发帖 33 积分 62 | |
|
我试过 直接/M的话 tmp文件就没了, move的目的地也没。在UI下也只能copy出来
例如 Unlocker.exe "%temp%\fla1A9.tmp" /S /M "C:\flv\fla1A9.flv" 就会造成fla1A9.tmp 失踪 [ Last edited by pooloo on 2009-1-26 at 14:45 ] |
|
| 第4楼 slore | 发表于 2009-01-26 15:03 |
| 铂金会员 发帖 2,478 积分 5,212 | |
|
Unlocker.exe "%temp%\fla1A9.tmp" /S
Copy "%temp%\fla1A9.tmp" C:\flv\ |
|
| 第5楼 pooloo | 发表于 2009-01-26 15:12 |
| 初级用户 发帖 33 积分 62 | |
|
那样就把浏览器结束了,tmp同样会消失
|
|
| 第6楼 slore | 发表于 2009-01-26 15:14 |
| 铂金会员 发帖 2,478 积分 5,212 | |
|
改名呢?
|
|
| 第7楼 slore | 发表于 2009-01-26 15:15 |
| 铂金会员 发帖 2,478 积分 5,212 | |
|
给你推荐一个网站:
http://www.flvxz.com/ |
|
| 第8楼 pooloo | 发表于 2009-01-26 15:20 |
| 初级用户 发帖 33 积分 62 | |
|
改名 移动 删除 tmp文件都会消失
|
|
| 第9楼 pooloo | 发表于 2009-01-26 15:22 |
| 初级用户 发帖 33 积分 62 | |
|
你给的站点很好用,谢谢.
|
|
|
[ 联系联盟系统管理团队 -
中国DOS联盟 -
标准版 ] Sponsored by ifanr Inc | © 2001–2023 |