Ok I have a Simple ( maybe not so simple ) SHELL escape that fails when executing from within my code but runs fine when executed from a Command Prompt. Here is the command that I am trying to execute:
Shell("curl ""https://api.discogs.com/database/search?q=" + SearchString + """ -H " + """Authorization: Discogs token=" + MyToken + """ > C:\Downloads\CurlOutput.txt 2>&1")
I get a system error telling that the file NOT FOUND... I am redirecting the output TO a file NOT reading FROM a file???
Here is the expanded version of that string.. I can change my TOKEN at any time so it is ok...
curl "https://api.discogs.com/database/search?q=0075992511025" -H "Authorization: Discogs token=xyz" > C:\Downloads\CurlOutput.txt 2>&1
I am using VS 2017 and I am coding in VB.NET on a Windows 10 Machine
Thanks in advance