Advertisement
7_2009-2012 Files #232025

Autorun Generator

Generates a autorun.inf

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
#include <fstream.h>
int main()
{
char filename[80];
cout <<" Welcome To Autorun Maker 1.0 \n \n";
cout <<" Please enter the file name you would like to make autorun\n";
cout <<" ::";
cin.get(filename,79);
ofstream file;      //creates an ofstream object
 
file.open("autorun.inf"); //creates the autorun.inf file and opens it for writing
file<<"[autorun]\n";       //writes to the file
file<<"open="<<filename<<"\n";
file.close();
   return 0;
}
Original Comments (3)
Recovered from Wayback Machine