Sign in with
Sign up | Sign in
Your question

Some network files are invisible

Tags:
  • Windows XP
Last response: in Windows XP
Share
September 14, 2005 10:51:06 AM

Archived from groups: microsoft.public.windowsxp.general (More info?)

I have a network share hosted on a XP SP2 machine with proper permissions &
firewall configurations. However, some of the folders show no files in
explorer or command prompt when I try to access it from another XP SP2
machine via the network, but the files are there if I enter the folder
manually.

Looks like I am not along: http://tinyurl.com/ah9u4

More about : network files invisible

Anonymous
September 15, 2005 4:40:47 AM

Archived from groups: microsoft.public.windowsxp.general (More info?)

"Alex" <Alex@discussions.microsoft.com> wrote in message
news:64668493-9F5D-43EC-AA19-0D56529E2217@microsoft.com...
> I have a network share hosted on a XP SP2 machine with proper permissions
&
> firewall configurations. However, some of the folders show no files in
> explorer or command prompt when I try to access it from another XP SP2
> machine via the network, but the files are there if I enter the folder
> manually.
>
> Looks like I am not along: http://tinyurl.com/ah9u4
>

I suggest you check your NTFS permissions.
September 15, 2005 4:40:48 AM

Archived from groups: microsoft.public.windowsxp.general (More info?)

"Pegasus (MVP)" wrote:

> > Looks like I am not along: http://tinyurl.com/ah9u4
> >
>
> I suggest you check your NTFS permissions.

It's not NTFS. If I rename the problematic folder, say Music, to Music123,
then I can see the files. If I rename it to Music1 or back to Music123, then
I can't see the files. This is not NTFS problem.
Related resources
Anonymous
September 15, 2005 3:42:41 PM

Archived from groups: microsoft.public.windowsxp.general (More info?)

"Alex" <Alex@discussions.microsoft.com> wrote in message
news:F4F27E97-A532-4537-8188-C85D4F3630F7@microsoft.com...
> "Pegasus (MVP)" wrote:
>
> > > Looks like I am not along: http://tinyurl.com/ah9u4
> > >
> >
> > I suggest you check your NTFS permissions.
>
> It's not NTFS. If I rename the problematic folder, say Music, to
Music123,
> then I can see the files. If I rename it to Music1 or back to Music123,
then
> I can't see the files. This is not NTFS problem.

Time to get a hammer to nail this down. Paste the lines
below into a batch file, save that batch file as c:\Invisible.bat
then do this:

1. Rename the problem folder to Music123.
2. Make sure that you can see it.
3. Start a Command Prompt.
4. Navigate to the location where Music123 resides.
5. Type this: c:\Invisible.bat
6. Post the contents of c:\Invisible.log in your reply.

@echo off
echo %date% %time% User=%UserName% > c:\Invisible.log
net user %UserName% >> c:\Invisible.log
echo. >> c:\Invisible.log

echo dir music*.* >> c:\Invisible.log
dir music*.* >> c:\Invisible.log
echo. >> c:\Invisible.log

echo ren Music123 Music >> c:\Invisible.log
ren Music 123 Music 2>> c:\Invisible.log
echo. >> c:\Invisible.log

echo dir music*.* >> c:\Invisible.log
dir music*.* >> c:\Invisible.log
echo. >> c:\Invisible.log

echo cacls music >> c:\Invisible.log
cacls music >> c:\Invisible.log
echo. >> c:\Invisible.log

echo attrib /d /s music*.* >> c:\Invisible.log
attrib /d /s music*.* >> c:\Invisible.log
September 15, 2005 3:42:42 PM

Archived from groups: microsoft.public.windowsxp.general (More info?)

I modified the batch script. I can ensure you that 1) both share & security
permissions are set up properly; and 2) files don't have H attribute.

++ batch file
@echo on
echo. > Invisible.log

if not exist Music123 ren Music Music123

echo dir \\self\d$\Music* >> Invisible.log
dir \\self\d$\Music* >> Invisible.log
echo. >> Invisible.log

echo dir \\self\d$\Music123 >> Invisible.log
dir \\self\d$\Music123 >> Invisible.log
echo. >> Invisible.log

echo ren Music123 Music >> Invisible.log
ren Music123 Music 2>> Invisible.log
echo. >> Invisible.log

echo dir \\self\d$\Music* >> Invisible.log
dir \\self\d$\Music* >> Invisible.log
echo. >> Invisible.log

echo dir \\self\d$\Music >> Invisible.log
dir \\self\d$\Music >> Invisible.log
echo. >> Invisible.log

+++ Invisible.log

dir \\self\d$\Music*
Volume in drive \\self\d$ is Data
Volume Serial Number is C004-E210

Directory of \\self\d$

09/14/2005 08:51 AM <DIR> Music123
0 File(s) 0 bytes
1 Dir(s) 21,768,052,736 bytes free

dir \\self\d$\Music123
Volume in drive \\self\d$ is Data
Volume Serial Number is C004-E210

Directory of \\self\d$\Music123

09/14/2005 08:51 AM <DIR> .
09/14/2005 08:51 AM <DIR> ..
09/08/2005 03:48 PM <DIR> iTunes
09/14/2005 08:51 AM <DIR> Lossless
0 File(s) 0 bytes
5 Dir(s) 21,768,052,736 bytes free

ren Music123 Music

dir \\self\d$\Music*
Volume in drive \\self\d$ is Data
Volume Serial Number is C004-E210

Directory of \\self\d$

09/14/2005 08:51 AM <DIR> Music
0 File(s) 0 bytes
1 Dir(s) 21,768,052,736 bytes free

dir \\self\d$\Music
Volume in drive \\self\d$ is Data
Volume Serial Number is C004-E210

Directory of \\self\d$\Music
Anonymous
September 15, 2005 4:57:36 PM

Archived from groups: microsoft.public.windowsxp.general (More info?)

I cannot see a problem - the command dir \\self\d$\music*
showed the Music123 folder as well as the renamed Music
folder.


"Alex" <Alex@discussions.microsoft.com> wrote in message
news:CEB46A08-FCD3-4AE8-B1D3-12F6C0D80050@microsoft.com...
> I modified the batch script. I can ensure you that 1) both share &
security
> permissions are set up properly; and 2) files don't have H attribute.
>
> ++ batch file
> @echo on
> echo. > Invisible.log
>
> if not exist Music123 ren Music Music123
>
> echo dir \\self\d$\Music* >> Invisible.log
> dir \\self\d$\Music* >> Invisible.log
> echo. >> Invisible.log
>
> echo dir \\self\d$\Music123 >> Invisible.log
> dir \\self\d$\Music123 >> Invisible.log
> echo. >> Invisible.log
>
> echo ren Music123 Music >> Invisible.log
> ren Music123 Music 2>> Invisible.log
> echo. >> Invisible.log
>
> echo dir \\self\d$\Music* >> Invisible.log
> dir \\self\d$\Music* >> Invisible.log
> echo. >> Invisible.log
>
> echo dir \\self\d$\Music >> Invisible.log
> dir \\self\d$\Music >> Invisible.log
> echo. >> Invisible.log
>
> +++ Invisible.log
>
> dir \\self\d$\Music*
> Volume in drive \\self\d$ is Data
> Volume Serial Number is C004-E210
>
> Directory of \\self\d$
>
> 09/14/2005 08:51 AM <DIR> Music123
> 0 File(s) 0 bytes
> 1 Dir(s) 21,768,052,736 bytes free
>
> dir \\self\d$\Music123
> Volume in drive \\self\d$ is Data
> Volume Serial Number is C004-E210
>
> Directory of \\self\d$\Music123
>
> 09/14/2005 08:51 AM <DIR> .
> 09/14/2005 08:51 AM <DIR> ..
> 09/08/2005 03:48 PM <DIR> iTunes
> 09/14/2005 08:51 AM <DIR> Lossless
> 0 File(s) 0 bytes
> 5 Dir(s) 21,768,052,736 bytes free
>
> ren Music123 Music
>
> dir \\self\d$\Music*
> Volume in drive \\self\d$ is Data
> Volume Serial Number is C004-E210
>
> Directory of \\self\d$
>
> 09/14/2005 08:51 AM <DIR> Music
> 0 File(s) 0 bytes
> 1 Dir(s) 21,768,052,736 bytes free
>
> dir \\self\d$\Music
> Volume in drive \\self\d$ is Data
> Volume Serial Number is C004-E210
>
> Directory of \\self\d$\Music
>
>
September 15, 2005 4:57:37 PM

Archived from groups: microsoft.public.windowsxp.general (More info?)

"Pegasus (MVP)" wrote:

> I cannot see a problem - the command dir \\self\d$\music*
> showed the Music123 folder as well as the renamed Music
> folder.

Compare "Directory of \\self\d$\Music" and "Directory of
\\self\d$\Music123". Notice that there are two directories in Music123
before it was renamed to Music.
Anonymous
September 16, 2005 12:13:23 PM

Archived from groups: microsoft.public.windowsxp.general (More info?)

"Alex" <Alex@discussions.microsoft.com> wrote in message
news:14D9EF61-E872-42E5-96F7-9894114418D9@microsoft.com...
> "Pegasus (MVP)" wrote:
>
> > I cannot see a problem - the command dir \\self\d$\music*
> > showed the Music123 folder as well as the renamed Music
> > folder.
>
> Compare "Directory of \\self\d$\Music" and "Directory of
> \\self\d$\Music123". Notice that there are two directories in Music123
> before it was renamed to Music.

Initially you said that you "can't see the files", leading me
to assume that you could not see the "Music" file. Now
you are getting more specific: You say that you cannot
see the files inside the Music folder. This means that my
batch file needs to be modified accordingly. You should
add these commands in each test scenario:

dir \\self\d$\Music\*.* >>c:\invisible.log
attrib /s /d \\self\d$\Music\iTunes*.* >>c:\invisible.log
attrib /s /d \\self\d$\Music\iLoss*.* >>c:\invisible.log
cacls \\self\d$\Music\iLoss*.* >>c:\invisible.log
md \\self\d$\Music\iTunes 2>>c:\invisible.log
md \\self\d$\Lossless 2>>c:\invisible.log

You can, of course, omit the attrib and cacls commands
but then you're suppressing test results that could be
important.
September 16, 2005 12:13:24 PM

Archived from groups: microsoft.public.windowsxp.general (More info?)

"Pegasus (MVP)" wrote:

> Initially you said that you "can't see the files", leading me
> to assume that you could not see the "Music" file. Now

++ [script]

@echo off
echo. > Invisible.log

if not exist Music123 ren Music Music123

echo dir \\self\d$\Music* >> Invisible.log
dir \\self\d$\Music* >> Invisible.log
echo. >> Invisible.log

echo dir \\self\d$\Music123 >> Invisible.log
dir \\self\d$\Music123 >> Invisible.log
echo. >> Invisible.log

dir \\self\d$\Music123\*.* >> invisible.log
attrib /s /d \\self\d$\Music123\iTunes >> Invisible.log
attrib /s /d "\\self\d$\Music123\Apple Lossless" >> Invisible.log
cacls "\\self\d$\Music123\Apple Lossless" >> Invisible.log
md \\self\d$\Music123\iTunes 2>> Invisible.log
md "\\self\d$\Music123\Apple Lossless" 2>> Invisible.log

echo ren Music123 Music >> Invisible.log
ren Music123 Music 2>> Invisible.log
echo. >> Invisible.log

echo dir \\self\d$\Music* >> Invisible.log
dir \\self\d$\Music* >> Invisible.log
echo. >> Invisible.log

echo dir \\self\d$\Music >> Invisible.log
dir \\self\d$\Music >> Invisible.log
echo. >> Invisible.log

dir \\self\d$\Music\*.* >> invisible.log
attrib /s /d \\self\d$\Music\iTunes >> Invisible.log
attrib /s /d "\\self\d$\Music\Apple Lossless" >> Invisible.log
cacls "\\self\d$\Music\Apple Lossless" >> Invisible.log
md \\self\d$\Music\iTunes 2>> Invisible.log
md "\\self\d$\Music\Apple Lossless" 2>> Invisible.log


++ [log]

dir \\self\d$\Music*
Volume in drive \\self\d$ is Data
Volume Serial Number is C004-E210

Directory of \\self\d$

09/14/2005 11:03 PM <DIR> Music123
0 File(s) 0 bytes
1 Dir(s) 22,750,744,576 bytes free

dir \\self\d$\Music123
Volume in drive \\self\d$ is Data
Volume Serial Number is C004-E210

Directory of \\self\d$\Music123

09/14/2005 11:03 PM <DIR> .
09/14/2005 11:03 PM <DIR> ..
09/14/2005 08:51 AM <DIR> Apple Lossless
09/14/2005 11:40 PM <DIR> iTunes
09/08/2005 03:53 PM <DIR> Purchased Songs
0 File(s) 0 bytes
5 Dir(s) 22,750,744,576 bytes free

Volume in drive \\self\d$ is Data
Volume Serial Number is C004-E210

Directory of \\self\d$\Music123

09/14/2005 11:03 PM <DIR> .
09/14/2005 11:03 PM <DIR> ..
09/14/2005 08:51 AM <DIR> Apple Lossless
09/14/2005 11:40 PM <DIR> iTunes
09/08/2005 03:53 PM <DIR> Purchased Songs
0 File(s) 0 bytes
5 Dir(s) 22,750,744,576 bytes free
\\self\d$\Music123\iTunes
\\self\d$\Music123\Apple Lossless
\\self\d$\Music123\Apple Lossless TESTLAB\testuser:( OI)(CI)F
BUILTIN\Administrators:( OI)(CI)F
NT AUTHORITY\SYSTEM:( OI)(CI)F

A subdirectory or file \\self\d$\Music123\iTunes already exists.
A subdirectory or file \\self\d$\Music123\Apple Lossless already exists.
ren Music123 Music

dir \\self\d$\Music*
Volume in drive \\self\d$ is Data
Volume Serial Number is C004-E210

Directory of \\self\d$

09/14/2005 11:03 PM <DIR> Music
0 File(s) 0 bytes
1 Dir(s) 22,750,744,576 bytes free

dir \\self\d$\Music
Volume in drive \\self\d$ is Data
Volume Serial Number is C004-E210

Directory of \\self\d$\Music


Volume in drive \\self\d$ is Data
Volume Serial Number is C004-E210

Directory of \\self\d$\Music

\\self\d$\Music\iTunes
\\self\d$\Music\Apple Lossless
\\self\d$\Music\Apple Lossless TESTLAB\testuser:( OI)(CI)F
BUILTIN\Administrators:( OI)(CI)F
NT AUTHORITY\SYSTEM:( OI)(CI)F

A subdirectory or file \\self\d$\Music\iTunes already exists.
A subdirectory or file \\self\d$\Music\Apple Lossless already exists.
!