I want to thank everyone for their input on this. 

Finally got it to work the way I wanted it to.


Thank you,
 
Ron Crumbaker, MCP


-----Original Message-----
From: Bill Kuhn - MCSE [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, April 17, 2002 11:24 AM
To: MSWinNT Discussions
Subject: RE: How to add to a .bat file


Try..
 
 Copy file1.bat + file2.bat file2.bat
 
That should append contents of file2 to file1 and save to file2. Make
sure file1.bat has a trailing CR so you get a line break.
 
If you have a lot of files to do, you could use a FOR %1 in filespec
loop to do them in bulk.

        -----Original Message----- 
        From: Crumbaker, Ron [mailto:[EMAIL PROTECTED]] 
        Sent: Tue 4/16/2002 10:25 AM 
        To: MSWinNT Discussions 
        Cc: 
        Subject: How to add to a .bat file
        
        

        I am wanting to add a line at the beginning of all bat files in
a
        particular folder.  Is there a program that will append or merge
the
        data of one file to all the other files in a folder?
        
        For example:
        One batch file contains a command Net use Z: /d
        
        And all the other batch files have other commands and such.  I
want to
        put the above Net use /d command to the beginning of every file.
        
        
        
        Thank you,
        
        Ron Crumbaker, MCP
        Network Specialist
        
        MPD, Inc. -An Employee Owned Company
        
        [EMAIL PROTECTED]
        Office 270-685-6381
        
        Fax 270-685-6212
        
        
        
        
        
        
        
        ------
        You are subscribed as [EMAIL PROTECTED]
        Archives: http://www.swynk.com/sitesearch/search.asp
        To unsubscribe send a blank email to
[EMAIL PROTECTED]
        
        

b.n档+j
rmj]w`+rzm饶,)⁨r+^r畳y܅)Nrzǧujy陨^j젧|正D%2젞G(
(��޲��r��y֬j�!���i�+�
܆+޲m����0�y�o�׬y�܇�j�!j�S��칻�&ޱ��i�Z�G�j)m�W����)�]|۝���0�y�


Reply via email to