Try something new to specify servername.txt

This commit is contained in:
Virtuworks 2014-06-08 17:08:19 -04:00
parent 971937d949
commit 74239a5e82

View file

@ -124,8 +124,11 @@ namespace WebsitePanel.Providers.HostedSolution
//run handheldcleanup.exe
if (File.Exists(file2))
{
string arguments2 = string.Format("-u -p {0} < servername.txt",
MAPIProfile);
string serverfilename = Path.Combine(HandheldcleanupPath, "servername.txt");
string arguments2 = string.Format("-u -p {0} < {1}",
MAPIProfile,
serverfilename);
try
{
string output;