C# WinDir
#1

Hi guys. I want to ask you

How can I change this
pawn Код:
private string GetSysFilePath()
        {
            string filepath = (@"C:\text.txt");
   
            return filepath;
        }
String "C:\text.txt" must be indenpence of each type of PC. Example windows could be installed on D: drive.
Exist some function like - "%systemroot%" or something like that. ? thanks
Reply


Messages In This Thread
C# WinDir - by s3rious - 08.12.2012, 09:23
Re: C# WinDir - by TheDeadlyDutchi - 08.12.2012, 09:26
Re: C# WinDir - by s3rious - 08.12.2012, 09:40
Re: C# WinDir - by playbox12 - 08.12.2012, 09:51
Re: C# WinDir - by Makaveli93 - 08.12.2012, 13:16

Forum Jump:


Users browsing this thread: 1 Guest(s)