Timeline for Startup .bat throws "cannot find the path specified" error
Current License: CC BY-SA 4.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 10 at 21:39 | vote | accept | Arctiic | ||
May 13, 2020 at 4:16 | comment | added | Io-oI |
See last edit without using & in vbs, escaping depends, sometimes I use chr(34) in bat, but depends on the case…
|
|
May 12, 2020 at 12:05 | answer | added | GlenRunciter | timeline score: 0 | |
May 12, 2020 at 11:58 | comment | added | Io-oI | Test with echo\ in the runes line, just to check if the vbs part is ok. then remove them leaving only the "Google" folder, and test again and see if it is ok, to isolate the error and understand if the bat part is called by the vbs part without problems. | |
May 12, 2020 at 7:37 | comment | added | Arctiic |
@ItWasn'tMe The double-quote there was a misinput, but it's still throwing the same error without it. Regarding the & how can I escape it properly, assuming that's the cause to the error? I've already tried && as well, which doesn't work as you suspected.
|
|
May 12, 2020 at 6:41 | comment | added | Io-oI |
Why you need this single/odd double quotes here: ...& Tech\Fixes &" ... ???
|
|
May 12, 2020 at 6:34 | answer | added | Io-oI | timeline score: 1 | |
May 12, 2020 at 6:09 | comment | added | Io-oI |
vbs will not understand this: && in: && %~s0 maybe : & %~s0
|
|
May 11, 2020 at 20:04 | history | edited | LPChip | CC BY-SA 4.0 |
Made post readable. The script can still be executed. Just added ^ linebreaks.
|
May 11, 2020 at 20:00 | comment | added | Arctiic |
M:/ is a local HHD, not a mapped network drive. And yes, that is the idea, I have some startup programs that are in shell:startup but are not being launched at startup, so I'm attempting to fix that by using a .bat instead.
|
|
May 11, 2020 at 19:58 | comment | added | LPChip | Is M: a network drive, and is the idea behind this script to run as administrator? | |
May 11, 2020 at 19:57 | history | edited | LPChip | CC BY-SA 4.0 |
added 46 characters in body
|
May 11, 2020 at 19:51 | history | asked | Arctiic | CC BY-SA 4.0 |