Jump to content

How to make batch script? [ask]


babelpatcher

Recommended Posts

This is a screenshot of my registry http://imageshack.us/photo/my-images/233/unledqnw.jpg/

Goal:

scripts can be run in all operating systems both xp and vista / 7.

How to:

1. store the value in "DataFolder" to %%A . then Set PD=%%A . and finally del %PD%\license.avastlic

2. delete LicenseFile value from HKLM\SOFTWARE\AVAST Software\Avast

Link to comment
Share on other sites


  • Replies 3
  • Views 1.1k
  • Created
  • Last Reply

you have to use quotations around those e.g.,

Reg Delete "HKLM\Software\Avast Software\....."

for file delete you can try (only for windows vista and 7)

del "%PROGRAMDATA%\avast software\avast\license.avastlic" /f

you could also experiment with

del "%appdata%\avast software\avast\license.avastlic" /f

which might work for windows xp and above

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...