@echo off echo Testing PKM System with quoted arguments... echo. echo ======================================== echo 1. Clean start echo ======================================== if exist notes.txt del notes.txt echo ======================================== echo 2. Create notes with quoted arguments echo ======================================== java -cp "target/classes" com.example.App new "Java Basics" "Object-oriented programming principles" java -cp "target/classes" com.example.App new "Design Patterns" "Software design patterns" echo. echo ======================================== echo 3. List notes echo ======================================== java -cp "target/classes" com.example.App list echo. echo ======================================== echo 4. View notes.txt content echo ======================================== if exist notes.txt ( type notes.txt ) else ( echo notes.txt not found ) echo. echo Test completed! pause