[main]
Title=OwnShell
Author=Kare
Level=2
Selected=False
Version=2
Date=12.12.2018
Disable=Shells\1-ExplorerShell.srt,Shells\4-bsexplorer.srt

[Interface]
Description=Startet ein Programm als Shell.
pradiobutton1=False,Single executable file,0,1,10,20,130,20
pradiobutton2=True,program Folder,0,1,10,80,130,20
pfilebox1=*.exe,0,0,FileDir,145,20,350,20
pfilebox2=,0,0,FolderDir,145,80,350,20
ptextbox1=*.exe,File name of the program started:,0,0,145,110,350,20
pframe1=Program consists of a file (exe.),707070,0,0,0,0,550,50
pframe2=Program consists of several files:,707070,0,0,0,60,550,120
ptextlabel2=Note: File name is relative to the selected folder.,9,0,Default,145,150,350,20

[Interface.07]
Description=Startet ein Programm als Shell.
pRadioButton1=True,CMD.exe,0,1,30,30,70,20
pRadioButton2=False,EigeneShell,0,1,30,80,130,20
pFileBox2=,Exe (*.exe),0,FileDir,145,80,350,20
pFrame1=Shell,707070,0,0,0,0,550,160
pTextLabel2=Kopieren:,9,0,Default,145,120,60,20
pScrollBox1=EXE-File,0,0,0,220,119,150,20,EXE-File,EXE-File+Folder,EXE-File+Folder+Subfolder

[Process]

If,%pRadioButton1%,=,True,Then
	
	IniWrite,%Target_sys%\PEinit.ini,init,15,Shell|cmd.exe||3
Else


	Interface,GetIndex,pScrollBox1,%var%
	If,%var%,=,1,Then
		TXTAddLine,%WorkDir%\%Srt_Name%,Filecopy,#$pScriptDir#$p\%ProgramFolder%-files\%ProgramEXE%,%ProgDir%\,Bottom
		FileCopy,%pfilebox1%,%WorkDir%\%ptextbox4%-files

	End
	If,%var%,=,2,Then
		TXTAddLine,%WorkDir%\%Srt_Name%,Filecopy,#$pScriptDir#$p\%ProgramFolder%-files\*.*,%ProgDir%\,Bottom
		FileCopy,%PrgDir%\*.*,%WorkDir%\%ptextbox4%-files
	End
	If,%var%,=,3,Then
		TXTAddLine,%WorkDir%\%Srt_Name%,DirCopy,#$pScriptDir#$p\%ProgramFolder%-files,%ProgDir%\,Bottom
		DirCopy,%P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