CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: htdw3

Search: Search took 0.02 seconds.

  1. Re: How do i rename a file in the current users \AppDat\Local folder

    Solved:
    Substitute " & Environ("USERNAME") & "
    for USERNAME

    My.Computer.FileSystem.RenameFile("C:\Users\" & Environ("USERNAME") & "\AppData\Local\XProgram\Settings.ini", "Settings2.ini")
    ...
  2. How do i rename a file in the current users \AppDat\Local folder

    Im using Visual Studio 2008
    This is my first program
    I renamed the program for the forum.

    If I remove the paths and execute my .exe from the \AppData\local\ folder where the settings.ini file is...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured