Open Meowloid opened 3 weeks ago
I'll go ahead and close this discussion, as there's no issue to be solved.
We can keep this open, as it is a tip that others can benefit from. Thanks for sharing @Meowloid
Just to share another way of running the bat file on Window:
This will run the script and compare the two files without closing the command prompt
Eg.
Let's say your text-ui-test folder exists at C:\Users\name\CS2103\ip\text-ui-test
.
You will run C:\Users\name\CS2103\ip\text-ui-test\runtest.bat
for step 2
Just to share another way of running the bat file on Window:
- Open up cmd and navigate to the text-ui-test folder
- Enter the file path of runtest.bat
This will run the script and compare the two files without closing the command prompt
@Incogdino Good suggestion 💯
Hello friends, just wanting to share an experience in doing Week 2's project tasks.
I found that the cmd window opened and closed too fast for me to see the result of the comparison in the .bat file, and I learnt that adding 'pause' at the end of the .bat file keeps the cmd window open for you. Just throwing this out for everyone else on Windows, so you don't have to check both EXPECTED.TXT and ACTUAL.TXT manually.