Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Cannot run Ping.exe from another drive/directory

28 Feb 2011   #1
WindowPains

Windows 7 pro 64-bit
 
 
Cannot run Ping.exe from another drive/directory

I wanted to have copies of some of the intrinsic Windows 7 operating system command line .exe files located on another drive and directory. When I run C:\Windows\System32\Ping.exe /? at an Adminstrator's command prompt, it runs fine. If I copy this .exe to X:\Temp\ping.exe (X: is on the same hard drive on the same computer), it will not run at an Adminstrator's command prompt. The file on X: has full permissions. I am running Norton Internet Security. This must have an obvious answer, but I am mystified.

Thank you


My System SpecsSystem Spec
.

28 Feb 2011   #2
zigzag3143

Win 8 Release candidate 8400
 
 

Quote   Quote: Originally Posted by WindowPains View Post
I wanted to have copies of some of the intrinsic Windows 7 operating system command line .exe files located on another drive and directory. When I run C:\Windows\System32\Ping.exe /? at an Adminstrator's command prompt, it runs fine. If I copy this .exe to X:\Temp\ping.exe (X: is on the same hard drive on the same computer), it will not run at an Adminstrator's command prompt. The file on X: has full permissions. I am running Norton Internet Security. This must have an obvious answer, but I am mystified.

Thank you
No obvious answer. Ping and many other command have dependencies. They need other things in order to run. Other things also need them to run.

Why would you want to do that?
My System SpecsSystem Spec
28 Feb 2011   #3
WindowPains

Windows 7 pro 64-bit
 
 

I am actually trying to set up the use of the command line program Robocopy.exe by putting together a consolidated set of files (executable, script files, and help documents) needed to make it do what I want it to do. These command line programs such as ping and robocopy are small program files, and as I learn how to use this new OS, I am trying to learn what unexpected problems and restrictions I encounter in doing what I have easily done in the past. Win 7 has obviously introduced some new barriers which so far seem pretty pointless. The dependencies for ping or robocopy are of course still present in the system file locations, same computer, so they should be findable, but your suggestion that maybe ping and robocopy can't find them is intriguing. However, there is no problem doing what I stated I am trying to do in Windows XP SP3.

Thank you.
My System SpecsSystem Spec
.


02 Jan 2013   #4
archans

Windows 7 Enterprise (64-bit)
 
 
Having the same issue

Has this issue been resolved? Please post your findings/resolution.
My System SpecsSystem Spec
Reply

 Cannot run Ping.exe from another drive/directory




Thread Tools





Similar help and support threads
Thread Forum
Can I move the User directory to a second drive
I have a 30Gb ssd drive which I have tried to keep free for the operating system only. However, I now have less than 3Gb free. Can I move the Used directory on to my second 500Gb drive?
General Discussion
Sharing a directory on an external drive
I have recently purchased a USB Harddrive. I wish to share a directory on it, but when I tried through the share menu, or by clicking on 'share this' in Windows Explorer, Windows 7 told me that 'This folder can't be shared'. When I tried the advanced sharing settings, I get an error telling...
Network & Sharing
Can't delete directory on external hard drive
I have an external 1 TB hard drive. Its usually connected to an XP machine, but I can move it to a Win 7 machine. I am unable to delete a directory. I got a hint to try using the CMD window. The top of the dir list is: K:\ dir /X Volume in drive K is 1TB HD Volume Serial Number is...
General Discussion
Can't delete directory on external hard drive
I have an external 1 TB hard drive. Its usually connected to an XP machine, but I can move it to a Win 7 machine. I am unable to delete a directory. I got a hint to try using the CMD window. The top of the dir list is: I tried deleting the first directory using both long and short name. It...
General Discussion
how do i move the users directory from C: to another drive?
Hi all, I have a computer with a 60 gb SSD and 1 tb HDD and the users folder is stuck on the ssd. I want to move it to the HDD where there is more room for files. I already tried to to this but it didn't work. I copied the users folder to the HDD and made a link to it on the ssd. But this did...
Performance & Maintenance
directory changes for portable hard drive
Hello, I hope I'm posting this in the right forum. Recently bought a new portable with Windows 7 Pro. I have several portable hard drives that I use, two of them are almost constantly usb'd to the computer, and there are two others I use occasionally. At first the "constant" drives were called "F"...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:19.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App