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: net start command line issue - 64bit issue?


11 May 2011   #1

windows 7
 
 
net start command line issue - 64bit issue?

I am trying (in vain) to issue a net start command "net start - "C:\Program Files (x86)\uTorrent\utorrent.exe", on the command line. The error message is "the filename, directory name or volume label syntax is incorrect". I believe the 3 details are correct, as i am looking at the utorrent.exe file right now, which is sitting on that path. The only issue i can think of is that, since i am running Windows 7 64bit, there nay be some sort of problem with the "(x86)" bit in the path name.

Any ideas?


Thanks

Andy

My System SpecsSystem Spec
.

11 May 2011   #2
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Andy,

If you were just wanting to run the utorrent.exe file, then you would just need to use either command below to do so instead. The net start command is for services instead.

"C:\Program Files (x86)\uTorrent\utorrent.exe"

OR

"%ProgramFilesx86%\uTorrent\utorrent.exe"
My System SpecsSystem Spec
11 May 2011   #3

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
 
 

Why would you use command "net start"? It starts system services.

However, if you managed to create yourself utorrent as a system service you could substitute Program Files (x86) into same thing in dos version. So it would go like this:
Code:
C:\Progra~3\uTorrent\utorrent.exe
At the end of this post I have explained how to use dos links if problem with spaces in names of folders occurs.

Or use quotation marks are Brink suggested.
My System SpecsSystem Spec
.


Reply

 net start command line issue - 64bit issue?




Thread Tools




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 12:55 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33