The MASM Forum

Miscellaneous => Miscellaneous Projects => Topic started by: herge on March 02, 2013, 07:35:32 AM

Title: Powershell Create File with Date and Time in it
Post by: herge on March 02, 2013, 07:35:32 AM

 Hi Rubber Duck Fans:

 
Code: [Select]
get-date -format F | add-content filename.asm

 Expected Output in Filename.asm

Code: [Select]
Friday, March 01, 2013 3:23:50 PM

 If you call it twice it adds a new line to filename.asm
 with the date and time in the long format.

 Regards herge