Disable IE8 Search Box
First option:
GPEdit.msc-> Local Computer Policy -> User Configuration -> Administrative Templates -> Windows Components -> Internet Explorer->Prevent Internet Explorer search box from displaying option->Enabled
Second option:
RegEdit.exe->HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\InfoDelivery\Restrictions->NoSearchBox data->set value data as 1
Compile Java Command Line Windows
Ensure Windows can access Java compiler:
- Go to control->system->advanced->environment vars->system vars->PATH
- Add C:\Program Files\Java\j2re1.4.2_03\bin; to beginning of PATH var (make sure correct path)
Ensure the correct version of Java is installed:
C:\java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)
Next enter:
C:\javac -version
javac 1.6.0_13
Compile:
C:\javac Example.java
C:\java Example
Folder Error “Access is Denied”
Turn off Simple File Sharing:
Click Start, and then click My Computer.
On the Tools menu, click Folder Options, and then click the View tab.
Under Advanced Settings, click to clear the Use simple file sharing (Recommended) check box, and then click OK.
Right-click the folder that you want to take ownership of, and then click Properties.
Click the Security tab, and then click OK on the Security message, if one appears.
Click Advanced, and then click the Owner tab.
In the Name list, click your user name, Administrator if you are logged in as Administrator, or click the Administrators group.
If you want to take ownership of the contents of that folder, click to select the Replace owner on subcontainers and objects check box.
Click OK.
Command Line Backup
ECHO OFF
SET date_str=%date:~10,4%%date:~4,2%%date:~7,2%_%time:~1,1%%time:~4,1%%time:~7,1%
CLS
:MENU
ECHO.
ECHO Select backup option
ECHO -----------------------
ECHO.
ECHO 1 - Example1
ECHO 2 - Example2
ECHO Q - Exit
ECHO.
SET /P M=Type 1, 2, or 3 then press ENTER:
IF %M%==1 GOTO Example1
IF %M%==2 GOTO Example2
IF %M%==Q GOTO EOF
IF %M%==q GOTO EOF
:Example1
xcopy s: "c:\ex1\ex1_%date_str%\" /H /e /y /C /EXCLUDE:ex1.txt
ECHO.
ECHO Files copied to directory 'ex1_%date_str%'
ECHO.
GOTO MENU
:Example2
GOTO MENU
XP Display Desktop Ver
Regedit > USER > control panel > desktop > paintdesktopversion
Remove a Directory and All Subdirectories
rmdir "c:\some dir" /s /q
Group Policy Editor
Gpedit.msc
– OR –
Click Start, and then click Run.
In the Open box, type mmc, and then click OK.
On the File menu, click Add/Remove Snap-in.
Click Add.
Under Available Stand-alone Snap-ins, click Group Policy, and then click Add.
If you do not want to edit the Local Computer policy, click Browse to locate the group policy object that you want. Supply your user name and password if prompted, and then when you return to the Select Group Policy Object dialog box, click Finish.
