Re: Temp Folder

Tech-Archive recommends: Fix windows errors by optimizing your registry



On Oct 3, 4:17 pm, "Jon Skeet [C# MVP]" <sk...@xxxxxxxxx> wrote:
On Oct 3, 12:12 pm, TARUN <tarun.si...@xxxxxxxxx> wrote:

I am facnig aproblem regarding the Temp Folder

I am using C#.Net
I use a Method
string temp = System.IO.Path.GetTempPath();

This will return the
C;\Document and Setting\John\Local Settings\Temp
but if i am running the same code in remote system then this will
return C:\Tmp

Why So, Please help me ... give the suggestionm for this

Perhaps the remote system has a temporary folder of c:\Tmp instead?
Why is this an issue?

Jon

Thank's for reply
So, is there any way to change the temp folder location....
Please tell me where we have to set the temp folder path ...



.



Relevant Pages

  • GetTempPath() question
    ... I am sure this is a basic question. ... string Temp = System.IO.Path.GetTempPath; ... is returned if I browse for the Temp folder using Browse for Folder Dialog. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: W32.alrca.C
    ... time they are files in the temp folder (which, prior to energizing, ... I even let this sit around in SAFE mode and had the temp ... FireWall to allow it to download the needed AV vendor related files. ...
    (microsoft.public.security.virus)
  • Re: Cant delete temp files
    ... someone on an antivirus froup isolated the files for me. ... OK - monitor that folder - dont Disk Cleanup and give it more than a week ... the temp folders. ... I guess the only way to clean the temp folder without additional ...
    (microsoft.public.windowsxp.basics)
  • Re: Cant delete temp files
    ... someone on an antivirus froup isolated the files for me. ... Lets see if you get a bundle, then try a Disk Cleanup to see if it touches ... the temp folders. ... I guess the only way to clean the temp folder without additional ...
    (microsoft.public.windowsxp.basics)
  • Re: file size
    ... First of all, note that %temp% is a folder, not a file. ... the temp folder expands and contracts (up to the ... The first step concludes by writing temporary files and rebooting. ... Ken Blake - Microsoft MVP Windows: ...
    (microsoft.public.windowsxp.help_and_support)