How to get a folder name by random in folder c:\windows or c:\program files
because when i run my program, i have to save a file in a folder. but users may not know where this files exists.
so, my solution is save my file in a random folder in drive C that users do not know where my files exists..
after my process done. this file will be deleted automaticly.
for example,
the function may return :
C:\WINDOWS\Fonts or
C:\WINDOWS\system32\CatRoot or
C:\WINDOWS\system or
C:\WINDOWS\Help\mail or
a folder in c:\windows
Thanks in advance.
because when i run my program, i have to save a file in a folder. but users may not know where this files exists.
so, my solution is save my file in a random folder in drive C that users do not know where my files exists..
after my process done. this file will be deleted automaticly.
for example,
the function may return :
C:\WINDOWS\Fonts or
C:\WINDOWS\system32\CatRoot or
C:\WINDOWS\system or
C:\WINDOWS\Help\mail or
a folder in c:\windows
Thanks in advance.