Board logo

标题: [求助]请教个问题,关于连续字符输入. [打印本页]

作者: leton     时间: 2007-12-22 18:52    标题: [求助]请教个问题,关于连续字符输入.

如下面内容,我想通过批处理方式输出,但碰到以下问题:

1.该文件内容是连续的
2.字符不是标准(我的理解,可能有错)

批处理要如何写,才能把附件中文件内容全部输出成一个文件呢?

内容:(XP.组策略软件限制文件.Registry.pol)

PReg   [ S o f t w a r e \ M i c r o s o f t \ W i n d o w s \ C u r r e n t V e r s i o n \ P o l i c i e s \ E x p l o r e r   ; N o D r i v e T y p e A u t o R u n   ;    ;    ;    ] [ S o f t w a r e \ P o l i c i e s \ M i c r o s o f t \ P C H e a l t h \ E r r o r R e p o r t i n g   ; S h o w U I   ;    ;    ;     ] [ S o f t w a r e \ P o l i c i e s \ M i c r o s o f t \ P C H e a l t h \ E r r o r R e p o r t i n g \ D W   ; D W A l l o w H e a d l e s s   ;    ;    ;    ] [ S o f t w a r e \ P o l i c i e s \ M i c r o s o f t \ S y s t e m C e r t i f i c a t e s \ D i s a l l o w e d \ C e r t i f i c a t e s   ;   ;     ;     ; ] [ S o f t w a r e \ P o l i c i e s \ M i c r o s o f t \ S y s t e m C e r t i f i c a t e s \ D i s a l l o w e d \ C R L s   ;   ;     ;     ; ] [ S o f t w a r e \ P o l i c i e s \ M i c r o s o f t \ S y s t e m C e r t i f i c a t e s \ D i s a l l o w e d \ C T L s   ;   ;     ;     ; ] [ S o f t w a r e \ P o l i c i e s \ M i c r o s o f t \ S y s t e m C e r t i f i c a t e s \ T r u s t e d P u b l i s h e r \ C e r t i f i c a t e s   ;   ;     ;     ; ] [ S o f t w a r e \ P o l i c i e s \ M i c r o s o f t \ S y s t e m C e r t i f i c a t e s \ T r u s t e d P u b l i s h e r \ C R L s   ;   ;     ;     ; ] [ S o f t w a r e \ P o l i c i e s \ M i c r o s o f t \ S y s t e m C e r t i f i c a t e s \ T r u s t e d P u b l i s h e r \ C T L s   ;   ;     ;     ; ] [ S o f t w a r e \ P o l i c i e s \ M i c r o s o f t \ S y s t e m C e r t i f i c a t e s \ T r u s t e d P u b l i s h e r \ S a f e r   ; A u t h e n t i c o d e F l a g s   ;    ;    ;     ] [ S o f t w a r e \ P o l i c i e s \ M i c r o s o f t \ W i n d o w s \ S a f e r \ C o d e I d e n t i f i e r s   ; D e f a u l t L e v e l   ;    ;    ;     ] [ S o f t w a r e \ P o l i c i e s \ M i c r o s o f t \ W i n d o w s \ S a f e r \ C o d e I d e n t i f i e r s   ; T r a n s p a r e n t E n a b l e d   ;    ;    ;    ] [ S o f t w a r e \ P o l i c i e s \ M i c r o s o f t \ W i n d o w s \ S a f e r \ C o d e I d e n t i f i e r s   ; P o l i c y S c o p e   ;    ;    ;    ] [ S o f t w a r e \ P o l i c i e s \ M i c r o s o f t \ W i n d o w s \ S a f e r \ C o d e I d e n t i f i e r s   ; E x e c u t a b l e T y p e s   ;    ;    ; W S C   V B   U R L   S H S   S C R   R E G   P I F   P C D   O C X   M S T   M S P   M S I   M S C   M D E   M D B   I S P   I N S   i n i   I N F   H T A   H L P   E X E   C R T   C P L   C O M   C M D   C H M   B A T   B A S   A D P   A D E   ] [ S o f t w a r e \ P o l i c i e s \ M i c r o s o f t \ W i n d o w s \ S a f e r \ C o d e I d e n t i f i e r s \ 0 \ P a t h s   ;   ;     ;     ; ] [ S o f t w a r e \ P o l i c i e s \ M i c r o s o f t \ W i n d o w s \ S a f e r \ C o d e I d e n t i f i e r s \ 2 6 2 1 4 4 \ H a s h e s \ { 1 a a a 9 d 8 8 - e 1 6 2 - 4 2 d 9 - 8 4 f 3 - b 4 d 3 c 7 a d b 9 d 7 }   ; L a s t M o d i f i e d   ;    ;    ; js6#{D?] [ S o f t w a r e \ P o l i c i e s \ M i c r o s o f t \ W i n d o w s \ S a f e r \ C o d e I d e n t i f i e r s \ 2 6 2 1 4 4 \ H a s h e s \ { 1 a a a 9 d 8 8 - e 1 6 2 - 4 2 d 9 - 8 4 f 3 - b 4 d 3 c 7 a d b 9 d 7 }   ; D e s c r i p t i o n   ;    ; $   ; \O(u