printing directory in windows

This is a discussion on printing directory in windows within the Tech Board forums, part of the Community Boards category; Hi all, Just need some help with printing directory with usergroups and permission on windows 2k server. It would be ...

  1. #1
    Registered User hermit's Avatar
    Join Date
    Apr 2002
    Posts
    213

    printing directory in windows

    Hi all,

    Just need some help with printing directory with usergroups and permission on windows 2k server. It would be nice if i could download a freeware tool. Any recommendations?

    Thank you in advance

    - hermit -
    - - fUnKy F3m@le - -

  2. #2
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    Does cacls *.* do what you want? If not, maybe you can find something on this cacls page. Otherwise, could you post a sample of the output you are looking to get?

  3. #3
    Registered User hermit's Avatar
    Join Date
    Apr 2002
    Posts
    213

    Re:

    Hi

    Thanks for your prompt reply. Please refer to the example below. I need the following, except with user groups and file permission. Thank you in advance.

    Code:
    Directory Print - 2004/12/16 08:43   C:\Compaq (*.*)
    
    
    Directory                                    Files      Size   T.Files    T.Size
    
    C:\Compaq                                        1  2,808 b      1,102     86 Mb
       Altiris_Local_Recovery                        1     25 Mb         1     25 Mb
       AUDIO                                        17  2,089 kb       151     23 Mb
          ADI                                       21  2,824 kb       134     21 Mb
             Migrate                                 2     68 kb         2     68 kb
             Redist                                  9  2,265 kb         9  2,265 kb
             SM_Micro                                1  4,128 b          4    236 kb
                Sys                                  3    232 kb         3    232 kb
             SM_Panel                                1  4,128 b         48  2,116 kb
                Sys                                  9  1,633 kb        47  2,112 kb
                   Arabic                            2     66 kb         2     66 kb
                   Brazil                            2     22 kb         2     22 kb
                   Danish                            2     20 kb         2     20 kb
                   Dutch                             2     20 kb         2     20 kb
                   English                           2     19 kb         2     19 kb
                   Finnish                           2     22 kb         2     22 kb
                   French                            2     23 kb         2     23 kb
                   German                            2     22 kb         2     22 kb
                   Hebrew                            2     63 kb         2     63 kb
                   Italian                           2     21 kb         2     21 kb
                   Japanese                          2     19 kb         2     19 kb
                   Korean                            2     19 kb         2     19 kb
                   Norwegan                          2     20 kb         2     20 kb
                   Russian                           2     20 kb         2     20 kb
                   SimpChin                          2     16 kb         2     16 kb
                   Spanish                           2     22 kb         2     22 kb
                   Swedish                           2     21 kb         2     21 kb
                   Thai                              2     18 kb         2     18 kb
                   TradChin                          2     16 kb         2     16 kb
             SMAXWDM                                 1  4,128 b         31  4,064 kb
                SE                                  15  2,019 kb        15  2,019 kb
                W2K_XP                              15  2,040 kb        15  2,040 kb
             SoundMAX Synthesizer                    9  7,546 kb        16      9 Mb
                DLS                                  2  2,326 kb         2  2,326 kb
                Sys                                  5    147 kb         5    147 kb
             Sys                                     3     96 kb         3     96 kb
       chipset                                      79    419 kb        79    419 kb
       Eak                                          18  5,766 kb        84  8,048 kb
          drv2k                                      9    299 kb         9    299 kb
          drv2k_JP                                   9    299 kb         9    299 kb
          drv2k_KO                                   9    299 kb         9    299 kb
          drv9x                                      6    305 kb         6    305 kb
          drvnt                                      6    179 kb         6    179 kb
          drvxp                                      9    299 kb         9    299 kb
          drvXP_JP                                   9    299 kb         9    299 kb
          drvXP_KO                                   9    299 kb         9    299 kb
       EAKDRV                                        1     88 kb         1     88 kb
       Easy Access Button Support                    0      0 b          9     18 kb
          Desktops                                   9     18 kb         9     18 kb
       misc5                                        52  1,400 kb        52  1,400 kb
       NIC                                           5    240 kb       491     14 Mb
          BcmServ                                   11    196 kb        11    196 kb
          Manuals                                    1  4,128 b        446     10 Mb
             BrazPort                               13    496 kb        44  1,038 kb
                graphics                            31    542 kb        31    542 kb
             English                                13    836 kb        44  2,018 kb
                graphics                            31  1,182 kb        31  1,182 kb
             French                                 13    475 kb        45  1,041 kb
                graphics                            32    566 kb        32    566 kb
             German                                 13    462 kb        44  1,004 kb
                graphics                            31    542 kb        31    542 kb
             Italian                                13    447 kb        44    985 kb
                graphics                            31    538 kb        31    538 kb
             Japanese                               13    439 kb        44    980 kb
                graphics                            31    541 kb        31    541 kb
             Korean                                 13    497 kb        46  1,187 kb
                graphics                            33    690 kb        33    690 kb
             SimpChin                               13    386 kb        46    941 kb
                graphics                            33    554 kb        33    554 kb
             Spanish                                13    464 kb        44  1,007 kb
                graphics                            31    543 kb        31    543 kb
             TradChin                               13    389 kb        44    917 kb
                graphics                            31    528 kb        31    528 kb
          MgmtApps                                  13  3,114 kb        29  3,206 kb
             ReleaseNotes                            1  4,128 b         16     92 kb
                bcmif                                2  7,751 b          2  7,751 b 
                BMAPI                                2     16 kb         2     16 kb
                cabw32                               2  6,710 b          2  6,710 b 
                CIM                                  3     20 kb         3     20 kb
                ControlSuite                         2     20 kb         2     20 kb
                DMI                                  2  8,523 b          2  8,523 b 
                SNMP                                 2  8,103 b          2  8,103 b 
       OEMSTART                                      1    164 kb         1    164 kb
       SW_VER                                       71    171 kb        71    171 kb
       USB                                           3    156 kb         3    156 kb
       Video1                                      158     12 Mb       158     12 Mb
    
    1102 files in 86 directories, 86 Mb
    33 Gb available from 37 Gb.
    Last edited by hermit; 12-15-2004 at 04:26 PM.
    - - fUnKy F3m@le - -

  4. #4
    Registered User hermit's Avatar
    Join Date
    Apr 2002
    Posts
    213
    anonytmouse : Your page is really helpful, Thanks. How can i output pipe to a text file?
    - - fUnKy F3m@le - -

  5. #5
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    >> I need the following, except with user groups and file permission. <<

    What format are you looking to get the security information in. Are you looking for effective rights (ie. including rights inherited from parent directories) or only the rights specifically defined on that object?

    >> How can i output pipe to a text file? <<
    Code:
    cacls *.* > output.txt

  6. #6
    Registered User hermit's Avatar
    Join Date
    Apr 2002
    Posts
    213
    anonytmouse : rights to the specific define object. Do you have other tools i can download? Perhaps exporting to word/csv/html file?

    We are planning to migrate the fileserver, and i need to document the directory structure.

    Thank you in advance
    - - fUnKy F3m@le - -

  7. #7
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    I had a look around and found the open-source utility SetACL. A backup and restore script can be found here. Let me know how if it works out.
    Last edited by anonytmouse; 12-16-2004 at 06:34 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C# Printing Problem
    By silverlight001 in forum C# Programming
    Replies: 0
    Last Post: 03-23-2009, 01:13 AM
  2. Script errors - bool unrecognized and struct issues
    By ulillillia in forum Windows Programming
    Replies: 10
    Last Post: 12-18-2006, 03:44 AM
  3. Finding a directory, and printing whats in it
    By booyah in forum C Programming
    Replies: 4
    Last Post: 11-12-2003, 10:52 AM
  4. FlashWindowEx not declared?
    By Aidman in forum Windows Programming
    Replies: 3
    Last Post: 05-17-2003, 02:58 AM
  5. Printing list of .txt files saved in directory
    By Unregistered in forum C++ Programming
    Replies: 2
    Last Post: 01-15-2002, 11:33 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21