kjcdude Posted August 28, 2008 Share Posted August 28, 2008 (edited) I was testing a filemove script on real files, and accidently moved files into a file folder type thing. Here's the screwed up script. As you can see at the end of the destination directory i forgot to add a trailing backslash which in turn copied the files to a directory, but into a single file. Ex: the final directory is \\nas01\Volume_1\Replays\Starcraft\10 which is actually a file FileMove("C:\Program Files\Starcraft\maps\replays\*.*", "\\nas01\Volume_1\Replays\Starcraft\" & $compnum, 9) Does anyone know how to read the files that are put into the files? Edited August 28, 2008 by kjcdude Link to comment Share on other sites More sharing options...
Andreik Posted August 28, 2008 Share Posted August 28, 2008 I was testing a filemove script on real files, and accidently moved files into a file folder type thing.Here's the screwed up script. As you can see at the end of the destination directory i forgot to add a trailing backslash which in turn copied the files to a directory, but into a single file.Ex: the final directory is \\nas01\Volume_1\Replays\Starcraft\10 which is actually a fileFileMove("C:\Program Files\Starcraft\maps\replays\*.*", "\\nas01\Volume_1\Replays\Starcraft\" & $compnum, 9)Does anyone know how to read the files that are put into the files?You can use DirMove(). When the words fail... music speaks. Link to comment Share on other sites More sharing options...
kjcdude Posted August 28, 2008 Author Share Posted August 28, 2008 You can use DirMove().I needed to create the new dir at the location of where the files are to be moved to.It works like it needs to now, i'm still at a loss as to how to recover the two folder files that i created. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now