Write a program to open, read and write files and perform file copy operation. This program show how to open, read, write and copy files using Linux or Unix system calls like open(), read() and write().
#include<stdio.h>
#include<fcntl.h>
main()
{
Information about resetting and configuring Mobile phones (Java, Android, Symbian etc), educational articles especially for programming in C, C++ and Java and more about Computers and operating systems
Showing posts with label open. Show all posts
Showing posts with label open. Show all posts
C Program to Open, Read and Write a file using System Calls
This is a C program to open , read and write files using system calls in Linux (UNIX) operating systems. The system calls open(), read() and write() are used in the C program to open, read and write files in Unix/Linux operating systems.
#include<stdio.h>
#include<fcntl.h>
main()
{
#include<stdio.h>
#include<fcntl.h>
main()
{
How to Launch an html file (web page) using Autorun
Here in this post we will see how to launch a .html file automatically from a CD or DVD using Windows AutoRun feature. If you are new to Autorun, please read this post: What is AutoRun and AutoPlay ? How to Set it ?
If you want to know more about autorun commands, please read this post: How to Make a AutoRun CD or DVD Using Autorun.inf
The open command used in tte autorun.inf file cannot launch an html file (web page ) directly. Instead, we can open the webpage through some application.
If you want to know more about autorun commands, please read this post: How to Make a AutoRun CD or DVD Using Autorun.inf
The open command used in tte autorun.inf file cannot launch an html file (web page ) directly. Instead, we can open the webpage through some application.
How to Launch .msi Files using Autorun from CD
In this post, we will see how to autorun a .msi file from a CD. If you are new to Autorun, please read this post: What is AutoRun and AutoPlay ? How to Set it ?
If you want to know more about autorun commands, please read this post: How to Make a AutoRun CD or DVD Using Autorun.inf
The open command supports only executable files. So, if you want to launch an msi (miscrosoft installer) file from CD automatically when it is inserted to CD drive, use the following code in the Autorun.inf file.
If you want to know more about autorun commands, please read this post: How to Make a AutoRun CD or DVD Using Autorun.inf
The open command supports only executable files. So, if you want to launch an msi (miscrosoft installer) file from CD automatically when it is inserted to CD drive, use the following code in the Autorun.inf file.
How to Make a AutoRun CD or DVD Using Autorun.inf
In this post we will see how to setup autorun on a CD or Pen drive using Autorun.inf file. If you are planning to create a CD with autorun (launch a file automatically on insertion of disc), this post will be helpful for you. If you are not much familiar with AutoRun, read the following post, to get an idea about autorun feature: What is AutoRun or AutoPlay and How to Set it?
Now, we see how to make an autorun CD.
What is AutoRun and AutoPlay ? How to Set it ?
AutoRun or AutoPlay is a feature of Microsoft Windows operating Systems which causes a certain file to be opened automatically when a Compact disc is inserted or a thumb drive is connected. Windows provide us some AutoPlay options to choose from. It can be chosen in the 'properties' of the CD Drive. You might have noticed that when we insert the CDs of Softwares or some movies some application will be launched automatically. In most cases, it may be one with a menu or a movie player. Such AutRuns are designed by the software vendors. Similarly, we can also design an autorun for a CD we burn or even for a pen drive.
Subscribe to:
Posts
(
Atom
)