Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In WinXP SP3, I have a .BAT file on a mapped drive. When I try to run this .BAT file (or even right click->edit) it gives me:

Windows cannot access the specified device, path, or file.  You may not have the appropriate permissions to access the item.

This happens with any .BAT file, no matter what is within the file. If the file is on my local computer (like C:) it will run just fine. If someone else runs it from another computer (on the same mapped drive), it runs just fine.

I have full permissions on the drive; I can edit/delete/save/write/create in that folder and/or .BAT file and I've ruled out permissions being the issue.

It seems like a security prevention, but I can't tell what it would be. It would have to be something on my PC, but I don't use any 3rd party software.

What would cause this error?

share|improve this question
What is your antivirus? –  francisswest Sep 27 '12 at 15:45
@francisswest I just double checked, I don't have one. The only thing I have is "Intel Management and Security Status" –  JBurace Sep 27 '12 at 15:47
Are you an admin on the machine as a whole? Have you tried to run said batch file as an admin? (Right click, run as... or hold shift, right click, run as....been a while since I was on XP...) –  francisswest Sep 27 '12 at 15:48
@francisswest I am admin, yes. I tried Shift Right Click, but "Run As" does not show up in the menu. –  JBurace Sep 27 '12 at 15:50
So if you create a new text file on the drive, and then right->click "edit", it will open. If you rename that same file to .bat it will not open? What happens if you right click the bat file and choose "open with..." and then pick notepad as the editor? –  horatio Sep 27 '12 at 16:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.