deltree can be simulated using the following .cmd file:
- Create an empty file deltree.cmd in %windir%\system32 folder
- Add the following content to the file, and save the file.
@echo off
del /S /F /Q %1
rd /S /Q %1
deltree can be simulated using the following .cmd file:
@echo off
del /S /F /Q %1
rd /S /Q %1
Create the following DWORD key NoInternetOpenWith = 1 at
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
Note: It is a good idea to have ext3 as filesystem for your image partition so that the image file is not deleted accidentally and also it overwrites the FAT32 2GB filesize limit.
following code can be used to find if any service is installed and if so then return the state of the service.
import wmi class servicePython(): def __init__(self, serviceName): self.c = wmi.WMI () self.serviceName = serviceName def setServiceName(self, serviceName): self.serviceName = serviceName def getStatus(self): srv = c.Win32_Service (name=self.serviceName) if srv != []: return c.Status return False
When I try to install the install a service which i have just delete using sc command i get the following error :
“The specified service has been marked for deletion”.
Just close the services.msc and try again. otherwise one might have to restart the machine
to resolve the issue.
Create the following DWORD key NoInternetOpenWith = 1 at
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
Today i came across a nice defrag utility which is free and have most of the features, One can download it from http://www.defraggler.com/.
Click Start, Run and type CMD
Type the command given below:
WMIC /OUTPUT:C:\ProcessList.txt PROCESS get Caption,Commandline,Processid
or
WMIC /OUTPUT:C:\ProcessList.txt path win32_process get Caption,Processid,Commandline
Eg:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\\.osd] @="SoftGrid.osd.File" "Content Type"="application/softricity-osd"
[HKEY_CLASSES_ROOT\\SoftGrid.osd.File\\shell\\UpdateOSD]
[HKEY_CLASSES_ROOT\\SoftGrid.osd.Fileshell\\UpdateOSD\\Command] @="\"C:Program Files\\AddTabsToOSD\\addTabsToOSD.exe\" \"%1\""
The above reg key will add UpdateOSD menu for .osd file type
Steps