Krishna, Hari wrote:
> Hi,
> 
> Long back I asked a question related to "Delete" a file and I finally
> found that there is no "Delete" but you need to use "Unlink" function.
> 
> Now I have thoughts of using System(rm,filename); and execute it.
> 
> Can I do it and if so what is the difference between System(rm) and
> Unlink? 

In Unix Programming, the function equivalent to unlink() is remove(), "rm"
is a shell command. If you want to call it, you must use "system(rm, ...)",
but you can directly delete a file in C programming with "remove(filename)"
or "unlink(filename)", they are the same. 
 
Regards,
Xu Qiang
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to