Search This Blog

Thursday, July 23, 2015

Tidbit: How to generate popup windows with DOS?

TO DISPLAY POP-UPS with DOS.

echo X=MsgBox("Message Description",0+16,"Title") >msg.vbs

–you can write any numbers from 0,1,2,3,4 instead of 0 (before the ‘+’ symbol) & here is the meaning of each number:

0 = Ok Button 
1 = Ok/Cancel Button 
2 = Abort/Retry/Ignore button 
3 = Yes/No/Cancel 
4 = Yes/No 

–you can write any numbers from 16,32,48,64 instead of 16 (after the ‘+’ symbol) & here is the meaning of each number:

16 – Critical Icon 
32 – Warning Icon
48 – Warning Message Icon
64 – Information Icon

============
This itself is incomplete for any OS higher than Win XP, so u need to use this command afterwards,
msg * "msg"

Tidbit: How to prepare a bootable pendrive using diskpart?

DISKPART your pendrive (note: Your pendrive must support booting)

Plug your pendrive


1. Press windows Key + R to open "RUN"


2. type cmd.exe and hit enter.


3. type "list disk"


from the list that will be given, note your desired pendrive disk number. Identify this by looking at the disk size. Dont make a mistake or you'll lose your whole harddisk data. It generally should be number 1 or higher.


4.type "Select disk [x]" where x=the number you noted earlier.


5. type "clean"


6. type "create partition primary"


7. type "select partition 1"


8. type "active"


9. type "format fs=fat32"


10. type "assign"


11. type "exit"

Now extract the files from [.iso] copy directly to the newly formatted pendrive in the root drive (i.e don't put inside any folder in the pendrive)

NOTE: try typing "format fs=ntfs" if the earlier one doesnt work. But be warned, changing to NTFS reduces write-cycles.

Tidbit: How to turn off utorrent ads and offers?

To turn off utorrent ads and offers, 

open Options > Preferences > Advanced.

Here you'll find a large list of flags for the app and a filter box. 


Search for and disable the following flags:

offers.left_rail_offer_enabled/left_rail_offer
gui.show_plus_upsell
offers.sponsored_torrent_offer_enabled/sponsored_torrent_offer_enabled
bt.enable_pulse
gui.show_notorrents_node
offers.content_offer_autoexec

These flags may be named slightly differently depending on which version of the app you're using.
Flying Bird Widget