• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Strange cmd behavior

Stormlifter

2[H]4U
Joined
Oct 19, 2002
Messages
2,968
In my batch file I have

taskkill /IM LightTPD.exe /F

and it stopped working recently saying it's not a recognized as an internal or external command

but if copy/paste that into a new CMD window it works perfect.

What could be the cause?

OS: Windows 7 64-bit
 
Maybe the PATH environment variable is missing or modified for some reason while the batch file is running? In your batch file, try to enter the complete path for the executable:

Code:
%windir%\system32\taskkill.exe /IM LightTPD.exe /F
If all the environment variables are missing, just replace %windir% with your Windows directory.
 
I have a system variable called "windir" and it's set to "C:\Windows"

It's odd. My batch files used to be fine, now only opening up a new cmd window works for taskkill.
 
Back
Top