dly icon indicating copy to clipboard operation
dly copied to clipboard

`ObjectNotFound: (dly.exe:String) [], CommandNotFoundException` on PowerShell for Windows 11

Open thinkh opened this issue 2 years ago • 4 comments

Thanks for making this nifty command line tool open source. I would like to test it and integrate into my workflow. Unfortunately, it does not start for me on Windows 11. Could you please take a look?

Steps to reproduce

  1. Download .exe version 1.2 to Downloads directory
  2. Run it once
  3. Edit config file and set the correct path to journal folder
     DailyNotesPath: "C:\Users\UsErNaMe\My Tresors\logseq\journals"
     FilenameFormat: "2006_01_02"
     AddTimestamp: true
     AppendHashtag: from-cli
    
  4. Open PowerShell navigate to Downloads directory
  5. Run dly.exe test

Observed behavior

PS C:\Users\UsErNaMe\Downloads> dly.exe test
dly.exe : Die Benennung "dly.exe" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei oder eines
ausführbaren Programms erkannt. Überprüfen Sie die Schreibweise des Namens, oder ob der Pfad korrekt ist (sofern
enthalten), und wiederholen Sie den Vorgang.
In Zeile:1 Zeichen:1
+ dly.exe test
+ ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (dly.exe:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException


Suggestion [3,General]: Der Befehl dly.exe wurde nicht gefunden. Er ist jedoch am aktuellen Ort vorhanden. Windows PowerShell lädt Befehle nicht standardmäßig vom aktuellen Ort. Wenn Sie diesem Befehl vertrauen, geben Sie stattdessen ".\dly.exe" ein. Weitere Informationen erhalten Sie unter "get-help about_Command_Precedence".

Expected behavior

The text should be appended to the journal file.

thinkh avatar Jan 15 '23 21:01 thinkh