Tuesday, May 27, 2014

Reading file & Checking file version through Wise Scripts

Checking File Version:

item: Get Environment Variable
  Variable=SYSDRIVE
  Environment=SYSDRIVE
end

item: Get System Information
  Variable=GOOGLEVERSION
  Pathname=%SYSDRIVE%\Program Files (x86)\Google\Chrome\Application\chrome.exe
  Flags=00000101
end


Reading a File:

item: Get Environment Variable
  Variable=SYSDRIVE
  Environment=SYSDRIVE
end


item: Read/Update Text File
  Variable=TEMPLATE
  Pathname=%SysDrive%\New Text Document.txt
end

Note: Copy the highlighted content to notepad and change to .wse format and use it

No comments:

Post a Comment