0

Try following line in command prompt with OneDrive working:

wmic process get Caption, ExecutablePath, ParentProcessId, ProcessId

You will see that there is one space difference after ExecutablePath if you compare OneDrive to all other programs. Why is that and how to fix that? (Believe it or not but this is actually important for me).

Output:

NvBackend.exe              C:\Program Files (x86)\NVIDIA Corporation\Update Core\NvBackend.exe                                              4168             5632       
SetPoint.exe               C:\Program Files\Logitech\SetPointP\SetPoint.exe                                                                 4168             5956       
svchost.exe                C:\WINDOWS\system32\svchost.exe                                                                                  780              6092       
OneDrive.exe               C:\Users\John\AppData\Local\Microsoft\OneDrive\OneDrive.exe                                                     4168             6120        
avastui.exe                C:\Program Files\AVAST Software\Avast\avastui.exe                                                                5564             4076       

I use Windows 10.

6
  • 3
    Can't repro here. The spacing appears even.
    – w32sh
    Commented Jun 13, 2016 at 15:21
  • That's interesting. Are all your processes even after you call command? In my case there is always problem with OneDrive.
    – Gunnm
    Commented Jun 13, 2016 at 15:25
  • 2
    Whatever it is you're doing, it would probably be easier in PowerShell. :) Commented Jun 13, 2016 at 15:41
  • 1
    Cannot reproduce. Agree with @Ƭᴇcʜιᴇ007 to use Powershell and deal with objects rather than spacing.
    – root
    Commented Jun 13, 2016 at 16:37
  • 1
    @Gunnm It won't bite, technet.microsoft.com/en-us/library/hh849832.aspx
    – root
    Commented Jun 13, 2016 at 17:44

0

You must log in to answer this question.

Browse other questions tagged .