flat assembler
Message board for the users of flat assembler.

Index > Projects and Ideas > ATTRIB clones?

Author
Thread Post new topic Reply to topic
wht36



Joined: 18 Sep 2005
Posts: 106
wht36 23 Jul 2009, 19:33
Hello all,

Any one want an attrib clone?

This is mine, it's made for XP. It runs from the console and I've added extra functions:
Set compressed, encrypted, indexed file attributes
Create symbolic & hardlinks
Write to ini files
Calculate md5 sum for a file and query that md5 sum in Virus Total
Display disk & partition number for a drive
Rename a file, replacing all the %## with appropriate symbols.

For DOS, there is rugxulo: http://board.flatassembler.net/topic.php?t=7248


Description: Windows ATTRIB clone, with FASM source
Download
Filename: attr.zip
Filesize: 13.67 KB
Downloaded: 800 Time(s)

Post 23 Jul 2009, 19:33
View user's profile Send private message Reply with quote
wht36



Joined: 18 Sep 2005
Posts: 106
wht36 23 Jun 2011, 05:43
Minor bugfix - directory junctions now works. Virustotal query has been superceded by VirusTotal uploader
Code:
Attr +/-acehijnrsv /sd Source [NewJunction/Volname]
     /d set attrib for directories also
  /s scan subdirectories
      a(rchive), c(ompressed), d(irectory), e(ncrypted), h(idden), i(ndexed)
      j(unction), n(ormal), o(ffline), r(eadonly), s(ystem), t(emporary), v(olume)

Attr IniFile [section] key=value
        write "set key=value" if redirected stdout
        delete section if no key
    delete key if no value

Attr h /cv File
       Show md5 sum
        /c      Copy hash to clipboard
      /v      Query hash in Virus Total

Attr l Source NewLink
      Create hardlink

Attr q drive
 Drive info, need administrator privilege

Attr r File
 Rename file, fixing %##
    


Description: Tiny attrib clone for windows with extra functions~
Download
Filename: attr.zip
Filesize: 15.57 KB
Downloaded: 753 Time(s)

Post 23 Jun 2011, 05:43
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.