jquintino Posted January 17, 2005 Posted January 17, 2005 hello to alli need to kill a aplication i use takkill but dont works ...this is my runoence cmdow @ /HID@Echo OffSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY%\029 /V 1 /D "%systemdrive\programas\pdfreader\pdfreader.exe" /FREG ADD %KEY%\029 /V 2 /D "TASKKILL /F /IM PDFReader.exe /T" /fEXITcould someone tell me here is the error
jquintino Posted January 17, 2005 Author Posted January 17, 2005 more explicityi want to run the pdfreader during the unattend and kill after inside the unattended installation
prathapml Posted January 17, 2005 Posted January 17, 2005 jquintino, taskkill.exe is not present in XP home or Win2k.You can use this alternative (much better too) - pskill.Usage:pskill PDFReader.exeEnsure you have pskill.exe in "$OEM$\$$\System32\" on your CD, to be able to use it from command-line.Hoping this helps...
jquintino Posted January 17, 2005 Author Posted January 17, 2005 you now that pdfreader from foxit dont associat the files but if you run one time the pfdfreader associat instantadlysorry my bad ingies
MCT Posted January 17, 2005 Posted January 17, 2005 u can make a .reg entry as i do to associate it with files
Martin Zugec Posted January 17, 2005 Posted January 17, 2005 If U got XP Pro, U can try me way of killing apps:wmic process where "name='proces.exe'" call terminate
MCT Posted January 17, 2005 Posted January 17, 2005 2 complicated just to kill a task lolpskill rocks
Martin Zugec Posted January 17, 2005 Posted January 17, 2005 Well, the point is if U R familiar with this syntax, U can work with almost everything (that have WMI providers) - HW, SW, processes, user accounts, services, OS etc... For me it is faster to use wmic command than to remember another syntax. And WMIC is in every XP, so no need for external commands
totoymola Posted January 17, 2005 Posted January 17, 2005 soulin, I didn't know that command. Could you explain to me what it does? I tried WMIC /? and got nothing. I want to know the switches.
Martin Zugec Posted January 17, 2005 Posted January 17, 2005 Wmic /? should provide U with switches U can use almost everything, from HW to SW, processes, services... Every WMI class...
totoymola Posted January 17, 2005 Posted January 17, 2005 I get it now. First, I typed wmic so I got this prompt.wmic:root\cli>Then I typed wmic /? from there. That's why I didn't get the list of switches.
jquintino Posted January 17, 2005 Author Posted January 17, 2005 what i understand is thiscmdow @ /HID@Echo OffSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY%\029 /V 1 /D "%systemdrive\programas\pdfreader\pdfreader.exe" /FREG ADD %KEY%\029 /V 2 /D "pskill PDFReader.exe " /fusing the pskill inside the folder sytem32right?
totoymola Posted January 18, 2005 Posted January 18, 2005 using the pskill inside the folder sytem32right?Right. PSKILL PROGRAMNAME
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now