July 13, 2016 at 9:15 pm
Hi,
Whenever I tried to connect to Program Files (x86) using Command prompt, it keeps saying it is not recognized. How can I overcome it? Actually I was trying to connect to mof file for configuration of reporting services. But I am having problem in command prompt and unable to proceed further. Your help is much appreciated. Thanks. (P.S: I am not really sure it is the appropriate place to ask about it , but it is somehow related to cmd prompt and I have no idea on how system works. Please feel free to direct me to proper forum to ask if I am asking in wrong place.)
July 14, 2016 at 2:36 am
What do you mean by trying to Connect to Program Files(x86)? Program Files is a directory, so you would simply browse to it. In Command prompt this would be 'cd "Program Files (x86)"'. MS makes it even easier to browse for long/complex paths by using the TAB key. If you type 'cd Pro' and then hit TAB, it'll change to 'cd "Program Files'" hit TAB again and it'll change to the x86 folder.
This works for anything. If you were in a directory, and wanted to browse to a directory called "My Really long directory name - it's really long, and annoying" you could type "cd My" and hit tab and it would do the rest for you.
P.s. Just in case, you'll need to ensure you're at the root of the drive your Program Files is in. This is likely C. typing 'cd \' will take you there. if it's on a different drive, you'll need to type '[Letter]:'. For example it it's on E, you'd type 'E:', then 'cd "program Files (x86)"'
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
July 14, 2016 at 3:38 am
Hi Thom,
Now I am getting another problem that the system cannot find the specified path, when I run the mofcomp
C:\Program Files\Microsoft SQL Server\110\Shared\sqlmgmproviderxpsp2up.mof"
Since the problem isn't solved, afraid there might be problem in path environment system variable, I even make sure and check that the correct paths are added in
C:\WINDOWS\system32 and C:\WINDOWS\system32\wbem.
Any idea how can I resolve this?
July 14, 2016 at 3:59 am
Try this:"C:\Program Files\Microsoft SQL Server\110\Shared\sqlmgmproviderxpsp2up.mof"
John
July 14, 2016 at 4:04 am
Hi John,
I tried with Program Files as you suggested. But it says it is not recognized as external or internal command.
July 14, 2016 at 4:09 am
In that case, I would guess either that sqlmgmproviderxpsp2up.mof doesn't exist in the location specified, or that the.mof extension is recognised as that of an executable file.
John
July 14, 2016 at 4:12 am
I see....
But I have already checked that file is in there.
July 14, 2016 at 4:20 am
Apologies, I missed an important word out of my last post:
or that the.mof extension is not recognised as that of an executable file
John
July 14, 2016 at 4:26 am
yes previously I tried with Program Files(x86) and just now I tried Program Files.
July 14, 2016 at 4:29 am
Try these commands, one at a time in the same order:c:
cdcd "Program Files"
cd "Microsoft SQL Server"
cd 110
cd Shared
sqlmgmproviderxpsp2up.mof
John
July 14, 2016 at 5:08 am
Hi John,
The root of the problem is at the last part, sqlmgmproviderxpsp2up.mof . It keeps saying it is not recognized as internal or external command, operable program or batch. Apparently the mof file location is having issue. :pinch:
July 14, 2016 at 5:14 am
As I suspected, then, the.mof extension is not recognised as that of an executable file. You'll need to find a program to open the file with.
John
July 14, 2016 at 5:17 am
Viewing 15 posts - 1 through 15 (of 36 total)
You must be logged in to reply to this topic. Login to reply