Help me, please !

Hy ! Please help me !
When i try to execute a command such as tasm.exe on the command window in VC#, the messeges that have been created by this command aren't  printed in to the filename that Tools.LogCommandWindowOutput had created, onlz the syzstem messeges are. 
Can I print the messages into the file .log


Answer this question

Help me, please !

  • Taikonaut

    Smile i'll try to see if it's working. thank you !
    Not working. Any ideas Please, i don't know what to do to redirect the messages from a dos command to a file, especially from tasm and tlink .exe.
    Help me please !


  • AlexanderPovalyaev

    Mihai, the ">" operator is a DOS operator.  It does not have to be "supported" by tasm.exe as it is implemented by the operating system.  What will happen is that everything that tasm.exe would dump to the screen will get dumped to the file instead.
  • grysauto2002

    redirection is the most basic thing you learn when I used DOS as my first OS.
    Thanks to its grand dad Unix.

  • Adam Gregrory

    Yupi, io, uraaa, heheehe, thank's, thank's, thank's, thank's, thank's !
    It's working ! Thank's a lot ! It's like in Unix with ">>". Ok, thank you !

  • Octurus

    hehe.. those were just example command line parameters, as I don't really know much about tasm.exe. The important part is '> logfile.txt'

    Of course, you can rename logfile.txt to whatever log file name you want. The > character spits everything out into the file that you specify.       

  • Megahalo

    Does this do what you need to do

    tasm.exe -SomeSwitch -AnotherSwitch > LogFile.txt

    The "> Logfile.txt" part writes the output to the file that you specify..    



  • LambrosKaralis

    the tasm doesn't support this opption.
    if you'll run the tasm.exe without command line parameter you'll find all the options that tasm is supporting. i don't know what to do, what to say .
    thanks anyway for your help.

  • peetfkl

    What do you mean it isn't working I can't think of why it wouldn't work.          

  • Charles Trindade

    "tasm.exe -SomeSwitch -AnotherSwitch > LogFile.txt"

    How's that What I have to do The tasm.exe need a .asm file as a argument to create the .obj file. What "someswitch" Please tell me what's all about !
    Thanks !

  • Help me, please !