The command line you need is:
"C:\Program Files\WinRAR\WinRAR.exe" a -ep "C:\Users\Hüseyin\Desktop\deneme.rar" "C:\Users\Hüseyin\Desktop\AA\a.txt" "C:\Users\Hüseyin\Desktop\AA\a1.txt"
In your C# code I miss command a
for add files to archive, but your code works nevertheless as this command is default on running WinRAR with no command specified.
And important is to use switch -ep
which removes the paths from the file names and stores therefore in the RAR archive only the file names.
See text file Rar.txt in program files folder of WinRAR for details on available commands and switches.
Other command lines which could also work:
"C:\Program Files\WinRAR\WinRAR.exe" a -ep "C:\Users\Hüseyin\Desktop\deneme.rar" "C:\Users\Hüseyin\Desktop\AA\"
Adds all files in directory C:\Users\Hüseyin\Desktop\AA\
to the archive.
"C:\Program Files\WinRAR\WinRAR.exe" a -ep "C:\Users\Hüseyin\Desktop\deneme.rar" "C:\Users\Hüseyin\Desktop\AA\*.txt"
Adds only all files with file extension TXT in directory C:\Users\Hüseyin\Desktop\AA\
to the archive.