of just the date ?
echo %date% test.txt
Regards,
Sietse
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gérard Lochon
Sent: zondag 23 juli 2006 22:03
To: [EMAIL PROTECTED]
Subject: Re: [NF] Day of Week from Command Prompt
23/ as before
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 profox@leafe.com
Sent: Sunday, July 23, 2006 10:05 AM
Subject: Re: [NF] Day of Week from Command Prompt
?
it returns 23
:
Sent by: Subject: Re: [NF] Day of Week
from Command Prompt
profoxtech-bounce
Why not for me ?
Gérard.
- Message d'origine -
De : KAM [EMAIL PROTECTED]
À : ProFox Email List profox@leafe.com
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
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 profox@leafe.com
Envoyé : dimanche 23 juillet 2006 19:14
Objet : Re: [NF] Day of Week from Command Prompt
It works ok
23/ as before ...
- Message d'origine -
De : KAM [EMAIL PROTECTED]
À : ProFox Email List profox@leafe.com
Envoyé : dimanche 23 juillet 2006 21:37
Objet : Re: [NF] Day of Week from Command Prompt
highlight this line:
echo %date:~0,3% test.txt
use CTRL-C and then paste
To: [EMAIL PROTECTED]
Subject: Re: [NF] Day of Week from Command Prompt
23/ as before ...
___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com
Morning,
Does anyone know how to get the name of the day of the week in a batch file
on XP, 2003 ???
Cheers
Chris.
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
Does anyone know how to get the name of the day of the week
in a batch file on XP, 2003 ???
Use CDOW to get the day and STRTOFILE to generate/replace the batch
file?
Bill
Chris.
___
Post Messages to: ProFox@leafe.com
Subscription
On 7/21/06, Chris Davis [EMAIL PROTECTED] wrote:
Does anyone know how to get the name of the day of the week in a batch file
on XP, 2003 ???
You could write a simple program in the language of your choice to
output it to a file and then read the file into the batch file. VFP
can do this, as
It's the Mon,Tue,Wed,Thu etc I'm after
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Rob Anderson
Sent: 21 July 2006 15:50
To: [EMAIL PROTECTED]
Subject: RE: [NF] Day of Week from Command Prompt
You can get the day (numeric) easily enough :-
echo
Robbo,
echo %date:~6,2%
Very cool! A new trick for this old dog.
Cheers!
Malcolm
___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list:
echo %date:~0,3%
works where I live == Fri
Andrew Davies MBCS CITP
- AndyD 8-)#
**
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom
13 matches
Mail list logo