08-13-2012 02:36 PM
i coding a project by C# language.
When i runing comand -u save <modules> using javaloader.exe, then only save file .cod to same folder with javaloader.exe.
So, how can i save <modules> to another Directory (Different Folder). ?
Please tell my how .! Thanks so much.!
Solved! Go to Solution.
08-14-2012 01:38 AM
As I know there is no possibility to set folder where you want to save cod files.
However, since you developer, you could move files programatically in any folder where you want.
08-14-2012 01:58 AM
08-14-2012 02:09 AM
This is also true. You could go to the folder where do you want to save files, call "<path to javaloader>/javaloader <params>" and it should save it to current folder.
08-14-2012 12:07 PM
Yeah, thanks for replied.
Now i got it, in C# i used "FileInfo" and "MoveTo" properties.
Affter saved all *.cod file to the same dir with javaloader, i call "MoveTo" to move all this *.cod file to my directory (folder make by myself).
for (int j = 0; j < dem; j++)
string filename = list_modules.CheckedItems[j].ToString();
FileInfo info = new FileInfo(path1 + "\\" + filename + ".cod");
info.MoveTo(path2 + folder_name + "\\" + info.Name.ToString());