Local only or unknown network, both wired and wireless does not work.
If Norton Internet Security was on the computer, it might not have been completely uninstalled. Run the Norton Removal Tool on the computer, ftp://ftp.symantec.com/public/english_us_canada/removal_tools/Norton_Removal_Tool.exe
Search This Blog
Sunday, June 7, 2009
Sunday, May 31, 2009
geturl, C++ code to retrieve the first link to SEP definition
This is a major part of a SEP definition download via batch. Use wget to download the webpage. Read page, ignores all text until it reaches "targetUrl[]", then reads the rest of the url and saves as file "sep".
#include
#include
using namespace std;
int main()
{
char c;
int i = 0;
char targetUrl[] = "http://definitions.symantec.com/defs/";
char url[100];
ifstream inStream("sep");
while (!inStream.eof())
{
inStream.get(c);
while ((i != 37) && (c == targetUrl[i]))
{
url[i] = c;
i++;
inStream.get(c);
}
if (i != 37) //url not found
{
url[0] = '\0';
i = 0;
}
else
{
while (c != '\"')
{
url[i++] = c;
inStream.get(c);
}
url[i] = '\0';
inStream.close();
ofstream outStream("sep");
outStream << url;
outStream.close();
return 0;
}
}
return 0;
}
#include
#include
using namespace std;
int main()
{
char c;
int i = 0;
char targetUrl[] = "http://definitions.symantec.com/defs/";
char url[100];
ifstream inStream("sep");
while (!inStream.eof())
{
inStream.get(c);
while ((i != 37) && (c == targetUrl[i]))
{
url[i] = c;
i++;
inStream.get(c);
}
if (i != 37) //url not found
{
url[0] = '\0';
i = 0;
}
else
{
while (c != '\"')
{
url[i++] = c;
inStream.get(c);
}
url[i] = '\0';
inStream.close();
ofstream outStream("sep");
outStream << url;
outStream.close();
return 0;
}
}
return 0;
}
Saturday, May 30, 2009
Parse Date in Batch
FOR /F "tokens=2-4 delims=/ " %%1 IN ('DATE /T') DO (
SET MONTH=%%1
SET DAY=%%2
SET YEAR=%%3
)
SET MONTH=%%1
SET DAY=%%2
SET YEAR=%%3
)
Friday, May 8, 2009
Monday, March 2, 2009
InstallRite
InstallRite keeps track of what happens to your computer before and after an installation, and it can create an installer to install on other computers.
Subscribe to:
Posts (Atom)