Here comes an expert task:

In Denmark all banks are beginning to implement NemID.
It's a card with small keys used to log in to different places for information regarding the person who has the card.
Watch this: www.nemid.nu (only in danish language as I know)

Since I am administrator in the company I want this:

1) User clicks on shortcut on desktop
2) Shortcut referred to a batch project
3) Batch project starts
4) User enter his/her number ("Tast nummer")
5) User gets directed to portal, where the field should be filled in with users login User-id (Bruger-id) and the user only needs to put in the password to continue

This is the Batchfile: (Some of the text are in Danish language)

@echo off
REM æøå skal skrive med ‘›† i stedet. brug copy - paste


Title DRS bankn›gle b‘rer for Kronjylland
echo.
echo VIGTIGT - Tastes kode forkert 2 gange kontaktes Support - VIGTIGT
echo.
echo Velkommen til DRS bankn›gle b‘rer Kronjylland
echo ... ... ... ... ... ... ... ...
:Kron1
set choice=

echo V‘lg bruger:
echo.
echo Bruger TYPE Bruger-id TAST
echo Allan Opretter 1 105278911 1
echo Jørgen Opretter 2 153996737 2
echo Gunilla Godkender 1 312175508 3
echo Birgit Godkender 2 900374537 4
echo.
echo Opdater ActiveX 9
echo.
echo.
set /p choice=Tast numer:

if not '%choice%'=='' set choice=%choice:~0,1%
for %%I in (1 2 3 4 9) do (if %%I==%choice% (goto Kron2))

echo Det tastede er ikke gyldigt. Starter forfra
pause
goto Kron1

:Kron2
echo Du valgte: %choice%

if '%choice%'=='1' (copy P:\"Banker vejledning m.m"\NemID\Reference\"Sparekassen Kronjylland"\AN.txt C:\".keystore.reference" /Y)
start P:\"Banker vejledning m.m"\NemID\Genveje\"KrontestAN".url
REM https://www.portalbank.dk/9335/homebanking/logon/topmenu/logondanid_small/?portletname=danid.danidlogin&portletaction=twofactor&javaversion=1.6.0_16&browser=Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)&osname=Windows XP&NEMID=105278911

if '%choice%'=='2' (copy P:\"Banker vejledning m.m"\NemID\Reference\"Sparekassen Kronjylland"\JC.txt C:\".keystore.reference" /Y)
start P:\"Banker vejledning m.m"\NemID\Genveje\"KrontestJC".url
REM https://www.portalbank.dk/9335/homebanking/logon/topmenu/logondanid_small/?portletname=danid.danidlogin&portletaction=twofactor&javaversion=1.6.0_16&browser=Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)&osname=Windows XP

if '%choice%'=='3' (copy P:\"Banker vejledning m.m"\NemID\Reference\"Sparekassen Kronjylland"\GM.txt C:\".keystore.reference" /Y)
start P:\"Banker vejledning m.m"\NemID\Genveje\"KrontestGM".url
REM https://www.portalbank.dk/9335/homebanking/logon/topmenu/logondanid_small/?portletname=danid.danidlogin&portletaction=twofactor&javaversion=1.6.0_16&browser=Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)&osname=Windows XP

if '%choice%'=='4' (copy P:\"Banker vejledning m.m"\NemID\Reference\"Sparekassen Kronjylland"\BL.txt C:\".keystore.reference" /Y)
start P:\"Banker vejledning m.m"\NemID\Genveje\"KrontestBL".url
REM https://www.portalbank.dk/9335/homebanking/logon/topmenu/logondanid_small/?portletname=danid.danidlogin&portletaction=twofactor&javaversion=1.6.0_16&browser=Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)&osname=Windows XP

if '%choice%'=='9' (echo Tester ActiveX version
wmic product where "Name='ActiveX sikkerhedssoftware'" get Version /Value
pause
exit)
exit

pause
@echo on

Does anyone know what to do or how to do it???

Here is a link to the internetbank:
Portal Website

Even if you did know how it would not help you since batch can not be encrypted. And it would be very easy indeed to see the passwords... I would suggest you use some password software or something like that.

Hope this helps,
Batch Devil

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.