Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Locking a file in XP only?  (Read 1079 times)

0 Members and 1 Guest are viewing this topic.

gonzo90017

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:June 23, 2019, 02:41:07 pm
  • I'm a llama!
Locking a file in XP only?
« on: March 04, 2008, 04:54:05 pm »
Okay here's what i'm trying to do. I wan't to lock a file in xp so it can't be deleted. What program can I use to do this? The file I wan't to lock is a image of the OS I made using Acronis True Image. I'ts in it's own seperate partition. But the file must be usable when using the Acronis Rescue cd. Can this be done.

Edit: I found a solution. I downloaded a program called Drive Manager. which lets you hide drives or partitions and Acronis's Rescue CD can still acess the hidden drives.
« Last Edit: March 04, 2008, 06:59:26 pm by gonzo90017 »

Spiderstyle

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:April 09, 2009, 03:49:46 pm
    • RomDir2XML - Tool to assist in creating MaLa gamelists for non-MAME emulators.
Re: Locking a file in XP only?
« Reply #1 on: March 04, 2008, 09:57:56 pm »
Even though you already found a solution, wouldn't it be possible to just make the image read-only by setting it's "read-only" file attribute?

I do understand you want to protect the image from being deleted, but I'm not completely sure who/what you want to protect the image from.

With kind regards,
Spiderstyle

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10092
  • Last login:June 28, 2025, 10:45:55 pm
  • Comanche, OK -- USA
Re: Locking a file in XP only?
« Reply #2 on: March 04, 2008, 10:29:03 pm »
If it's read only, it will just say, "This file is read only. Are you sure you want to delete it?"

Spiderstyle

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:April 09, 2009, 03:49:46 pm
    • RomDir2XML - Tool to assist in creating MaLa gamelists for non-MAME emulators.
Re: Locking a file in XP only?
« Reply #3 on: March 04, 2008, 10:51:52 pm »
Yep, true.

That's why I was wondering who/what he was trying to protect the image from.

If it would be a Windows user, a simple click on the "Yes" button when asked if sure to delete the file would delete the file.

gonzo90017

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:June 23, 2019, 02:41:07 pm
  • I'm a llama!
Re: Locking a file in XP only?
« Reply #4 on: March 04, 2008, 11:08:51 pm »
Quote
I do understand you want to protect the image from being deleted, but I'm not completely sure who/what you want to protect the image from.

I'm planning on selling pc's and people tend to not know what they're doing and are just too "click happy". If they delete the image the Rescue Cd would be useless. That's why it's better for the partition to be hidden.

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Locking a file in XP only?
« Reply #5 on: March 04, 2008, 11:14:02 pm »
If your not using simple file sharing, and using the proper way for NT to deal with users and permissions, you can just change the permission and ownership of the file to Administrator, then any other user won't be able to access the file.