shell script

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi all

I am not sure this is OT

Is there a way to concatenate the output from two commands into a single line in a batch file?


Something like

echo A <concatenate> echo B >> file.txt

that would create one line

AB

instead of two lines

A
B

in file.txt?

Thanks

BTW I could not find a dos-shell NG... obsolete? :-)
.



Relevant Pages

  • Re: shell script
    ... Is there a way to concatenate the output from two commands into a single ... line in a batch file? ... Tom Lavedas ...
    (microsoft.public.windows.server.scripting)
  • got it!
    ... set up a batch file in the winnt folder so i could run a series of commands ... You also have to lower the version of the policy, ... >> (you can use the scheduler to schedule remotely): ...
    (microsoft.public.win2000.security)
  • Re: Offline Defrag command line
    ... You can also create a batch file with all the commands pre-configured ... b/c you will have the commands and syntax in the batch file. ... It makes the life of an Exchange Admin easier. ...
    (microsoft.public.exchange.admin)
  • Re: Someone hacked one of my servers
    ... The first few commands are trying to open a C: drive by logging in with the ... The %1 command implies this is a batch file where the ... accounts named Admin or Administrator to allow future access. ... firewall logs Otherwise, ...
    (microsoft.public.win2000.security)
  • Re: Batch File Did Not Run Correctly
    ... commands in the batch file are exactly the same, ... drive got disconnected before the software finished the installation. ... I do not get any error message. ...
    (microsoft.public.windows.file_system)