Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

attrib command on a network path


  • Please log in to reply
1 reply to this topic

#1 Shadow Wizard

Shadow Wizard

  • Members
  • 46 posts
  • OFFLINE
  •  
  • Local time:02:51 PM

Posted 27 March 2012 - 10:16 AM

here is the command I am trying to use:
attrib \\computername\directoryname +h
it tells me file not found, however
dir \\computername\directortname
works just fine.

Any ideas?

BC AdBot (Login to Remove)

 


#2 cryptodan

cryptodan

    Bleepin Madman


  • Members
  • 21,868 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Catonsville, Md
  • Local time:06:51 PM

Posted 27 March 2012 - 10:18 AM

Here is a listing of attrib /?

C:\Users\cryptodan>attrib /?
Displays or changes file attributes.

ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [+I | -I]
[drive:][path][filename] [/S [/D] [/L]]

+ Sets an attribute.
- Clears an attribute.
R Read-only file attribute.
A Archive file attribute.
S System file attribute.
H Hidden file attribute.
I Not content indexed file attribute.
[drive:][path][filename]
Specifies a file or files for attrib to process.
/S Processes matching files in the current folder
and all subfolders.
/D Processes folders as well.
/L Work on the attributes of the Symbolic Link versus
the target of the Symbolic Link

There is no mention of network support.

Where as dir is what is used to gather directory listing it also works on Networked Resources.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users