Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a program that prints to the screen. From a DOS window, or with a BAT
file I can redirect the data to a file via the following command "Path Arg1 Arg2 Filename. But, when I execute the BAT file from a VB program, using either Shell or FollowHyperlink, the output file is created or recreated but remains empty. Any help will be greatly appreciated. TomD |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Tom -
This forum is for Excel questions, not DOS, so you might get a better answer in another forum. That said, try the pipe character (|) for redirection instead of the greater-than sign (). Sometimes that works better. -- Daryl S "TomD" wrote: I have a program that prints to the screen. From a DOS window, or with a BAT file I can redirect the data to a file via the following command "Path Arg1 Arg2 Filename. But, when I execute the BAT file from a VB program, using either Shell or FollowHyperlink, the output file is created or recreated but remains empty. Any help will be greatly appreciated. TomD |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Colon at the end of excel file name(ex: problem.xls:1, problem.xls | New Users to Excel | |||
Link from Chart File to Data File / Format Problem | Charts and Charting in Excel | |||
Problem with CSV file | Excel Discussion (Misc queries) | |||
File Name Problem | Excel Discussion (Misc queries) | |||
CSV file problem | Excel Discussion (Misc queries) |