本帖最后由 cry5812 于 2019-9-5 09:13 编辑
INSERT INTO `ds_siyou` VALUES ('740', '30', '11', '5', '0', 'http://www.ymaacaix.asia:7001/public/videos/5cfb7a36f6e02619c9df34a5/inex.m3u8', '10026', '大学思维.', 'a19fabd4d6d488feac42a0af7783aa7d', '2019-07-11 19:54:44', '295', 'http://www.ymaacaix.asia:7001/public/videos/5cfb7a36f6e019c9df34a5/0.jpg');
INSERT INTO `ds_siyou` VALUES ('741', '30', '11', '5', '1', 'http://www.ymaacaix.asia:7001/public/videos/5cfb79e921fe9219d30d99ad/inex.m3u8', '10026', '爱琴海', '0819a6e7aa8cc2e38ef8d5c2101d8730', '2019-07-11 19:54:44', '296', 'http://www.ymaacaix.asia:7001/public/videos/5cfb79e921fe9219d99ad/0.jpg');
这种格式的该怎么批量处理成
http://www.ymaacaix.asia:7001/public/videos/5cfb7a36f6e02619c9df34a5/inex.m3u8|大学思维|http://www.ymaacaix.asia:7001/public/videos/5cfb7a36f6e019c9df34a5/0.jpg
- @echo off
- (for /f "tokens=2,4,8 delims='" %%i in (old.txt) do (
- echo %%i^|%%j^|%%k
- )
- ) >new.txt
- pause
复制代码
该怎么改这段代码 |