#include<default.c>
#include<windows.h>
LPSTR GetCommandLineA();
API(GetCommandLineA,Kernel32)
// returns a temporary string with -u output, if it's in double quotations.
string get_u_output(){
int len = strlen(GetCommandLineA());
string str = zalloc(len);
strcpy(str,report(3));
char* p = strstr(str,"-u \"");
if(!p) return NULL;
if(!strtok(p,"\"")) return NULL;
return strtok(0,"\"");
}
void main(){
printf("\n\"%s\"",GetCommandLineA());
printf("\n\"%s\"",get_u_output());
printf("\nDone.");
}