How to make tasklist.exe run on windows 2000 - new-operator

Can someone please tell me how to make tasklist.exe file run on Windows 2000. I downloaded the file from net & placed under the system32 folder. However when I tried to execute the file it prompted me a message "ERROR:the target system must be running Windows XP or above"
So can someone please tell me how to run this on windows 2000? I badly need this, as I am doing a batch script to find out the foreground processes running in my windows 2000 machine.
Appreciate your help.

I looked but couldn't find a version for Windows 2000. But I did find this article on using an alternative program.

The original tasklist.exe will not work in stock Windows 2000 because it's looking for APIs which don't exist there. You can use a modified version created blackwingcat:
http://blog.livedoor.jp/blackwingcat/archives/1372175.html
Just download and unpack taskcmds.cab.

Related

Oracle bi config.cmd not run in windows 10

I am trying to install oracle bi on Windows 10.
I ran the install file and set weblogic and repository, but when I go to this directory:
C:\Oracle\Middleware\Oracle_Home\bi\bin

and try to run the config.cmd, the command prompt opens and immediately closes. It doesn’t show me the setup window.
How can I solve this problem?
Very simple solution: not trying to install OBI on an unsupported platform!
https://dimensionality.ch/2017/05/06/installing-oracle-bi-on-windows-7-8-10/
By the way the response in here will stay the same as on the Oracle communities ...
I had the same issue as you and I was to gave up but I decided I don't do it and I start to search for this problem. The first things to have to do is check your PATH JAVA_HOME. My native language is Spanish and my windows OS is in Spanish.
My JAVA_HOME was C:\Program Files (x86)\Java\jdk1.8.0_181 and I have a problem to time installing so I change by C:\Progra~2\Java\jdk1.8.0_181 then I restart my laptop and I open CMD as Admin and put cd C:\Oracle\Middleware\Oracle_Home\bi\bin because in this route was installed my OBI. After that just put C:\Oracle\Middleware\Oracle_Home\bi\bin>config.cmd and I can continue to the configure of OBI.
Progra~1 = 'Program Files'
Progra~2 = 'Program Files(x86)'
If you forgot anything, just enter to link to refer:
http://obieeil.blogspot.com/2015/10/installing-obiee-12c-on-my-windows.html
or
http://www.catgovind.com/obiee/step-by-step-obiee-12c-installation-on-windows-oracle-bi-publisher-installation-and-oracle-bi-analytic-installation/

Windows cannot find 'C:\file_name.bat.' Make sure you typed name correctly, and then try again

I have a problem with running *.bat file.
It looks like a virus.
Does anyone know what is wrong with my Windows?
How to solve it?
I can run *.bat when I use Run as Administrator.
I tried to delete a .bat from: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\
Sounds like you've just messed something up in your registry. I can send you a .reg file to fix it. I have windows 8 so this should work if you have 8, 7 or vista. Not so sure if it will work for XP though, in witch case you shouldn't be running it anyway.
Download -> http://www.4shared.com/file/m3gRIasace/Bat_regfix.html
Simply run the .reg file and it should restore the missing .bat extension. Then i suggest running a scan with Malwarebytes afterwards. Link -> www.malwarebytes.org
Make sure cmd.exe is in System32,i placed it on desktop and i had the same problem as you.

powershell won't start without CD in drive

I am using Windows 7 and have upgraded to Windows Management Framework 3.0, which includes PowerShell 3. Within the past week or so, I have started getting an error upon starting PowerShell that prevents it from starting until there is a CD in my computer's drive (any CD will do). The only fix I have found so far—and this is only a temporary fix—is to completely uninstall and reinstall the Management Framework. This works until I use the CD drive for something, then PowerShell starts acting up again. The error dialog reads: There is no disk in the drive. Please insert a disk into drive D:.
Does anybody have any suggestions for what might be going on here? I see two possible problems related to configuration settings, but still need guidance about what/where to check and verify:
PowerShell is configured somewhere to check certain drives on startup, and isn't responding well to an empty CD drive
PowerShell is actually trying to open to some path on D:\. I'm pretty sure this is not the problem, since it opens to my %USERPROFILE% when there is a CD in the drive, but of course I could be missing something
Of course, I'm sure there are plenty of other possibilities I haven't considered
Any thoughts on possible fixes? I'd like not to have to uninstall and reinstall the Management Framework every time I use my CD drive!
EDIT: Additional details below copied from my responses to various comments
I can recreate the error by launching PowerShell in multiple ways. Shortcut is one. Starting it from a Command Prompt (cmd.exe) is another. Even trying to call a PowerShell script from a Command Prompt using something like PowerShell -ExecutionPolicy RemoteSigned -File script.ps1 produces the error, and so does PowerShell /?.
I don't see anything pointing to D:\ in $env:PATH and $env:HOMEDRIVE is not set to D:. %windir% is set to C:\Windows, %SystemDrive% is set to C:, and %SystemRoot% is set to C:\Windows.
Re-assigning the CD drive to a different letter resolves the problem, but this isn't a solution because it addresses the symptom and not the underlying cause (whatever that is).
When everything else fails, I can still start PowerShell from Cygwin
Process Monitor (linked below) is showing an attempt to read a non-existant registry entry HKCU\Software\Classes\Local Settings\MuiCache\5E6\52C64B7E\#D:\Windows\system32\AccessibilityCpl.dll,-10. Whatever mechanism is causing that bad read is likely also causing the error dialog. Something must be programmatically changing the system drive within PowerShell itself.
Further thoughts and suggestions are appreciated.
When Powershell first launches, it checks designated folders to import modules. I would take a good look at these. The default var is $env:PSModulePath and acts much like the standard $env:Path var. I would review that path and see if there are any references to the D: drive there.
MSDN - Windows PowerShell Modules
Are you installing .net from the DVD drive? Maybe downloading a fresh copy from MS would clear this up. MS .Net Framework 3.0 is very old, it is actualy designated for Server 2003 or WinXP. Is there a reason you are using it instead of 3.5, 4 or 4.5.1?

VB6 Legacy Code can't "Call Shell"

I am working on some legacy VB6 code and I am having my program break with this message:
and it then highlights this code:
I know that the specified locations exist per these screenshots:
I am running this Visual Studio 6.0 on a 64-bit Windows 7 machine. How can I make the program see shell?
command.com does not exist on 64 bit windows.
Try using C:\Windows\SysWOW64\cmd.exe instead. C:\Windows\SysWOW64 is a folder giving you backwards compatibility stuff for 32 bit.
But see the comment below (taken from Euro Micelli).
Really you should use %SYSTEMROOT\System32\cmd.exe instead. First, Windows is not always installed in C:\Windows; you should let the system figure that out. Second, using System32 is always correct for a 32-bit application: when running on Win32, it is the correct folder; when running on Win64, Windows will map %SYSTEMROOT%\System32 to %SYSTEMROOT%\SysWOW64
I use vb6 and windows 7.
I've done the same thing as you but I put the dos command in a bat file.
Login.bat
NET USE W: \\10.48.10.8\e$
Then in the code
Shell ("c:\login.bat")
The vb command is not correct for the OS that you are running. You need to check that that drive is not already mapped, and remove the command.com /c from the command that you are trying to execute.

Where can I get the cabarc utility?

I'm trying to compile a program which uses cabarc.exe, but I don't have cabarc.exe. The problem is that the Microsoft Cabinet SDK is no longer available so I can't get it from there either.
Where can I get this file?
P.S. I'm looking for a download from a trusted source such as microsoft.com
It appears that the cabarc.exe utility has been replaced with makecab.exe, which comes with Windows [source].
It should be located in:
C:\WINDOWS\system32
The cabarc documentation can be found here.
The makecab documentation can be found here.
cabarc.exe is available as a part of the Windows XP Service Pack 2 Support Tools.
You can extract only this utility using commands like these (if you don't run XP):
WindowsXP-KB838079-SupportTools-ENU.exe /C /T:%TEMP%
extract /E %TEMP%\support.cab cabarc.exe
You can download the CabSDK from here:
Download the Microsoft Cabinet SDK version 4.71.410.0
In Windows 7 (and possibly Vista) instead of extract you use expand. The syntax is slightly different, but see below for the one that worked for me. Replace %TEMP% in the second command with wherever you want the cabarc.exe file to end up.
WindowsXP-KB838079-SupportTools-ENU.exe /C /T:%TEMP%
expand %TEMP%\support.cab -F:cabarc.exe %TEMP%
You can find cabarc.exe in the Internet Explorer Administration Kit.
Strangely though, IEAK 11 has cabarc.exe version 5.0.2147.1, while IEAK 10 has version 6.2.9200.16521.
For Windows 8 and Windows 8.1 use the Windows ADK
Download and install the Windows ADK from this website.
for the expand.exe command refer to
http://technet.microsoft.com/en-us/library/hh825253.aspx
The destination directory has to exist before executing the expand command. For example:
expand Dell-WinPE-Drivers-A02.CAB Dell-WinPE-Drivers-A02 -f:*

Resources