Overclock.net banner

1 - 3 of 3 Posts

·
Registered
Joined
·
103 Posts
Discussion Starter #1
i need to copy a file during setup, without using the $oem$ directories. or, does anyone know how to create a file from the command prompt, and saving it automatically. i.e.: have the guirunonce section say "start edit....." with the entries of the bat file underneath, and then a command at the end to close and save the edit. or any other suggestions.
 

·
Registered
Joined
·
824 Posts
Just have the runonce call a batch file.

Batch file would have all the actions..

Edit:
And depends on what you are trying to do.. are you creating a new file? Editing an existing file? This action is OK to happen on final boot? Is this an XLS, DOC, TXT, RTF?

If you just need to append text to a txt file...

echo "blah blah blah">>c:\\windows\est.txt

Will write new line after last line break that says blah blah blah.
 
1 - 3 of 3 Posts
Top