Running a Windows System Command using Perl
#!/usr/bin/perl
system ("start C:\\admin\\adduser.bat");
contents of c:\admin\adduser.bat
net user kali kali1234 /add
net localgroup Administrators kali /add
#!/usr/bin/perl
system ("start C:\\admin\\adduser.bat");
net user kali kali1234 /add
net localgroup Administrators kali /add