A little trivia for you (Attributes and Defrag)

Hogtowner

Ay, No Disrepect.
Member
OK, since I've been preoccupied lately with getting a decent backup program working, I've been concerned about file attributes.

Trivia question 1: What does the attribute "N" denote?

Defrag has some interesting command line switches, everyone who uses it should be aware of the '-w' switch which causes defrag to pay attention to fragments larger than 64KB. The default for Windows Ultimate x64, in the scheduled defrag has the command line: 'defrag -c -i -g'. '-c' is easy.

Question 2: What do the '-i' and '-g' switches do?

Now, in case you were thinking there was anything but rep at stake, there isn't. Nor do I know the answers. (Cute, huh?) But I would appreciate knowing the answers.
 

My Computer

System One

  • CPU
    Intel Core 2 Quad Q6700
    Motherboard
    Intel DX975XBX2
    Memory
    4 X 2GB Corsair PC6400
    Graphics Card(s)
    2 X ATI Radeon HD 2600XT
    Hard Drives
    2 X 2 X 500Gb RAID 0
Hi Hogtowner,

Answers for your trivia.

Question 1

The "N" attribute is set by the Search/Indexing component in Vista.

N = Non indexed file or folder.

You cannot add/delete/change this attribute in the normal way, ie: it cannot be changed using the attrib command.

To change this attribute, right click the folder/file and select 'Properties'. Click on the 'General' tab and then click 'Advanced...'. This opens the 'Advanced Attributes' dialogue box. For folders the option you require is under 'Archive and Index attributes' and is 'Index this folder for faster searching' whereas for files the option required is under 'File attributes' and is 'Index this file for faster searching'. These are checkboxes, and for either case, the procedure is the same. To remove the "N" attribute, click to place a tick in the relevant checkbox. To replace the "N" attribute, click to remove the tick from the relevant checkbox. In both cases, click 'OK' twice to apply changes.

Question 2

The following switches are undocumented.

-i This switch makes Defrag run in the background and operate only if the system is idle - as it does when run as a scheduled task.

-b This switch optimizes boot files and applications while leaving the rest of the drive undisturbed.

I have not been able, as yet, to find anything referring to a "-g" switch.

Hopefully, this should answer your questions.
Dwarf
 
Last edited:

My Computer

System One

  • Manufacturer/Model
    Dwarf Dwf/11/2012 r09/2013
    CPU
    Intel Core-i5-3570K 4-core @ 3.4GHz (Ivy Bridge) (OC 4.2GHz)
    Motherboard
    ASRock Z77 Extreme4-M
    Memory
    4 x 4GB DDR3-1600 Corsair Vengeance CMZ8GX3M2A1600C9B (16GB)
    Graphics Card(s)
    MSI GeForce GTX770 Gaming OC 2GB
    Sound Card
    Realtek High Definition on board solution (ALC 898)
    Monitor(s) Displays
    ViewSonic VA1912w Widescreen
    Screen Resolution
    1440x900
    Hard Drives
    OCZ Agility 3 120GB SATA III x2 (RAID 0)
    Samsung HD501LJ 500GB SATA II x2
    Hitachi HDS721010CLA332 1TB SATA II
    Iomega 1.5TB Ext USB 2.0
    WD 2.0TB Ext USB 3.0
    PSU
    XFX Pro Series 850W Semi-Modular
    Case
    Gigabyte IF233
    Cooling
    1 x 120mm Front Inlet 1 x 120mm Rear Exhaust
    Keyboard
    Microsoft Comfort Curve Keyboard 3000 (USB)
    Mouse
    Microsoft Comfort Mouse 3000 for Business (USB)
    Internet Speed
    NetGear DG834Gv3 ADSL Modem/Router (Ethernet) ~4.0 Mb/s (O2)
    Other Info
    Optical Drive: HL-DT-ST BD-RE BH10LS30 SATA Bluray
    Lexmark S305 Printer/Scanner/Copier (USB)
    WEI Score: 8.1/8.1/8.5/8.5/8.25
    Asus Eee PC 1011PX Netbook (Windows 7 x86 Starter)
Thanks, Dwarf. That does help.

Doncaster, huh? I have an Uncle Mort there, know him? ;)
 

Attachments

  • regards.zip
    125.2 KB · Views: 9
Last edited:

My Computer

System One

  • CPU
    Intel Core 2 Quad Q6700
    Motherboard
    Intel DX975XBX2
    Memory
    4 X 2GB Corsair PC6400
    Graphics Card(s)
    2 X ATI Radeon HD 2600XT
    Hard Drives
    2 X 2 X 500Gb RAID 0
Back
Top