Link to home
Start Free TrialLog in
Avatar of elwayisgod
elwayisgodFlag for United States of America

asked on

Batch file: How to 'append' to a output file on a 'spool' command

I have this line.  I need it to 'append' to 'Step_1.txt' instead of overwriting it.  Can it  be done?

spool on to 'F:/EssbaseBackupLogs/Step_1.txt';
Avatar of SteveGTR
SteveGTR
Flag of United States of America image

Is this the Oracle SQL spool command? If so, it looks like there is an APPEND option:

SPO[OL] [file_name[.ext] [CRE[ATE] | REP[LACE] | APP[END]] | OFF | OUT]
Avatar of elwayisgod

ASKER

No. It's a windows batch spool.
spool.exe? I don't have it on my XP/Pro machine. I have spoolsv.exe.
ASKER CERTIFIED SOLUTION
Avatar of Lee W, MVP
Lee W, MVP
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial