Process No-1
You can also right-click the Start button, click on Properties, click on Customize, then click on Clear. The Run command cache will be gone!
Process No-2
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU as a series of values a-z. To delete an entry from the run menu perform the following:
Start the registry editor (regedit.exe)
Move to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU
Select the entry you wish to remove, e.g. h
Press the Del key (or select Edit - Delete) and click Yes to the confirmation
Double click the MRUList value and remove the letter you just deleted. Click OK to save the change
Close the registry editor
Tuesday, June 2, 2009
Saturday, May 30, 2009
Tuesday, May 19, 2009
Exception Log file generator.
//This is a static function to save the exception in a file.
public static boolean writeToFile(String text)
{
Date recentdate=Calendar.getInstance().getTime();
logger=new File("C:\\File_Name.txt");
try {
FileWriter fw = new FileWriter(logger, true);
fw.write("\n"+recentdate+": "+text);
fw.flush();
fw.close();
} catch (IOException ex) {
JOptionPane.showMessageDialog(null, ex);
return false;
}
return true;
}
public static boolean writeToFile(String text)
{
Date recentdate=Calendar.getInstance().getTime();
logger=new File("C:\\File_Name.txt");
try {
FileWriter fw = new FileWriter(logger, true);
fw.write("\n"+recentdate+": "+text);
fw.flush();
fw.close();
} catch (IOException ex) {
JOptionPane.showMessageDialog(null, ex);
return false;
}
return true;
}
Friday, May 8, 2009
To set "start command prompt here" in right click of all folder.
First go to run:
then write "regedit"
Then goto:-
HKEY_CLASSES_ROOT/Directory/shell/
Edit the default here.
(Default) Start Command Prompt Here
After that create key prompt and in prompt create another key command then edit the value as in bold letter.
HKEY_CLASSES_ROOT/Directory/shell/prompt/command
(Default) cmd.exe /kcd%1
then write "regedit"
Then goto:-
HKEY_CLASSES_ROOT/Directory/shell/
Edit the default here.
(Default) Start Command Prompt Here
After that create key prompt and in prompt create another key command then edit the value as in bold letter.
HKEY_CLASSES_ROOT/Directory/shell/prompt/command
(Default) cmd.exe /kcd%1
Avoid windows crash by delete some unused files from windows folder
Go to internet explorer then type (System Drive like 'C'):\WINDOWS\system32\dllcache
then delete all the files.
then delete all the files.
Saturday, February 14, 2009
Use Java variable in javascript
function username()
{
user='${username}';//Here username is a java variable.....
}
{
user='${username}';//Here username is a java variable.....
}
Subscribe to:
Posts (Atom)