?
Solved

Win7, cannot copy or dir in folder with braces ie. system32\catroot\{F75...39}

Posted on 2013-11-08
7
Medium Priority
?
659 Views
Last Modified: 2013-11-14
I need to install a driver by copying files into their proper locations, the driver installer doesn't have a silent mode.  On of those is in windows\system32\catroot\{f73502-....-295EE}.  There is a file in there (oem9.cat) but if I do a dir on the folder, it shows 0 files.  If I try to copy it says the system cannot find the file specified.  

I've tried this from both batch and command lines running as administrator.  UAC is off and I've given Everyone full control... still no luck.

How can I copy the file?
0
Comment
Question by:StarDusterII
  • 4
  • 2
7 Comments
 
LVL 9

Expert Comment

by:Timothy McCartney
ID: 39633653
You could try using Unstoppable Copier

Available here: http://www.roadkil.net/program.php/P29/Unstoppable%20Copier

Just make sure you run the program as administrator. It's pretty great at grabbing troublesome files.
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 39634076
StarDusterII--
Can you physically see the oem9.cat file?  If not it is probably a Hidden File.
To really show all hidden folders and files
1) In Explorer, click Organize in ToolBar|click "Folder and Search Options"|View|uncheck "Hide protected operating system files"|Yes|Apply|OK.  
2) And if not already done, under "Hidden Files and Folders", check "Show hidden files, folders,..." and uncheck "Don't show hidden files, folders...".

Now that you can see oem9.cat (or you always could see it), right click|Properties and change Permissions and Ownership as required.
http://www.addictivetips.com/windows-tips/windows-7-access-denied-permission-ownership/

Now can you do what you want with oem9.cat?
0
 

Author Comment

by:StarDusterII
ID: 39634553
I can see the files in Windows explorer.  I should have been more clear when I said I've given "Everyone" full control.   I took ownership of the folder and gave "Everyone" full permissions on the entire catroot folder.

If you do a dir from the command line (running as administrator), you can't see the file.  Copy is apparently running into the same issue.

I'll check out the Unstoppable Copier and see how that goes.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:StarDusterII
ID: 39634767
Unstoppable Copier was able to copy the file.  Unfortunately, we can't use that approach since this will be given to a client who will use a script to install this package and must do it with xcopy or copy.

But maybe it will give you a hint as to why the regular copy won't work.
0
 

Accepted Solution

by:
StarDusterII earned 0 total points
ID: 39634805
Guess I'm having a blond moment today... I could see them in Windows Explorer but I was forgetting I needed a /A:H and /A:S when using dir to see hidden and system files... and an /H for xcopy.  Man, I'm glad the weekend is here!
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 39635997
StarDusterII --Don't you feel I helped a little by mentioning the issue of Hidden and System files in http:#a39634076 ?
0
 

Author Closing Comment

by:StarDusterII
ID: 39647397
My own fault for not realizing what I was looking at.  Dir and Copy both needed to explicitly specify hidden and system files
0

Featured Post

Automating Your MSP Business

The road to profitability.
Delivering superior services is key to ensuring customer satisfaction and the consequent long-term relationships that enable MSPs to lock in predictable, recurring revenue. What's the best way to deliver superior service? One word: automation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
Unable to change the program that handles the scan event from a network attached Canon/Brother printer/scanner. This means you'll always have to choose which program handles this action, e.g. ControlCenter4 (in the case of a Brother).
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses
Course of the Month15 days, 3 hours left to enroll

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question