I made an awful mistake...file lost when calling File.Move() in query
I was trying to automate a task and wrote something along the lines of;
File.Move(@"G:\Archives\wip\example.wav","BetterName.WAV");
assuming that that would keep the file within the same directory, which I think may be a mistake on my part. However, the source file has simply disappeared, and I can't find the destination file either! I did have a look in the queries folder, but no joy. Where might the file have ended up?
Comments
I think I've found out via further experimentation - ends up in a temp folder for LINQPad under local appdata, and is deleted when LINQPad exits. Looks like my file is permanently lost