What does a forward slash before a pipe in cmd do to remove the line ending of an echo?

Posted by user66001 on Stack Overflow See other posts from Stack Overflow or by user66001
Published on 2012-12-02T01:00:23Z Indexed on 2012/12/04 17:05 UTC
Read the original article Hit count: 141

Filed under:
|
|
|

This code:

    @echo off
    echo/|set /p ="Executing backup...."
    echo/|set /p =" backup procedure"

... came from Echoing in the same line and produces the below output in a cmd window:

    Executing backup....backup procedure

However, I cant seem to find an explanation through google on what the forward slash does to the ¿pipe? to cause set's output to be echoed to the console / stdout

If anyone could also suggest a good website for learning more about cmd / cmd programs' features like this, it would be appreciated.

© Stack Overflow or respective owner

Related posts about cmd

Related posts about echo