highlight this line:

echo %date:~0,3% > test.txt

use CTRL-C and then paste it in a batch file. execute the batch file from a dos 
prompt. Then see what is in test.txt.



----- Original Message ----- 
From: "Gérard Lochon" <[EMAIL PROTECTED]>
To: "ProFox Email List" <[email protected]>
Sent: Sunday, July 23, 2006 10:50 AM
Subject: Re: [NF] Day of Week from Command Prompt


Why not for me ?

Gérard.

----- Message d'origine ----- 
De : "KAM" <[EMAIL PROTECTED]>
À : "ProFox Email List" <[email protected]>
Envoyé : dimanche 23 juillet 2006 19:14
Objet : Re: [NF] Day of Week from Command Prompt


It works ok with XP pro - both from the command line and in a bat file.
Returns Sun


----- Original Message ----- 
From: "Gérard Lochon" <[EMAIL PROTECTED]>
To: "ProFox Email List" <[email protected]>
Sent: Sunday, July 23, 2006 10:05 AM
Subject: Re: [NF] Day of Week from Command Prompt


?
it returns 23/

Gérard.

----- Message d'origine ----- 
De : "Andy Davies" <[EMAIL PROTECTED]>
À : <[email protected]>
Envoyé : vendredi 21 juillet 2006 19:57
Objet : RE: [NF] Day of Week from Command Prompt


echo %date:~0,3%

works where I live  ==> Fri

Andrew Davies MBCS CITP
- AndyD 8-)#





[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to