Hello Arjun
        DOS, unlike Linux, doesn't redirect all the output to STDOUT. STDOUT is
a special stream meant for the purposes of redirection, etc. All the
screen display in Linux goes through this special stream before it is
displayed on the monitor. The > operator fetches it from the STDOUT and
redirects it to your wish. All the programs in DOS do not support this
feature. Some like 'dir' do, but not all. Most of the programs like to
display directly to the screen instead of passing it through an
intermediary stream. In other words, you can do nothing about the
program which doesn't allow you to redirect.

--Dhruv


On Wed, 2003-02-12 at 13:08, Arjun wrote:
> Dear Mr.Tarun Anand/Microsoft,
> 
>   How do I make dos write the output of a file to a text file? Like in
>   linux I can simply type :- php abc.php > abc.html.
> 
>   This command will tell php to take abc.php as an input and will make
>   a  pure  html  file called abc.html which contains the output of the
>   command.
> 
>   Or  if I just type :- php abc.php - and the file abc.php contains :-
> 
>   <html>                    |     It will print :-
>   <body>                    |
>   <?php                     |     <html>
>   print "ABC - XYZ"         |     <body>
>   ?>                        |     ABC - XYZ
>   </body>                   |     </body>
>   </html>                   |     </html>
> 
> --
> Best regards,
>  Arjun
>  [EMAIL PROTECTED]
>  [EMAIL PROTECTED]
>  [EMAIL PROTECTED]
> 
> PS  - I use php as a module in IIS/PWS 4.0. But I want to see the full
> options of jarsigner (JDK1.3). But when I run it, it only shows :-
> 
>   [-storetype <type>]         keystore type
> 
>   [-keypass <password>]       password for private key (if different)
> 
>   [-sigfile <file>]           name of .SF/.DSA file
> 
>   [-signedjar <file>]         name of signed JAR file
> 
>   [-verify]                   verify a signed JAR file
> 
>   [-verbose]                  verbose output when signing/verifying
> 
>   [-certs]                    display certificates when verbose and verifying
> 
>   [-internalsf]               include the .SF file inside the signature block
> 
>   [-sectionsonly]             don't compute hash of entire manifest
> 
>   [-provider]                 name of cryptographic service provider's master cl
> ass file
>   ...
> 
> Or can I make dos run in more lines like the linux based Rxvt or xterm
> or  konsole  which  have  variable  length (in chars.) and breadth (in
> chars.).
> 


          ================================================
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject 
header. Check archives at http://www.mail-archive.com/ilugd%40wpaa.org

Reply via email to