Login Register






Copy file & Move to directory [HELP] filter_list
Author
Message
RE: Copy file & Move to directory [HELP] #3
You should try using the "environment" class.

Code:
Dim AppData As String = Environment.SpecialFolder.ApplicationData & "\Fevino\" Dim FilePath As String = Application.ExecutablePath() If System.IO.File.Exists(FilePath) = True Then System.IO.File.Copy(FilePath, AppData, True) End If

Also I would recommend importing the System.IO class since you wouldn't have to type System.IO before each thing you want to do with IO.
I didn't know you were dutch as well.
~~ Might be back? ~~

Reply





Messages In This Thread
RE: Copy file & Move to directory [HELP] - by Bish0pQ - 10-15-2016, 12:58 PM