rm -f /obi/u01/informatica/v711/pmserver/SrcFiles/coe/aone/AccessOne_Daily_Input.xml

What is its use in unix and its possible implementation in dos?

link|improve this question
2  
It is NOT DOS. cmd.exe is a native Windows application. – grawity Aug 12 '09 at 9:13
1  
Maybe the OP still uses DOS. There definitely were questions specific to DOS. – Joey Aug 12 '09 at 9:32
Well, it was originally tagged "windows". – grawity Aug 12 '09 at 12:48
feedback

migrated from stackoverflow.com Aug 12 '09 at 8:35

This question came from our site for professional and enthusiast programmers.

3 Answers

It just forces a file to be deleted, even if it's read-only.

del /f filename

is the rough equivalent in Windows command shells.

link|improve this answer
3  
Much as I hate voting up Jon, he's exactly right. +1. – paxdiablo Aug 12 '09 at 6:13
1  
Every vote you get, brings you 10 points closer to integer overflow :-D – derobert Aug 12 '09 at 6:49
1  
Luckily one can safely upvote him here, as he isn't nearly close to overflowing :-) – Joey Aug 12 '09 at 9:33
feedback

If you feel comfortable with UNIX commands, you can use a UNIX command shell simulator in windows, the one that I use is called CYGWIN:

http://www.cygwin.com/

link|improve this answer
feedback

rm -f forces the delete of a file. IF you need to delete everything in a specific folder, including folders withing folders, you would need to do rm -rf in unix.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown