📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

Help renaming a folder messed up by System Restore

patwa_2
patwa_2 Posts: 1,542 Forumite
Hello.

I had a bit of an issue with System restore the other day, the upshot of which is that it renamed some of my directories. I have been able to rename them bck to the way they were, all appart from one.

It's a folder within a Java project that I'm working on, the usual name should be .settings but the messed up name is (2).settings - I cannot rename it back as if I try to, Windows just tells me to rename the file, which is exactly what I'm trying to do.

I tried to rename it through Cygwin (Linux), but it complained about misplaced ()s when I tried to use mv (2).settings .settings

Anyone know how I can do this? I also cannot copy and rename the folder.

Thanks.

H.
Know me for who I am, not for who I say I am.

Comments

  • kingmonkey
    kingmonkey Posts: 846
    Part of the Furniture Combo Breaker
    Forumite
    Did you escape the ()?

    mv \(2\).settings .settings
  • patwa_2
    patwa_2 Posts: 1,542 Forumite
    Thanks, that worked a treat.

    H.
    Know me for who I am, not for who I say I am.
  • richyrichuk
    richyrichuk Posts: 345 Forumite
    note; also dude, just dont use system restore its so so bad, and also a great place for virus's to hide, its just the worst thing in the world next to norton.

    if u need u can turn it off via..

    My computer>properties>system restore>turn off system restore on all drives
This discussion has been closed.
★ ★ ★ Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 355.9K Banking & Borrowing
  • 255K Reduce Debt & Boost Income
  • 456.2K Spending & Discounts
  • 248.4K Work, Benefits & Business
  • 606.1K Mortgages, Homes & Bills
  • 179K Life & Family
  • 263.9K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.2K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.