#include #include #include #include using namespace std; int main() { string image; string part1; string start; cout << "Welcome to the QEMU Launcher" << endl; cout << "" << endl; cout << "Please enter the name of the disc to be inserted" << endl; cout << "into the virtual CD-ROM drive. Please enter 'no-cd' if" << endl; cout << "you do not wish for a ISO to be mounted into the drive." << endl; cout << "" << endl; cout << "Enter filename: "; cin >> image; if (image != "no-cd") { part1 = "\\PortableApps\\QEMU\\data\\qemu.exe.exe -L . -m 8 .\\hd.bin -cdrom .\\"; start = part1 + image; cout << "Starting QEMU..." << endl; system(start); } return 0; }