I'm trying to capture the output from the Windows CIPHER program with the parameter /W using RunProgram().
This option clears the free space.
Example:
CIPHER /W:C:\
I can get the string lines, but I haven't been able to grab the . (periods) that show the program's progress.
Anybody have a clue for me?
Capture output of Windows program
-
TerryHough
- Enthusiast

- Posts: 781
- Joined: Fri Apr 25, 2003 6:51 pm
- Location: NC, USA
- Contact:
-
TerryHough
- Enthusiast

- Posts: 781
- Joined: Fri Apr 25, 2003 6:51 pm
- Location: NC, USA
- Contact:
Here is how it looks. The dots are added as progress is made. I haven't been able to capture them.
CIPHER /W:C:\
CIPHER /W:C:\
Try this by using Start|Run and entering CIPER /W: followed by the pathname you want to clear the free space in. For testing, I use a small thumb drive. The complete process takes some time if you do the whole drive, and even small drives take about 10 minutes.To remove as much data as possible, please close all other applications while
running CIPHER /W.
Writing 0x00
............................................................................
- netmaestro
- PureBasic Bullfrog

- Posts: 8452
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
I did have a look at this, but so far no luck. The dots are not triggering AvailableProgramOutput() and when I rewrote the whole thing in API using PeekNamedPipe_() in place of AvailableProgramOutput() I still found nothing to peek at. It's simmering in the back of my mind though and if a light comes on I'll post.
BERESHEIT
- Michael Vogel
- Addict

- Posts: 2821
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
