1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Using Here-String with Describe

Discussion in 'T&T - Scripting' started by Joe Caverly, Sep 19, 2017.

  1. Joe Caverly

    Joined:
    Aug 28, 2009
    Messages:
    680
    Likes Received:
    8
    While describe has the /D option, the description must be enclosed in quotes;
    Code:
    describe cdate.exe /D"Created using PS2EXE.ps1"
    Using Here-String, you do not need the /D option, nor does the description need to be enclosed in quotes;
    Code:
    describe cdate.exe <<< Created using PS2EXE.ps1
    Joe
     

Share This Page