Create new folder for remote desktop
This commit is contained in:
parent
54393a3267
commit
472421f59c
@ -118,9 +118,14 @@ namespace AsyncRAT_Sharp.Forms
|
|||||||
{
|
{
|
||||||
timerSave.Start();
|
timerSave.Start();
|
||||||
btnSave.BackgroundImage = Properties.Resources.save_image2;
|
btnSave.BackgroundImage = Properties.Resources.save_image2;
|
||||||
string fullPath = Path.Combine(Application.StartupPath, "ClientsFolder\\" + C.ID);
|
try
|
||||||
if (Directory.Exists(fullPath))
|
{
|
||||||
|
string fullPath = Path.Combine(Application.StartupPath, "ClientsFolder\\" + C.ID + "\\RemoteDesktop");
|
||||||
|
if (!Directory.Exists(fullPath))
|
||||||
|
Directory.CreateDirectory(fullPath);
|
||||||
Process.Start(fullPath);
|
Process.Start(fullPath);
|
||||||
|
}
|
||||||
|
catch { }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user