Hack Forums
[Shell] How to run commands from running batch file? - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Shell] How to run commands from running batch file? (/showthread.php?tid=5661418)



How to run commands from running batch file? - FrogSquad4 - Jul 3, 2017

I wanna know how to have a batch file run a command one after the other after running a batch script. Anyone that can tell me how to do that?


This is what I tried but it doesn't work and I didn't expect it to.

color a
echo on
C:\Users\THunt\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\System Tools\

run "bcdedit /deletevalue nointegritychecks"
pause
bcdedit "/deletevalue loadoptions"
pause
bcdedit "/debug off"
pause
bcdedit "/deletevalue nx"
pause

C:\Users\THunt\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\System Tools\
pause
run "C:\Program Files (x86)\Steam\bin\SteamService.exe" /repair


* - Zens - Jul 4, 2017

You mean like display directory and then display "Hello"?