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: Question for DOS experts  (Read 1488 times)

0 Members and 1 Guest are viewing this topic.

Apollo

  • Yes You Can Have A Custom Title
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1877
  • Last login:May 27, 2021, 10:49:02 pm
    • Eight Bells
Question for DOS experts
« on: March 20, 2004, 12:01:47 am »
OK so I'm using WinXP and I need to change the default file status from read only. I know I can do it using DOS and typing in attrib -r "file path" but what do a type exactly after I've opened the DOS prompt window?
Can someone explain it like you are talking to a 5 year old step by step. I don't know anything about DOS really except how to open the DOS prompt. Thankyou.

Sasquatch!

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1138
  • Last login:March 01, 2010, 04:11:47 pm
  • Toot-Toot!
    • Arcade Paradise
Re:Question for DOS experts
« Reply #1 on: March 20, 2004, 12:04:31 am »
Are you trying to change the read-only attribute on just one file?

Apollo

  • Yes You Can Have A Custom Title
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1877
  • Last login:May 27, 2021, 10:49:02 pm
    • Eight Bells
Re:Question for DOS experts
« Reply #2 on: March 20, 2004, 01:04:29 am »
Yes, I want to change the attributes of the MAME file i.e. C:\MAME it contains all my MAME32 files. The reason is that every time I open Mame32 to play a game I have to respecify the directories.

Sasquatch!

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1138
  • Last login:March 01, 2010, 04:11:47 pm
  • Toot-Toot!
    • Arcade Paradise
Re:Question for DOS experts
« Reply #3 on: March 20, 2004, 01:28:15 am »
Yes, I want to change the attributes of the MAME file i.e. C:\MAME it contains all my MAME32 files. The reason is that every time I open Mame32 to play a game I have to respecify the directories.
Dagflabbit, C:\MAME is not one file.   ???

I'm assuming that you mean that you want everything that in and that's underneath C:\MAME changed.  If so, go to the command prompt in Windows XP and type in
attrib -r c:\mame\*.* /s /d

Thenasty

  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4420
  • Last login:Today at 04:19:14 pm
    • Thenasty's Arcademania Horizontal/Vertical monitor setup.
Re:Question for DOS experts
« Reply #4 on: March 20, 2004, 01:41:46 am »
why not just right click on the folder and select properties and de-select RO ?
Thenasty's Arcademania Horizontal/Vertical setup.
http://forum.arcadecontrols.com/index.php?topic=26696.0

Free VGA Breakout Cable
http://forum.arcadecontrols.com/index.php?topic=38228.0

Ultimate All in One Coin Mech write up (Make your own)
http://forum.arcadecontrols.com/index.php?topic=19200.0

Apollo

  • Yes You Can Have A Custom Title
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1877
  • Last login:May 27, 2021, 10:49:02 pm
    • Eight Bells
Re:Question for DOS experts
« Reply #5 on: March 20, 2004, 03:56:04 am »
Thanks Sasquatch! I tried that and it gave me an error, path not found so I tried attrib -r c:\mame\*.* and that seemed to work but the folders are still read only. This is getting really frustrating. Any other ideas?

Vol

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 71
  • Last login:June 25, 2007, 11:02:18 am
  • Mame Kabinet II in the works!
Re:Question for DOS experts
« Reply #6 on: March 20, 2004, 07:10:26 am »
Through the command prompt:

try it without the *.* and with capital S and D

attrib -r c:\mame /S /D


For the future "/?" is your friend.  Try typing "attrib /?" in the command prompt it will give you help with switches and syntax.  This works with most command prompt commands.

Through the GUI:

Open My Computer, navigate to the c:, right-click on the Mame folder, choose properties, un-check the read-only checkbox (until it is clear), click apply, then select Apply changes to this folder, subfolders and files at the Confirm Attribute Changes window, then click OK.

tep0583

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 189
  • Last login:October 26, 2009, 05:00:51 pm
  • I'm a llama!
Re:Question for DOS experts
« Reply #7 on: March 20, 2004, 08:54:55 am »
why not just right click on the folder and select properties and de-select RO ?

Because XP is somewhat buggy about that.

I've actually had to resort to the attrib command on more than one occation in order to get the read-only to stay gone.

Why that is and why it doen't happen that way all of the time is beyond me.

Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
Re:Question for DOS experts
« Reply #8 on: March 20, 2004, 09:06:41 am »
btw, you can do it with Windows Explorer in XP.

You load it up, get into the mame directory, right click on the file / files and select properties from the popup menu.  Then you can change the attributes (unselect readonly).

This is a pretty normal problem when copying files from a CD.  One of the nice reasons for zipping them and putting them on a cd instead of just copying them.

Thenasty

  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4420
  • Last login:Today at 04:19:14 pm
    • Thenasty's Arcademania Horizontal/Vertical monitor setup.
Re:Question for DOS experts
« Reply #9 on: March 20, 2004, 12:26:08 pm »

This is a pretty normal problem when copying files from a CD.  One of the nice reasons for zipping them and putting them on a cd instead of just copying them.

This does not happen in XP/Pro. At least for me it don't. I just tried copying a file off my cd and check the attribute and its not RO.
Thenasty's Arcademania Horizontal/Vertical setup.
http://forum.arcadecontrols.com/index.php?topic=26696.0

Free VGA Breakout Cable
http://forum.arcadecontrols.com/index.php?topic=38228.0

Ultimate All in One Coin Mech write up (Make your own)
http://forum.arcadecontrols.com/index.php?topic=19200.0

Sylentwulf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 414
  • Last login:October 05, 2009, 09:13:35 am
    • The Electric Quarter
Re:Question for DOS experts
« Reply #10 on: March 21, 2004, 09:55:09 am »
Just a quick technical note. Windows XP doesn't really HAVE dos. It emulates dos. So this may cause problems whiles trying to do technical things in the dos window through windows XP.

BYOAC users get 5% off with coupon code byoac5