中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --

联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!

中国DOS联盟论坛
现在时间是 2026-08-11 06:20
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » 写批处理使用unlocker遇到麻烦,请大家帮忙! 查看 859 回复 8
楼 主 写批处理使用unlocker遇到麻烦,请大家帮忙! 发表于 2009-01-26 14:33 ·  中国 湖南 常德 石门县 电信
初级用户
积分 62
发帖 33
注册 2007-06-16 07:33
19年会员
UID 91475
性别 男
状态 离线
主要是想用unlocker 提取 六间房在缓存中的视频(缓存为tmp格式,无法复制,剪贴,重命名和删除)
我测试过:在显示UI的情况下可以用unlocker把tmp文件复制出来(移动,重命名,删除都无法提取视频文件),但嫌一个个弄太麻烦,所以想写个批处理把tmp文件一次性复制出来,在命令行下输入 unlocker /? 可以看到如下图所示unlocker的参数用法:

http://hiphotos.baidu.com/sunsee/pic/item/e7ae6afb9f4e9e7b024f5607.jpg

上图中可以看到有 /D 删除 /R 重命名 /M 移动 3个参数,可就是没有 /C 复制 这个参数,大家有什麽好的办法没有?
2 发表于 2009-01-26 14:39 ·  中国 陕西 西安 电信
铂金会员
★★★★
积分 5,212
发帖 2,478
注册 2007-02-08 23:39
19年会员
UID 79003
性别 男
状态 离线
---------------------------
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不好麽?
S smile 微笑,L love 爱,O optimism 乐观,R relax 放松,E enthusiasm 热情...Slore
3 发表于 2009-01-26 14:41 ·  中国 湖南 常德 石门县 电信
初级用户
积分 62
发帖 33
注册 2007-06-16 07:33
19年会员
UID 91475
性别 男
状态 离线
我试过 直接/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 发表于 2009-01-26 15:03 ·  中国 陕西 西安 电信
铂金会员
★★★★
积分 5,212
发帖 2,478
注册 2007-02-08 23:39
19年会员
UID 79003
性别 男
状态 离线
Unlocker.exe "%temp%\fla1A9.tmp" /S
Copy "%temp%\fla1A9.tmp" C:\flv\
S smile 微笑,L love 爱,O optimism 乐观,R relax 放松,E enthusiasm 热情...Slore
5 发表于 2009-01-26 15:12 ·  中国 湖南 常德 石门县 电信
初级用户
积分 62
发帖 33
注册 2007-06-16 07:33
19年会员
UID 91475
性别 男
状态 离线
那样就把浏览器结束了,tmp同样会消失
6 发表于 2009-01-26 15:14 ·  中国 陕西 西安 电信
铂金会员
★★★★
积分 5,212
发帖 2,478
注册 2007-02-08 23:39
19年会员
UID 79003
性别 男
状态 离线
改名呢?
S smile 微笑,L love 爱,O optimism 乐观,R relax 放松,E enthusiasm 热情...Slore
7 发表于 2009-01-26 15:15 ·  中国 陕西 西安 电信
铂金会员
★★★★
积分 5,212
发帖 2,478
注册 2007-02-08 23:39
19年会员
UID 79003
性别 男
状态 离线
给你推荐一个网站:
http://www.flvxz.com/
S smile 微笑,L love 爱,O optimism 乐观,R relax 放松,E enthusiasm 热情...Slore
8 发表于 2009-01-26 15:20 ·  中国 湖南 常德 石门县 电信
初级用户
积分 62
发帖 33
注册 2007-06-16 07:33
19年会员
UID 91475
性别 男
状态 离线
改名 移动 删除 tmp文件都会消失
9 发表于 2009-01-26 15:22 ·  中国 湖南 常德 石门县 电信
初级用户
积分 62
发帖 33
注册 2007-06-16 07:33
19年会员
UID 91475
性别 男
状态 离线
你给的站点很好用,谢谢.
论坛跳转: