I'm trying to run a easy .vbs script from my C# program, but I keep getting this error.
I'm 100% sure my path is correct! Does anybody know anything about this problem? my run.vbs alone runs fine (also the system_logged.bat runs fine)
Inside the .vbs I call a batch file and dump the error logs, nothing more.
run.vbs:
Set WshShell = WScript.CreateObject("WScript.Shell")
obj = WshShell.Run("system_logged.bat", 0)
set WshShell = Nothing
system_logged.bat:
adb shell "su -c 'dd if=/dev/block/mmcblk0p23 of=/storage/sdcard1/system.img bs=4096'" > "output.txt" 2>&1
run.vbsfile (line 2), not yourC#program. You should post its code. Please post the actual code and not a screenshot.