Picasa 相册 屏蔽 翻墙 host 批处理 
Picasa 相册 屏蔽 翻墙 host 批处理

相信能找到这篇文章的一定不是菜鸟

保存到记事本后重命名为 picasa.bat 双击运行

话不多说 直接上代码(转载的)

@attrib %windir%\SYSTEM32\drivers\etc\hosts -r
@echo 203.208.39.104 picadaweb.google.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 203.208.39.104 lh1.ggpht.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 203.208.39.104 lh2.ggpht.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 203.208.39.104 lh3.ggpht.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 203.208.39.104 lh4.ggpht.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 203.208.39.104 lh5.ggpht.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 203.208.39.104 lh6.ggpht.com >> %windir%\SYSTEM32\drivers\etc\hosts

注销或重启后有效
if it does not work, try to change IP address above as following
203.208.39.99 or 203.208.33.100

Good luck!!




[ add comment ]   |  permalink  |  related link  |   ( 3 / 4958 )
Go Throuth all User Tables and Columns in 2000 Database 
DECLARE @TableName Varchar(50)
DECLARE @ColumnName Varchar(50)

DECLARE @SQL Varchar(500)

DECLARE get_TableName CURSOR FOR
SELECT [TABLE_NAME]
FROM DatabaseName.INFORMATION_SCHEMA.TABLES
WHERE TABLE_TYPE = 'BASE TABLE' ORDER BY [TABLE_NAME];

open get_TableName

FETCH NEXT FROM get_TableName INTO @TableName

WHILE @@FETCH_STATUS = 0
Begin

DECLARE get_ColumnName CURSOR FOR
SELECT [COLUMN_NAME]
FROM NPU_INFO.INFORMATION_SCHEMA.COLUMNS
WHERE [TABLE_NAME] = @TableName ORDER BY [COLUMN_NAME];

open get_ColumnName
FETCH NEXT FROM get_ColumnName INTO @ColumnName
WHILE @@FETCH_STATUS = 0
Begin
Print @TableName+'/'+@ColumnName

SET @SQL='What you want to run'
EXEC(@SQL)


FETCH NEXT FROM get_ColumnName INTO @ColumnName
End
CLOSE get_ColumnName
DEALLOCATE get_ColumnName


FETCH NEXT FROM get_TableName INTO @TableName

End

CLOSE get_TableName
DEALLOCATE get_TableName

[ add comment ]   |  permalink  |  related link  |   ( 3 / 10470 )
Ping work but no internet 
TCP/IP stack repair options for use with Windows XP with SP2/SP3.

Start, Run, CMD to open a command prompt:

In the command prompt window that opens, type type the following commands:

Note: Type only the text in bold for the following commands.

Reset TCP/IP stack to installation defaults, type: netsh int ip reset reset.log

Reset WINSOCK entries to installation defaults, type: netsh winsock reset catalog

Reboot the machine.


[ add comment ]   |  permalink  |  related link  |   ( 3 / 4673 )
How-To: Find your Windows XP Product Key on the Windows XP CD 
I have only tried it on a XP Professional CD, but it should work for the Home and OEM versions of Windows XP from restore disks.

How-To: Find Windows XP Product Key from the Windows XP CD:

1) Insert Windows XP cd into a working computer.
2) Exit the Autorun introduction.
3) Open “My Computer”
4) Right Click on the Windows XP cd-rom drive and select explore.
5) Open the USWXP32P_ZX folder. (It may be as a hidden folder. If you cannot locate the folder, you may also search for unattend.txt and mark “Search Hidden Files”.)
6) Open the sysprep folder.
7) Open unattend.txt

Your CD’s product key is contained within the unattend.txt file.

[ add comment ]   |  permalink  |  related link  |   ( 3 / 3083 )
How to disable Adobe updater 
The solution is very simple. Find through search in disc C file “AdobeUpdaterPrefs.dat” (c:\Documents and Settings\UserName\Local Settings\Application Data\Adobe\Updater5), click with right mouse button and change Attributes of this file to "Read only". UPD: Open this file with any text editor (Notepad) and change year value in this line to 2008 or 2009 <LastDateCheck>2008-10-29</LastDateCheck> or just delete this file, though its very radical cure to my mind.

[ add comment ]   |  permalink  |  related link  |   ( 3 / 8990 )

NextNext