Superfly-Inc / ShowKeyPlus

Windows product key finder and validation checker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can you add batch capability to create text file?

dmcdivitt opened this issue · comments

Can you possibly add a command line switch such as:
/w filename
Invoking this way would simply write the file and close.

With this I could script the program and run on several machines without operator intervention. Thank you for writing a nice program.

Thanx @dmcdivitt

I'm not sure if you are aware - https://github.com/Superfly-Inc/ShowKeyPlus/releases/tag/ShowKeyPlus7060 has CLI

It does not use a switch just path and filename - I'm not sure if it supports UNC paths - it's been a while since I worked on it.

The current version was designed primarily for UWP so I didn't bother with CLI or Win PE.

If 7060 is terrible let me know - I may export the current MVVM logic to a separate console app. rather that create a hybrid as in the old version.

OK, strange tho' as I tested it and it worked

PS C:\Users\Craig\Desktop\ShowKeyPlus_x64> C:\Users\Craig\Desktop\ShowKeyPlus_x64\ShowKeyPlus.exe /?

OutFile - Specifies the path, filename and file extension of the file to which product key information saved
Text file extensions only supported (eg. txt, doc, docx, csv etc)

Created the test file as well
PS C:\Users\Craig\Desktop\ShowKeyPlus_x64> C:\Users\Craig\Desktop\ShowKeyPlus_x64\ShowKeyPlus.exe C:\Users\Craig\Desktop\test.txt
PS C:\Users\Craig\Desktop\ShowKeyPlus_x64> File saved as C:\Users\Craig\Desktop\test.txt

Thanx for that feedback - I will test a few scenarios. CLI was not extensively tested - back then we were more concerned about Win PE. Anyway 7060 is deprecated - so as I said, if need be I'd rather create a new CLI-centric app.

(PS That vbs brings back memories of my ASP days, yes before ASP .Net )

I decided not to pursue a new CLI version for the time-being.