Timeline for Passing variables with space to the command line as admin
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 22, 2015 at 22:38 | vote | accept | Frontender | ||
Jun 22, 2015 at 20:59 | comment | added | Frontender | thanks a lot, seem work right now. i had find an issue. If the pathname of the directory with the .bat script look like "batch script inside", the script dont work. It's not a real problem, just use a simply name like "batch". | |
Jun 22, 2015 at 20:45 | history | edited | JosefZ | CC BY-SA 3.0 |
added 681 characters in body
|
Jun 22, 2015 at 20:27 | history | edited | JosefZ | CC BY-SA 3.0 |
added 119 characters in body
|
Jun 22, 2015 at 20:23 | comment | added | JosefZ |
Important: your shortcut target in the shell:SendTo folder should be cmd /C d:\batch\run.bat (note that windows will translate it to C:\Windows\System32\cmd.exe /C d:\batch\run.bat automatically after clicking Apply )
|
|
Jun 22, 2015 at 20:10 | comment | added | Frontender | hi, i have tryed your code. If i have a filename o pathname like "long path" with space inside, with administrator checked option dont work. the batch script is in d:\batch\run.bat, my OS is in c: | |
Jun 22, 2015 at 17:23 | history | answered | JosefZ | CC BY-SA 3.0 |