Board logo

标题: 写批处理使用unlocker遇到麻烦,请大家帮忙! [打印本页]

作者: pooloo     时间: 2009-1-26 14:33    标题: 写批处理使用unlocker遇到麻烦,请大家帮忙!
主要是想用unlocker 提取 六间房在缓存中的视频(缓存为tmp格式,无法复制,剪贴,重命名和删除)
我测试过:在显示UI的情况下可以用unlocker把tmp文件复制出来(移动,重命名,删除都无法提取视频文件),但嫌一个个弄太麻烦,所以想写个批处理把tmp文件一次性复制出来,在命令行下输入 unlocker /? 可以看到如下图所示unlocker的参数用法:

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

上图中可以看到有 /D 删除 /R 重命名 /M 移动 3个参数,可就是没有 /C 复制 这个参数,大家有什麽好的办法没有?

作者: slore     时间: 2009-1-26 14:39
---------------------------
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不好麽?

作者: pooloo     时间: 2009-1-26 14:41
我试过 直接/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 ]

作者: slore     时间: 2009-1-26 15:03
Unlocker.exe "%temp%\fla1A9.tmp" /S
Copy "%temp%\fla1A9.tmp" C:\flv\

作者: pooloo     时间: 2009-1-26 15:12
那样就把浏览器结束了,tmp同样会消失

作者: slore     时间: 2009-1-26 15:14
改名呢?

作者: slore     时间: 2009-1-26 15:15
给你推荐一个网站:
http://www.flvxz.com/

作者: pooloo     时间: 2009-1-26 15:20
改名 移动 删除 tmp文件都会消失

作者: pooloo     时间: 2009-1-26 15:22
你给的站点很好用,谢谢.