Prev | Current Page 470 | Next

John Paul Mueller

"Administering Windows Server 2008 Server Core"

Write(UserName);
Output.Write(???\???,\??????);
// Processing the date requires a little additional work. You
// must extract the individual elements and put them together as
// desired. Begin by converting the day number to a day string.
var DayNum = DateTime.getDay();
switch (DayNum)
{
188 CHAPTER 6 WORKING WITH SCRIPTS
case 0:
Output.Write(???Sun ???);
break;
case 1:
Output.Write(???Mon ???);
break;
case 2:
Output.Write(???Tue ???);
break;
case 3:
Output.Write(???Wed ???);
break;
case 4:
Output.Write(???Thu ???);
break;
case 5:
Output.Write(???Fri ???);
break;
case 6:
Output.Write(???Sat ???);
break;
}
Output.Write(DateTime.getMonth() + 1);
Output.Write(???/??? + DateTime.getDate() +
???/??? + DateTime.getFullYear());
Output.Write(???\???,\??????);
// Extract the time from DateTime.
Output.Write(DateTime.getHours() + ???:??? +
DateTime.getMinutes() + ???:??? +
DateTime.getSeconds());
Output.Write(???\???,\??????);
// Finally, add the filename to the output.
Output.Write(File);
Output.WriteLine(???\??????);
}
// Close the working files.
Files.Close();
Output.Close();
}
// Close the file containing the file specifications.


Pages:
458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482
zdjęcia ślubne warszawa dieta light życzenia wierszyki Kapitalne mieszkania do wynajęcia Warszawa