|
ls出来的结果是这样:
(目录)Whitney Houston:
Exhale(Shoop Shoop).wmv Try It On My Way.wmv
I f I told you that.wmv Watchulookina.wmv
I Have Nothing.wmv [whitney houston]I learned from the best.rm
One Of These Days.wmv Wishing On A Star.wmv
Saving All My Love For You.wmv woman.wmv
(目录)Will Smith:
Black Suit's Coming .wmv Will Smith-3.Gettin' Jiggy With It.rm
kisses.wmv Will Smith-4.Just Two Of Us.rm
Thumbs.db Will Smith-5.Miami.rm
Will Smith-1.Men In Black.rm Will Smith-6.Wild Wild West.rm
如何写个这样的脚本,如:
rtsp://192.168.1.8/Whitney Houston/Exhale(Shoop Shoop).wmv
.........
rtsp://192.168.1.8/Will Smith/Black Suit's Coming .wmv
.........
意思就是将文件名及目录变成这样,如何做个脚本一运行,目录下的所有文件都变成上边那样的地址,并且存成bb.txt出来
麻烦会的兄弟帮帮我 ,,, 谢谢1 |
|