windows « delete « C File Q&A

Home
C File Q&A
1.array
2.binary
3.delete
4.Development
5.directory
6.fgets
7.fopen
8.fprintf
9.fscanf
10.fwrite
11.header
12.include
13.input
14.LINE
15.linux
16.open
17.output
18.pointer
19.read
20.size
21.string
22.struct
23.Text
24.windows
25.write
C File Q&A » delete » windows 

1. Trouble deleting a file from c:\windows\system32 using C#    stackoverflow.com

Not quite sure why I can't get this file to delete. I'm logged in as Admin, tried "Run as Admin", tried running in the same folder, tried setting permissions on the ...

2. Delete all files from pendrive using C program    stackoverflow.com

I am searching for a solution to delete all files from my pendrive using a C program. I don't want the code to detect the pendrive as that's not a concern ...

3. Delete files and folders by date using SHFileOperation    stackoverflow.com

I'm trying to write a program that will delete a set of files/folders that are matching a specific naming pattern (wild cards) based on their dates using the windows API

...

  ...

4. There is a way to delete an file that is being executed without kill it?    stackoverflow.com

I have a question that I believe that is complex. I have an application that I execute under my Windows and it takes a long time to finish. I want to ...

5. How can I unlink/delete an open file in Windows?    bytes.com

"Malcolm McLean" Thanks for any advice. >> I don't know about Windows specifically but generally you need to close the file or the attempted deletion will fail. > system("del C:\\path\\to\\file"); > will delete. To keep this semi-on-topic, standard C provides the remove() function. However the results are "implementation defined" if the file is open, so ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.