Solved Some files accesible to some programs, not to others?

December 23, 2014 at 20:56:06
Specs: Windows XP, various (16+ computers)
I was working in my "favorites" URLs and found that a few ".url" files were not accesible to: findstr, EDIT (maybe others, don't know). But same files ARE accessible to to other approaches, such as "type" and "FIND". I "typed" an inaccessible file out to another file, and it was rendered accessible to EDIT. I did a "FC /B" comparing the two files: no difference. Yet one still opens with EDIT (the "typed out" one), the other does not. Attributes report same as well (ATTRIB). I can get around it, but I REALLY want to know what gives.

See More: Some files accesible to some programs, not to others?

Report •

December 23, 2014 at 23:02:01
My head hurts trying to figure out what the blazes you're on about nbrane. Hopefully someone more intelligent than me (if they exist) can make sense of it. Good luck.

Report •

December 24, 2014 at 06:32:33
Just a curiosity have you tried the commands as an administer in case it was some sort of NET issue.


Report •

December 24, 2014 at 22:30:08
✔ Best Answer
@Phil, LOL nah, man, it's very simple.
Those files in my urls directory were inaccessible to EDIT and FINDSTR, but accesible to FIND, COPY etc. I think I figured out why: a leading "?" in the filename. Best bet is to copy the file to another name before trying any other operations:

for /f "tokens=*" %%a in ('dir /b^|findstr /r "^?"') do copy %%~sa %%~saz

makes a new short-name file with "z" added to the extension. Not elegant, but at least the file is accessible for other operations. I avoided moving or renaming for logistic/security reasons.

Report •

Related Solutions

Ask Question