# Help comparing 2 strings a diffrent way

**URL:** <https://forum.kirupa.com/t/help-comparing-2-strings-a-diffrent-way/270857>\
**Category:** programming\
**Created:** [September 15, 2008, 3:58pm UTC](https://forum.kirupa.com/t/help-comparing-2-strings-a-diffrent-way/270857 "2008-09-15T15:58:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![idoik](https://avatars.discourse-cdn.com/v4/letter/i/97f17d/32.png) [@idoik](https://forum.kirupa.com/u/idoik)\
**Post date:** [September 15, 2008, 3:58pm UTC](https://forum.kirupa.com/t/help-comparing-2-strings-a-diffrent-way/270857/1 "2008-09-15T15:58:39Z")

</div>

Hello there,

How can I do the same task but make this line different.  
this line recently got detected by 2 anti viruses.

```auto
if(!strcmp(szFileName, "C:\\file.exe"))

```

how else can this line do the same thing just be different. “C:\file.exe” must not change
