To un/register Dll:
c:\>regsvr32 "C:\Windows\System32\My.dll"
c:\>regsvr32 /u "C:\Windows\System32\My.dll"
To un/register Exe:
c:\>"C:\Program Files\MyAppLocation\My.exe" /REGSERVER
c:\>"C:\Program Files\MyAppLocation\My.exe" /UNREGSERVER
Näytetään tekstit, joissa on tunniste command-line. Näytä kaikki tekstit
Näytetään tekstit, joissa on tunniste command-line. Näytä kaikki tekstit
torstai 3. huhtikuuta 2008
to kill a process from taskmanager from command-line
First you should check that process is really found at taskmanager. You can list processes with command TASKLIST. To kill a process use TASKKILL.
E.g. c:\>tasklist
To kill a process if you know it's process id (PID)
E.g. c:\>taskkill /pid 12345
To kill a process if you only know it's name
E.g. c:\>taskkill /im "winamp.exe"
To find a process if you know partial name
E.g. c:\>tasklist /fi "imagename eq win*"
For more examples
E.g. c:\>tasklist /?
E.g. c:\>taskkill /?
E.g. c:\>tasklist
To kill a process if you know it's process id (PID)
E.g. c:\>taskkill /pid 12345
To kill a process if you only know it's name
E.g. c:\>taskkill /im "winamp.exe"
To find a process if you know partial name
E.g. c:\>tasklist /fi "imagename eq win*"
For more examples
E.g. c:\>tasklist /?
E.g. c:\>taskkill /?
torstai 13. maaliskuuta 2008
Windows Vista by command-line : openfiles
Openfiles command is usefull tool to query open and shared files.
E.g.
C:\>openfiles /query /v
C:\>openfiles /?
original link techrepublic.com
E.g.
C:\>openfiles /query /v
C:\>openfiles /?
original link techrepublic.com
Windows Vista by command-line : systeminfo
With systeminfo command-line tool you can get some technical information and Service Packs (Hotfixes) installed on your Xp or Vista.
E.g.
This will collect all the data and outputs it to file systeminfo.log. It will be opened also.
c:\>systeminfo > systeminfo.log && start systeminfo.log
Original link: techrepublic.com
E.g.
This will collect all the data and outputs it to file systeminfo.log. It will be opened also.
c:\>systeminfo > systeminfo.log && start systeminfo.log
Original link: techrepublic.com
Blogged with Flock
Tilaa:
Blogitekstit (Atom)