1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

NAS support???

Discussion in 'TCC/LE Support' started by BatBytes, Jan 25, 2012.

  1. BatBytes

    Joined:
    Jan 25, 2012
    Messages:
    3
    Likes Received:
    0
    I recently installed a 2TB NAS on my network and was disappointed to find that TCC/LE could not access it. Does TCC/LE actually not access NAS drives or is there a way to do it that I don't know about? I occasionally want to print a list of folder contents and have used this command in the past:
    dir /S10 /LHJKMXO:-D %1 > DirContents.txt. Am I out of luck???:(
     
  2. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,277
    Likes Received:
    38
    You can use it just as you would in CMD.EXE: map a drive letter with NET USE.

    Fun feature: Unlike in CMD.EXE, you can also change the current directory to a UNC path: CDD \\MYDRIVE\SHARE or whatever -- you don't have to map a drive letter.
     
  3. BatBytes

    Joined:
    Jan 25, 2012
    Messages:
    3
    Likes Received:
    0
    Thanks, Charles. net use worked great.:)
     
  4. Stefano Piccardi

    Joined:
    May 31, 2008
    Messages:
    376
    Likes Received:
    2
    I can CDD to my NAS with TCC/LE on Windows 7. But NET USE is mandatory beforehand to force Windows to prompt for a netshare password, if one is configured. Mapping the drive isn't necessary, UNC pathnames work.
    Code:
    V:\>ver
     
    TCC LE 13.03.38 Windows 7 [Version 6.1.7601]
     
    V:\>net use
    New connections will be remembered.
     
    There are no entries in the list.
     
    V:\>cdd /X \\NAS\R
    TCC: (Sys) Access is denied.
    "\\NAS\R"
     
    V:\>net use \\NAS\R
    The password is invalid for \\NAS\R.
     
    Enter the user name for 'NAS': ***
    Enter the password for NAS:
    The command completed successfully.
     
    V:\>cdd /X \\NAS\R
     
    \\NAS\R>
    
     

Share This Page