0

I'm trying to import publications using the call

academic import --bibtex <path_to_your/publications.bib>

but I get the error message academic : The term 'academic' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Any help is appreciated.

I call cd and the directory is C:\Users\CHRIS\OneDrive\Website_2021\academic-kickstart> which is where the .bib file is located.....

Chris
  • 1
  • 1
  • 2
  • Try `& academic.exe import ...` – Tomalak Jan 16 '21 at 18:19
  • @Tomalak still the same :-( i tried ```& academic.exe import --bibtex c:\Users\CHRIS\OneDrive\Website_2021\academic-kickstart\pubs.bib``` – Chris Jan 16 '21 at 18:28
  • 2
    Try to specify full path to `academic.exe`. Otherwise, the directory path must be contained in `PATH` environment variable. – zett42 Jan 16 '21 at 19:44
  • @zett42 thank you, how do I do/try this? – Chris Jan 18 '21 at 17:27
  • `& "C:\Full\Path\To\academic.exe" import --bibtex c:\Users\CHRIS\OneDrive\Website_2021\academic-kickstart\pubs.bib` – zett42 Jan 18 '21 at 18:04
  • @zett42 thank you for this...... I search the laptop but I don't have any academic.exe ?? Is this something I install within PowerShell or VSC? – Chris Jan 18 '21 at 18:13
  • So there we have the problem. I don't know what `academic.exe` is and where you get it from. I guess you have to download and install it from somewhere. – zett42 Jan 18 '21 at 18:19
  • @zett42 managed to do it!! Many thanks for your help. Really appreciate it – Chris Jan 18 '21 at 18:53
  • Voting to close as duplicate: [Executing an EXE file using a PowerShell script](https://stackoverflow.com/questions/4639894/executing-an-exe-file-using-a-powershell-script) – zett42 Jan 18 '21 at 19:22

0 Answers0