Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 28-05-2007, 09:49 AM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: May 2007
Posts: 12
Default UNdeletable file


I think err this post is made in wrong section . .. I was unable 2 find a section for programming...

Its some thing like - " i want to create a file which cannot be deleted.. " - an order from my clients --oops ...

Now the actual scenario --
I am having an appln and im creating a log file when the appln is running... NOw i want that log file to be undeletable by others ... >>.>>" the program has to be run in the Admin mode..."
How can i create such a file which cannot be deleted ...
DIGIT Techies plz help
vivekphlp is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 28-05-2007, 08:11 PM   #2 (permalink)
Alpha Geek
 
Join Date: Jan 2007
Location: In your hearts
Posts: 828
Default Re: UNdeletable file

Read this month digit tips and trick it can help you.
abhijangda is offline  
Old 29-05-2007, 12:53 AM   #3 (permalink)
Coming back to life ..
 
it_waaznt_me's Avatar
 
Join Date: Nov 2003
Location: A bit closer to heaven
Posts: 1,997
Default Re: UNdeletable file

Make that file attributed as system file .. It wont be visible...
On the command prompt type this :

attrib +h +s yourfile {press enter}

Should work
__________________
Sleight of hand and twist of fate...
On a bed of nails she makes me wait...
And I wait without you ...
With or without you ..
----
Batty = Too Busy Now !!!
it_waaznt_me is offline  
Old 29-05-2007, 10:00 AM   #4 (permalink)
Right Off the Assembly Line
 
Join Date: May 2007
Posts: 12
Default Re: UNdeletable file

Frnds it is something like a log file. .. . so that it cant be edited nor be deleted. . . Whenever a user logs to my applictaion, the log file is created/ appended with the login details. He shouldnot able to change the contents later .. .

Log file permission that i need to add -
*************************
REad - Eveyone
Write - Only thro my appln(working fine)
Delete - Only thro my appln(admin)
*//*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/
What 2 do???

Quote:
Originally Posted by it_waaznt_me
Make that file attributed as system file .. It wont be visible...
On the command prompt type this :

attrib +h +s yourfile {press enter}

Should work
tried that one but it will be just hidden .. "easily deletable" .. .

Last edited by vivekphlp; 29-05-2007 at 10:03 AM. Reason: Automerged Doublepost
vivekphlp is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
To convert a .bat or a .vbs file into an executable .exe file without any software mneo Tutorials 4 03-06-2007 11:13 PM
Folder undeletable thunderstorm_08 QnA (read only) 8 29-01-2007 08:57 PM
UNdeletable folder!!!!!???? sagar_coolx QnA (read only) 8 01-04-2006 06:07 PM
Change File size in MB instead of GB in properties of a File rachitar QnA (read only) 4 24-11-2005 09:46 AM

 
Latest Threads
- by Tenida
- by Charan
- by abhidev

Advertisement




All times are GMT +5.5. The time now is 10:11 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2