System Function: SysInfo

Use the function SysInfo to retrieve system related information, like system date, operating system version, and so on. $$ SysInfo accepts one parameter at a time, out of the 19 explained below.

Syntax

$$SysInfo : <Parameter>

where <parameter> is one of the values explained in the table below.

No.

Parameter

Description

Example

1

ApplicationPath

The folder path where the current copy of Tally is running.

C:\Tally.ERP9

2

CurrentPath

The data path configured in tally.ini , residing in the application path.

C:\Tally.ERP9\Data

3

SystemDate

The system date.

27-May-2017

4

SystemTime

The system time.

18:27

5

SystemTimeHMS

The system time in hh:mm:ss format.

18:27:36

6

SystemName

The system name.

TallyClient2

7

IsWindows

Checks whether the system has Microsoft Windows operating system.

Yes

8

WindowsVersion

The Microsoft Windows version with the build number.

6.2 (9200)

9

WindowsUser

The name of the Windows user who has logged in.

geetha.ram

10

IPAddress

The IP Address of the system.

192.168.1.17

11

MACAddress

The Media Access Control Address of the network adapter in the system.

0720fhac027a

12

RunningIPV4Addr

The currently running Internet Protocol Version 4 address.

192.168.1.17

13

RunningIPV6Addr

The currently running Internet Protocol Version 6 address.

2001:db8:85a3:8d3:1319:8a2e:370:7348

14

IsOSx64

Checks whether the operating system is 64-bit.

Yes

15

IsAdmin

Checks whether the operating system is running in Admin mode.

No

16

TallyinAdminMode

Checks whether Tally.ERP 9 is running in Admin mode.

No

17

UACStatus

Checks whether the User Account Control is enabled.

Yes

18

SystemProxySettings

The proxy settings in the system.

192.168.1.17:8000

19

ModuleName

The folder path and file name of the current application.

C:\Tally.ERP 9\tally.exe