473,805 Members | 2,074 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

restricting deletion on local drives

i am trying to restrict deletion on local hard drives i have expertise
in c, c++, and delphi if the solution can be found on any of the above
languages plz inform me.
Jul 22 '05 #1
6 1805
sumit wrote:
i am trying to restrict deletion on local hard drives i have expertise
in c, c++, and delphi if the solution can be found on any of the above
languages plz inform me.


C and Delphi are completly OT here.
Also, C++ has no concept of "drives", or "deletion", so please ask in a
group dedicated to your platform.

Please read the FAQ before posting again:
http://www.parashift.com/c++-faq-lite/).
- Pete
Jul 22 '05 #2
sumit wrote:
i am trying to restrict deletion on local hard drives i have expertise
in c, c++, and delphi if the solution can be found on any of the above
languages plz inform me.


C and Delphi are completly OT here.
Also, C++ has no concept of "drives", or "deletion", so please ask in a
group dedicated to your platform.

Please read the FAQ before posting again:
http://www.parashift.com/c++-faq-lite/).
- Pete
Jul 22 '05 #3
Pete wrote:
sumit wrote:
i am trying to restrict deletion on local hard drives i have expertise
in c, c++, and delphi if the solution can be found on any of the above
languages plz inform me.

C and Delphi are completly OT here.
Also, C++ has no concept of "drives", or "deletion",


Well, it does have the remove(const char *) function for deleting a file.

But there is no reasonable, topical answer to the OP's question.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.
Jul 22 '05 #4
Pete wrote:
sumit wrote:
i am trying to restrict deletion on local hard drives i have expertise
in c, c++, and delphi if the solution can be found on any of the above
languages plz inform me.

C and Delphi are completly OT here.
Also, C++ has no concept of "drives", or "deletion",


Well, it does have the remove(const char *) function for deleting a file.

But there is no reasonable, topical answer to the OP's question.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.
Jul 22 '05 #5
Kevin Goodsell wrote:
<snip>

Well, it does have the remove(const char *) function for deleting a
file.
Wow, I was able to miss that and use platform specific removal functions for
quite a while! :S

- Pete

<snip>
Jul 22 '05 #6
Kevin Goodsell wrote:
<snip>

Well, it does have the remove(const char *) function for deleting a
file.
Wow, I was able to miss that and use platform specific removal functions for
quite a while! :S

- Pete

<snip>
Jul 22 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
6595
by: Tuhin Kumar | last post by:
Hi, I have a requirement on improving the deletion rate on on records of a table. The table contains 5 million records, but since deleting everything matching the condition at one go was giving the ROLLBACK segment allocation error, the query was called in a loop and deleting 2000 rows at one interation. My query is: DELETE FROM Table1 WHERE TimeStamp >= TO_DATE('2003-11-30 18:30:00', 'YYYY-MM-DD HH24:MI:SS') and TimeStamp <=...
6
341
by: sumit | last post by:
i am trying to restrict deletion on local hard drives i have expertise in c, c++, and delphi if the solution can be found on any of the above languages plz inform me.
1
1221
by: (PeteCresswell) | last post by:
Looks like they're doing something with printers because locally-installed printers are available in the client view of the remote PC. Can't make anything happen, however, with drives. Would be nice to be able to send data back-and-forth between the client (where I'm working) and the remote PC at the customer's site. Right now, I'm using email. --
3
2247
by: Wardeaux | last post by:
Hey all, need sample/article how to let user browse local drives to select a file and have the local drive location returned so I can store it in my db, similar to a file upload but without the actual file transfer and I need the full path... any assist is greatly appreciated!! MTIA wardeaux
7
1751
sicarie
by: sicarie | last post by:
Hey everyone. My place of employment hosts several thousand servers, and - as you can guess - we go through drives pretty quickly. Before we can dispose of the drives, we have to make sure nothing is on them. I was using a Solaris jumpstart server, but it has been ... tempramental at best. I'm looking for a way to use RIS to do this - I would like to be able to just hook it up to a separate network and have it delete itself, and I was...
8
1808
by: JohnC | last post by:
RE: Access 2003 My application has been split and the front end runs on client PCs with the back end on a LAN file server. Also I have an updater routine that copies an updated client from the LAN file server to the client PCs when needed. I keep the client front end on the LAN server for distribution purposes. The problem is that occasionally, user's get confused and go to the LAN file server and run the application from the front end...
1
2548
by: Bill Nguyen | last post by:
One of my apps (running in a terminal server session) needs to access a local USB drive /fash card. Is there a way to access local drives programmatically? Thanks Bill
6
2834
by: ckc | last post by:
Hi, I have an issue where users require local administrator access on the pc to be able to run a particular program. However I do not want these users to have local admin access on their pc's. I know the particular folders on the C:\ drive that they need local admin access to to be able to run the program. Is it possible to allow the users to only have local admin access on this particular folder without having local admin rights to the...
0
1076
by: harpsb | last post by:
Hi to everyone I am wondering how to develop a web application like Windows Explorer. The main task is to access local PC hard drives and all other hard drives on the network that are connected to my PC. So how can i use FileSystemObject Object to create one. i want something that can show drives of my PC on the web page using asp.net and vb.net. I am really struggling, please help me if anyone have clue.
0
9718
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9596
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10613
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10363
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10107
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7649
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.