Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I tried this in my shortcut target input field but it doesn't work. The dialog box gives me an error message invalid path? "C:\Windows\System32\cmd.exe /C start /high /affinity 3 D:\The Elder Scrolls V - Skyrim\skse_loader.exe". Notice the spaces in the pathname. Is this the space character that need to be escaped?

share|improve this question
add comment

2 Answers

up vote 0 down vote accepted

Problem solved. The start option need a title to work: http://www.vistax64.com/gaming/197915-setting-processor-affinity-made-easy.html. C:\Windows\System32\cmd.exe /C START "Skyrim" /high /affinity 3 "D:\The Elder Scrolls V - Skyrim\skse_loader.exe"

share|improve this answer
    
Please mark this as the accepted answer to your question. –  screener Dec 26 '11 at 23:56
add comment

From your path

"C:\Windows\System32\cmd.exe /C start /high /affinity 3 D:\The/ Elder Scrolls V - Skyrim\skse_loader.exe"

The following part, and especially the slash seems to be most suspicious, since it is not allowed in path:

D:\The/ Elder

I would re-write your target using the short 8.3 name (it is the fake name in the example just to show what it should like):

"C:\Windows\System32\cmd.exe" /C start /high /affinity 3 D:\TheElde~1\skse_l~1.exe

share|improve this answer
    
I'm sorry, I was too fast. I've tried to escaped the space character with the slash character but I forget to delete in my question. About your suggesting it doesn't work. The path opens a terminal with the path but it is not starting the program. –  Phpdna Dec 26 '11 at 19:16
    
Try converting your long path into short one and you won't need the quotes. You can use dir /x to see the short paths: you'll need that for your Elder Scroll folder and for executable only. –  Alexander Galkin Dec 26 '11 at 19:32
    
Thanks, start option needs a title. –  Phpdna Dec 26 '11 at 19:44
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.